相关疑难解决方法(0)

如何在Microsoft的新Visual Studio代码中编译c#?

我安装了Microsoft新代码编辑器"Visual Studio Code " 的预览版.这似乎是一个很好的工具!介绍中提到你可以使用它编写c#,但是安装文档没有提到如何实际编译c#文件.您可以将"mono"定义为" launch.json "文件中的类型,但这还没有做任何事情.按F5会导致:"确保从启动下拉列表中选择一个配置"...此外,intellisense不适用于c#?如何设置任何包含框架的路径?

Launch.json:

"configurations": [
        {
            // Name of configuration; appears in the launch configuration drop down menu.
            "name": "Cars.exe",
            // Type of configuration. Possible values: "node", "mono".
            "type": "mono",
            // Workspace relative or absolute path to the program.
            "program": "cars.exe",
        }, 
        {
            "type": "mono",
        }
Run Code Online (Sandbox Code Playgroud)

c# visual-studio-code

42
推荐指数
4
解决办法
9万
查看次数

标签 统计

c# ×1

visual-studio-code ×1