简体   繁体   English

Visual Studio 2017问题

[英]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. 因此,我觉得我的个人计算机上没有我需要的所有Visual Studio组件。 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. 例如,当我在学校计算机上创建一个新的ASP.NET应用程序时,它会使用它生成文件(program.cs,startup.cs和appsettings.json),但是当我尝试创建项目时这些文件不存在在我的笔记本电脑上。

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). 我只是遇到了一个巨大的问题,试图使Scaffold-DbContext正常工作(经过大约一个小时的挖掘,终于找到了可以在Package Manager Console中运行的命令,该命令可以完成很多工作)。 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? 我还应该为Visual Studio安装其他东西吗? I'm really at a complete loss here. 我真的很茫然。

Bring up Visual Studio. 调出Visual Studio。 Click on Tools . 单击Tools Click Get Tools and Features... Compare whats installed with what you have at school. 单击Get Tools and Features...将安装的内容与在校的内容进行比较。

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 另外查看版本Help About Microsoft Visual Studio

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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