[英]How can Visual Studio Code on OSX import sln/csproj and run?
Visual Studio Code seems like it would be a very nice tool, but right out of the gate it seemingly cannot read any configuration that would make it part of the Visual Studio family. Visual Studio Code 似乎是一个非常好的工具,但刚开始它似乎无法读取任何使其成为 Visual Studio 系列的一部分的配置。 How can I import my sln/csproj files so that Code knows how to understand them?
如何导入我的 sln/csproj 文件,以便代码知道如何理解它们?
Visual Studio Code isn't designed to work with sln/csproj files unfortunately (or fortunately depending on how you look at it).不幸的是,Visual Studio Code 并非设计用于处理 sln/csproj 文件(或者幸运的是,取决于您如何看待它)。
In order to use your project created in Windows create a .NET Core application and use 'Portable Class Libraries' instead of standard class libraries then Open Folder in Visual Studio Code.为了使用在 Windows 中创建的项目,请创建一个 .NET Core 应用程序并使用“可移植类库”而不是标准类库,然后在 Visual Studio Code 中打开文件夹。
You can open it, using vscode-solution-explorer link for more info您可以打开它,使用 vscode-solution-explorer 链接获取更多信息
(Ps Not everything works as smoothly as we would like, but it's still better than nothing) (Ps 并非一切都像我们希望的那样顺利,但总比没有好)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.