Visual C#控制台应用程序不会迁移 [英] Visual C# console application won't migrate

查看:49
本文介绍了Visual C#控制台应用程序不会迁移的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我是编码的新手,我刚刚安装了Visual Studio 2017以开始学习c#,我试图在visual c#中创建一个控制台应用程序,但它表示操作无法完成,因为它无法迁移proyect文件。我能够创建
一个没有问题的c ++文件,我记得在安装VS时我确实检查了C#框。任何帮助?

Hi i'm new at coding and i just installed visual studio 2017 to start learning c#, i was trying to create a console application in visual c# but it says operation couldn't be done, because it was unable to migrate the proyect file. I was able to create a c++ file with no problem, and i remember that when installing VS i did check on the C# box. any help?

推荐答案

除非项目文件是在旧版本的VS中创建的,否则您不会收到迁移消息。如果您正在创建一个新项目,则不会发生这种情况。

You wouldn't be getting a migration message unless the project file was created in an older version of VS. If you're creating a new project this wouldn't be happening.

对于VS 2017,安装程序会分解为工作负载。 C#不是特定的工作负载,而是分散的。例如,.NET桌面开发工作负载包括构建Windows应用程序所需的工具。 ASP.NET和Web开发工作负载包括
用于Web开发的工具。 C#和Visual Basic都包含在这两者中。控制台应用程序需要.NET桌面开发工作负载,因此请确保已安装。

For VS 2017 the installer is broken up into workloads. C# isn't in a particular workload but rather scattered. For example the .NET desktop development workload includes the tools needed to build Windows apps. The ASP.NET and web development workloads includes the tools for web development. C# and Visual Basic are included in both of those. Console applications require the .NET desktop development workload so ensure that is installed.


这篇关于Visual C#控制台应用程序不会迁移的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆