Wie kompiliere ich c # in Microsofts neuem Visual Studio Code?
Ich habe die Vorschau-Version von @ installie Microsofts neuer Code-Editor "Visual Studio Code ". Es scheint ein ganz nettes Tool zu sein! In der Einführung wird erwähnt, dass Sie C # damit programmieren können, im Installationsdokument wird jedoch nicht erwähnt, wie C # -Dateien tatsächlich kompiliert werden. Sie können" mono "als Typ im Feld" @ "definiere launch.json "Datei, aber das macht noch nichts. Drücken von F5 führt zu:" Stellen Sie sicher, dass Sie eine Konfiguration aus der Start-Dropdown-Liste auswählen "... Auch Intellisense funktioniert nicht für C #? Wie stellen Sie den Pfad auf einen eingeschlossenen Pfad ein Frameworks?
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",
}