119 lines
2.4 KiB
JSON
119 lines
2.4 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 & Run: .NET 7 Debug",
|
|
"type": "shell",
|
|
"dependsOrder": "sequence",
|
|
"dependsOn": [
|
|
"Build: .NET 7 Debug",
|
|
"Run: .NET 7 Debug"
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Build: .NET 7 Debug",
|
|
"command": "dotnet",
|
|
"args": [
|
|
"build",
|
|
"./ProjectName.csproj",
|
|
"-p:SolutionDir=${workspaceFolder}/",
|
|
"-p:Platform=x64"
|
|
],
|
|
"type": "shell",
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Run: .NET 7 Debug",
|
|
"command": "ProjectName",
|
|
"windows": {
|
|
"command": "ProjectName.exe"
|
|
},
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/bin/x64/Debug/net7.0"
|
|
},
|
|
"type": "process",
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Build: .NET 7 Release",
|
|
"command": "dotnet",
|
|
"args": [
|
|
"build",
|
|
"./ProjectName.csproj",
|
|
"--configuration",
|
|
"Release",
|
|
"-p:SolutionDir=${workspaceFolder}/",
|
|
"-p:Platform=x64"
|
|
],
|
|
"type": "shell",
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Run: .NET 7 Release",
|
|
"command": "ProjectName",
|
|
"windows": {
|
|
"command": "ProjectName.exe"
|
|
},
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/bin/x64/Debug/net7.0"
|
|
},
|
|
"type": "process",
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Build & Run: .NET 7 Release",
|
|
"dependsOrder": "sequence",
|
|
"dependsOn": [
|
|
"Build: .NET 7 Release",
|
|
"Run: .NET 7 Release"
|
|
],
|
|
"type": "shell",
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": []
|
|
}
|
|
]
|
|
}
|