如何在Visual Studio代码中使用.csproj扩展创建C#项目?我们如何在Visual Studio代码中使用C#创建和构建Web应用程序? [英] How to create C# project with .csproj extension in Visual Studio Code? How can we create and build Webapplication with C# in Visual Studio Code?

查看:355
本文介绍了如何在Visual Studio代码中使用.csproj扩展创建C#项目?我们如何在Visual Studio代码中使用C#创建和构建Web应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找具备先决条件的教程,以便在Visual Studio代码中使用C#和.csproj扩展创建C#项目以及ASP.Net应用程序?


多么容易它是什么以及要考虑的主要观点是什么?

解决方案

Hi plgn,


欢迎来到MSDN论坛。


请参阅您的说明,请查看此VS Code文档:
使用C#,我们可以找到以下信息n:


VS Code中的C#支持针对跨平台.NET Core开发进行了优化(参见
使用.NET Core和VS Code
另一篇相关文章。)


VS Code支持调试C#应用程序
在.NET Core或Mono上运行


由于这个焦点,
许多标准C#项目类型无法被VS Code识别。不支持的项目类型的一个例子是ASP.NET MVC应用程序(虽然支持ASP.NET Core)。在这些情况下,如果你只是想拥有一个轻量级工具来编辑
a文件 - VS代码可以覆盖你。如果你想要那些项目和开发的最佳体验在Windows上,我们建议你使用


Visual Studio社区


>>使用C#在Visual Studio代码中使用.csproj扩展名创建一个C#项目以及ASP.Net应用程序


根据以上信息,看起来这个想法是不可能的,很抱歉给您带来不便。





祝你好运,


萨拉


I am looking for the tutorials with prerequisites to create a C# project as well as ASP.Net application using C# with .csproj extension in Visual Studio Code?

How easy it is and what are the major points to be considered?

解决方案

Hi plgn,

Welcome to the MSDN forum.

Refer to your description, please have a look at this VS Code document: Working with C# and we can find the following information:

The C# support in VS Code is optimized for cross-platform .NET Core development (see working with .NET Core and VS Code for another relevant article).

VS Code supports debugging of C# applications running on either .NET Core or Mono.

Due to this focus, many standard C# project types are not recognized by VS Code. An example of a non-supported project type is an ASP.NET MVC Application (though ASP.NET Core is supported). In these cases, if you simply want to have a lightweight tool to edit a file - VS Code has you covered. If you want the best possible experience for those projects and development on Windows in general, we recommend you use Visual Studio Community.

>> create a C# project as well as ASP.Net application using C# with .csproj extension in Visual Studio Code

Per the above information, it looks like this idea is impossible, sorry for this inconvenience.

Best regards,

Sara


这篇关于如何在Visual Studio代码中使用.csproj扩展创建C#项目?我们如何在Visual Studio代码中使用C#创建和构建Web应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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