简体   繁体   中英

Visual Studio 2017 Issues

So, I feel like I don't have all of the Visual Studio components that I need on my personal computer. For example, when I create a new ASP.NET application on the school computer, it generates files with it (program.cs, startup.cs, and appsettings.json), but those don't exist when I try to create a project on my laptop.

I just had a huge issue trying to get Scaffold-DbContext to work (and after about an hour of digging, finally found the commands to run in Package Manager Console that would allow that much to work). I'm sure there are other things I'm completely missing and don't realize it yet.

What do I need to do to get these files to be generated when I create a new project? Are there other things that I haven't installed for Visual Studio yet that I probably should? I'm really at a complete loss here.

Bring up Visual Studio. Click on Tools . Click Get Tools and Features... Compare whats installed with what you have at school.

These three will do most of what your looking for:

.Net desktop development
ASP.NET and web development
Data storage and processing

Also look at the versions Help About Microsoft Visual Studio

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM