diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 000000000..f128d9853 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,26 @@ +{ + "version": "0.2.0", + "configurations": [ + { + // Use IntelliSense to find out which attributes exist for C# debugging + // Use hover for the description of the existing attributes + // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md + "name": ".NET Core Launch (console)", + "type": "coreclr", + "request": "launch", + "preLaunchTask": "build", + // If you have changed target frameworks, make sure to update the program path. + "program": "${workspaceFolder}/MBINCompiler/bin/Debug/net5.0-windows/MBINCompiler.dll", + "args": [], + "cwd": "${workspaceFolder}/MBINCompiler", + // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console + "console": "internalConsole", + "stopAtEntry": false + }, + { + "name": ".NET Core Attach", + "type": "coreclr", + "request": "attach" + } + ] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 000000000..6486d2d65 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,30 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "build-NET5-release", + "command": "dotnet", + "type": "shell", + "args": [ + "publish", + // Build for release + "-c", "Release", + // Build for .net 5 framework + "-f", "net5.0-windows", + // Build for 64 bit windows + "-r", "win-x64", + // Set the output folder explicitly + "-o", "Build/Release/net5/", + // Ignore some error + "/nowarn:cs0618" + ], + "group": "build", + "presentation": { + "reveal": "silent" + }, + "problemMatcher": "$msCompile" + } + ] +} \ No newline at end of file