forked from MoonsideGames/FNA-VSCode-Template
250 lines
5.8 KiB
JSON
250 lines
5.8 KiB
JSON
|
{
|
||
|
"version": "2.0.0",
|
||
|
"options": {
|
||
|
"cwd": "${workspaceRoot}"
|
||
|
},
|
||
|
"windows": {
|
||
|
"options": {
|
||
|
"shell": {
|
||
|
"executable": "cmd.exe",
|
||
|
"args": [
|
||
|
"/d",
|
||
|
"/c"
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"presentation": {
|
||
|
"reveal": "always",
|
||
|
"focus": true,
|
||
|
"panel": "shared"
|
||
|
},
|
||
|
"tasks": [
|
||
|
{
|
||
|
"label": "Build: Framework Release",
|
||
|
"command": "msbuild",
|
||
|
"args": [
|
||
|
"-restore:True",
|
||
|
"${workspaceFolder}/ProjectName.Framework.sln",
|
||
|
"-p:Configuration=Release"
|
||
|
],
|
||
|
"type": "shell",
|
||
|
"group": {
|
||
|
"kind": "build",
|
||
|
"isDefault": true
|
||
|
},
|
||
|
"problemMatcher": "$msCompile"
|
||
|
},
|
||
|
{
|
||
|
"label": "Run: Framework Release",
|
||
|
"command": "mono",
|
||
|
"args": [
|
||
|
"${workspaceFolder}/ProjectName/bin/Release/net461/ProjectName.exe"
|
||
|
],
|
||
|
"options": {
|
||
|
"env": {
|
||
|
"LD_LIBRARY_PATH": "${workspaceFolder}/ProjectName/bin/Release/net461/lib64",
|
||
|
"DYLD_LIBRARY_PATH": "${workspaceFolder}/ProjectName/bin/Release/net461/osx"
|
||
|
}
|
||
|
},
|
||
|
"type": "process",
|
||
|
"group": {
|
||
|
"kind": "build",
|
||
|
"isDefault": true
|
||
|
},
|
||
|
"problemMatcher": []
|
||
|
},
|
||
|
{
|
||
|
"label": "Build & Run: Framework Release",
|
||
|
"dependsOn": [
|
||
|
"Build: Framework Release",
|
||
|
"Run: Framework Release"
|
||
|
],
|
||
|
"dependsOrder": "sequence",
|
||
|
"type": "shell",
|
||
|
"group": {
|
||
|
"kind": "build",
|
||
|
"isDefault": true
|
||
|
},
|
||
|
"problemMatcher": []
|
||
|
},
|
||
|
{
|
||
|
"label": "Build: Framework Debug",
|
||
|
"command": "msbuild",
|
||
|
"args": [
|
||
|
"-restore:True",
|
||
|
"${workspaceFolder}/ProjectName.Framework.sln",
|
||
|
"-p:Configuration=Debug"
|
||
|
],
|
||
|
"type": "shell",
|
||
|
"group": {
|
||
|
"kind": "build",
|
||
|
"isDefault": true
|
||
|
},
|
||
|
"problemMatcher": []
|
||
|
},
|
||
|
{
|
||
|
"label": "Run: Framework Debug",
|
||
|
"command": "mono",
|
||
|
"args": [
|
||
|
"${workspaceFolder}/ProjectName/bin/Debug/net461/ProjectName.exe"
|
||
|
],
|
||
|
"options": {
|
||
|
"env": {
|
||
|
"LD_LIBRARY_PATH": "${workspaceFolder}/ProjectName/bin/Debug/net461/lib64",
|
||
|
"DYLD_LIBRARY_PATH": "${workspaceFolder}/ProjectName/bin/Debug/net461/osx"
|
||
|
}
|
||
|
},
|
||
|
"type": "process",
|
||
|
"group": {
|
||
|
"kind": "build",
|
||
|
"isDefault": true
|
||
|
},
|
||
|
"problemMatcher": []
|
||
|
},
|
||
|
{
|
||
|
"label": "Build & Run: Framework Debug",
|
||
|
"dependsOn": [
|
||
|
"Build: Framework Debug",
|
||
|
"Run: Framework Debug"
|
||
|
],
|
||
|
"dependsOrder": "sequence",
|
||
|
"type": "shell",
|
||
|
"group": {
|
||
|
"kind": "build",
|
||
|
"isDefault": true
|
||
|
},
|
||
|
"problemMatcher": []
|
||
|
},
|
||
|
{
|
||
|
"label": "Valgrind: Framework Debug",
|
||
|
"command": "valgrind",
|
||
|
"args": [
|
||
|
"-v",
|
||
|
"--vgdb-error=0",
|
||
|
"--leak-check=full",
|
||
|
"--log-file=${workspaceFolder}/valgrind.log",
|
||
|
"--smc-check=all",
|
||
|
"--suppressions=${workspaceFolder}/mono.supp",
|
||
|
"mono",
|
||
|
"--debug",
|
||
|
"${workspaceFolder}/ProjectName/bin/Debug/net461/ProjectName.exe"
|
||
|
],
|
||
|
"options": {
|
||
|
"env": {
|
||
|
"LD_LIBRARY_PATH": "${workspaceFolder}/ProjectName/bin/Debug/net461/lib64"
|
||
|
}
|
||
|
},
|
||
|
"type": "shell",
|
||
|
"dependsOn": [
|
||
|
"Build: Framework Debug"
|
||
|
],
|
||
|
"group": {
|
||
|
"kind": "build",
|
||
|
"isDefault": true
|
||
|
},
|
||
|
"problemMatcher": []
|
||
|
},
|
||
|
{
|
||
|
"label": "Build & Run: Core Debug",
|
||
|
"type": "shell",
|
||
|
"dependsOrder": "sequence",
|
||
|
"dependsOn": [
|
||
|
"Build: Core Debug",
|
||
|
"Run: Core Debug"
|
||
|
],
|
||
|
"group": {
|
||
|
"kind": "build",
|
||
|
"isDefault": true
|
||
|
},
|
||
|
"problemMatcher": []
|
||
|
},
|
||
|
{
|
||
|
"label": "Build: Core Debug",
|
||
|
"command": "dotnet",
|
||
|
"args": [
|
||
|
"build",
|
||
|
"./ProjectName.Core.sln",
|
||
|
"-f",
|
||
|
"netcoreapp3.1"
|
||
|
],
|
||
|
"type": "shell",
|
||
|
"group": {
|
||
|
"kind": "build",
|
||
|
"isDefault": true
|
||
|
},
|
||
|
"problemMatcher": []
|
||
|
},
|
||
|
{
|
||
|
"label": "Run: Core Debug",
|
||
|
"command": "dotnet",
|
||
|
"args": [
|
||
|
"${workspaceFolder}/ProjectName/bin/Debug/netcoreapp3.1/ProjectName.dll"
|
||
|
],
|
||
|
"options": {
|
||
|
"env": {
|
||
|
"LD_LIBRARY_PATH": "${workspaceFolder}/ProjectName/bin/Debug/netcoreapp3.1/lib64",
|
||
|
"DYLD_LIBRARY_PATH": "${workspaceFolder}/ProjectName/bin/Debug/netcoreapp3.1/osx"
|
||
|
}
|
||
|
},
|
||
|
"type": "process",
|
||
|
"group": {
|
||
|
"kind": "build",
|
||
|
"isDefault": true
|
||
|
},
|
||
|
"problemMatcher": []
|
||
|
},
|
||
|
{
|
||
|
"label": "Build: Core Release",
|
||
|
"command": "dotnet",
|
||
|
"args": [
|
||
|
"build",
|
||
|
"./ProjectName.sln",
|
||
|
"--configuration",
|
||
|
"Release",
|
||
|
"-f",
|
||
|
"netcoreapp3.1"
|
||
|
],
|
||
|
"type": "shell",
|
||
|
"group": {
|
||
|
"kind": "build",
|
||
|
"isDefault": true
|
||
|
},
|
||
|
"problemMatcher": []
|
||
|
},
|
||
|
{
|
||
|
"label": "Run: Core Release",
|
||
|
"command": "dotnet",
|
||
|
"args": [
|
||
|
"${workspaceFolder}/ProjectName/bin/Release/netcoreapp3.1/ProjectName.dll"
|
||
|
],
|
||
|
"options": {
|
||
|
"env": {
|
||
|
"LD_LIBRARY_PATH": "${workspaceFolder}/ProjectName/bin/Release/netcoreapp3.1/lib64",
|
||
|
"DYLD_LIBRARY_PATH": "${workspaceFolder}/ProjectName/bin/Release/netcoreapp3.1/osx"
|
||
|
}
|
||
|
},
|
||
|
"type": "process",
|
||
|
"group": {
|
||
|
"kind": "build",
|
||
|
"isDefault": true
|
||
|
},
|
||
|
"problemMatcher": []
|
||
|
},
|
||
|
{
|
||
|
"label": "Build & Run: Core Release",
|
||
|
"dependsOrder": "sequence",
|
||
|
"dependsOn": [
|
||
|
"Build: Core Release",
|
||
|
"Run: Core Release"
|
||
|
],
|
||
|
"type": "shell",
|
||
|
"group": {
|
||
|
"kind": "build",
|
||
|
"isDefault": true
|
||
|
},
|
||
|
"problemMatcher": []
|
||
|
}
|
||
|
]
|
||
|
}
|