OSX上的Visual Studio Code如何导入sln/csproj并运行? [英] How can Visual Studio Code on OSX import sln/csproj and run?

查看:581
本文介绍了OSX上的Visual Studio Code如何导入sln/csproj并运行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Visual Studio Code似乎将是一个非常不错的工具,但是它似乎无法读取任何使它成为Visual Studio家族一部分的配置.如何导入sln/csproj文件,以便代码知道如何理解它们?

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. How can I import my sln/csproj files so that Code knows how to understand them?

推荐答案

不幸的是,Visual Studio Code不适用于sln/csproj文件(或者幸运的是,取决于您的外观).

Visual Studio Code isn't designed to work with sln/csproj files unfortunately (or fortunately depending on how you look at it).

为了使用Windows中创建的项目,请创建一个.NET Core应用程序,并使用便携式类库"代替标准类库,然后在Visual Studio Code中打开文件夹.

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.

这篇关于OSX上的Visual Studio Code如何导入sln/csproj并运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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