Rerun the Visual Studio 2017 installer (you can re-obtain it from here if you need to). Choose to modify your existing installation. Choose the ".NET Desktop Development" workload which will allow you to create console apps (best for playing with new programming languages), Windows forms, and WPF applications.
Once you've done that, launch Visual Studio 2017 and on the new project screen navigate to Templates > Visual C# > Windows Classic Desktop > Console App. Or search for "console".
您还可以考虑“ .NET Core跨平台开发”工作负载,这将使您创建在.NET Core而不是完整.NET Framework上运行的控制台应用程序。这是更新的,并且没有更多的文档,但这是.NET开发的未来。
通用Windows平台开发适用于需要Windows 10的UWP应用。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句