forked from MoonsideGames/FNA-VSCode-Template
223 lines
4.8 KiB
JSON
223 lines
4.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": [
|
|
"ProjectName.exe"
|
|
],
|
|
"options": {
|
|
"env": {
|
|
"LD_LIBRARY_PATH": "./lib64",
|
|
"DYLD_LIBRARY_PATH": "./osx"
|
|
},
|
|
"cwd": "${workspaceFolder}/ProjectName/bin/Release/net461"
|
|
},
|
|
"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": [
|
|
"ProjectName.exe"
|
|
],
|
|
"options": {
|
|
"env": {
|
|
"LD_LIBRARY_PATH": "./lib64",
|
|
"DYLD_LIBRARY_PATH": "./osx"
|
|
},
|
|
"cwd": "${workspaceFolder}/ProjectName/bin/Debug/net461"
|
|
},
|
|
"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": "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/ProjectName.Core.csproj",
|
|
"-p:SolutionDir=${workspaceFolder}/"
|
|
],
|
|
"type": "shell",
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Run: Core Debug",
|
|
"command": "dotnet",
|
|
"args": [
|
|
"./ProjectName.dll"
|
|
],
|
|
"options": {
|
|
"env": {
|
|
"LD_LIBRARY_PATH": "./lib64",
|
|
"DYLD_LIBRARY_PATH": "./osx"
|
|
},
|
|
"cwd": "${workspaceFolder}/ProjectName/bin/Debug/netcoreapp3.1"
|
|
},
|
|
"type": "process",
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Build: Core Release",
|
|
"command": "dotnet",
|
|
"args": [
|
|
"build",
|
|
"./ProjectName/ProjectName.Core.csproj",
|
|
"--configuration",
|
|
"Release",
|
|
"-p:SolutionDir=${workspaceFolder}/"
|
|
],
|
|
"type": "shell",
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Run: Core Release",
|
|
"command": "dotnet",
|
|
"args": [
|
|
"./ProjectName.dll"
|
|
],
|
|
"options": {
|
|
"env": {
|
|
"LD_LIBRARY_PATH": "./lib64",
|
|
"DYLD_LIBRARY_PATH": "./osx"
|
|
},
|
|
"cwd": "${workspaceFolder}/ProjectName/bin/Release/netcoreapp3.1"
|
|
},
|
|
"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": []
|
|
}
|
|
]
|
|
}
|