mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-23 16:48:10 +03:00
# Description This adds several different launch types to the VSCode. This allows you to launch Client in Compatibility Mode for the Tools/Release versions as well as launch the Server/Client at the same time in Tools/Release modes and use the VSCode Terminal. --- # TODO - [x] Add different Build types in the tasks.json file. - [x] Add different Launch types in the launch.json file. ---  (cherry picked from commit d17fe1a1c68ac53ad305c66cf64c2fd9ed47c9db)
78 lines
2.6 KiB
JSON
78 lines
2.6 KiB
JSON
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "build",
|
|
"command": "dotnet",
|
|
"type": "shell",
|
|
"args": [
|
|
"build",
|
|
"/property:GenerateFullPaths=true", // Ask dotnet build to generate full paths for file names.
|
|
"/consoleloggerparameters:NoSummary" // Do not generate summary otherwise it leads to duplicate errors in Problems panel
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"presentation": {
|
|
"reveal": "silent"
|
|
},
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "build (Tools)",
|
|
"command": "dotnet",
|
|
"type": "shell",
|
|
"args": [
|
|
"build",
|
|
"--configuration",
|
|
"Tools",
|
|
"/property:GenerateFullPaths=true", // Ask dotnet build to generate full paths for file names.
|
|
"/consoleloggerparameters:NoSummary" // Do not generate summary otherwise it leads to duplicate errors in Problems panel
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": false
|
|
},
|
|
"presentation": {
|
|
"reveal": "silent"
|
|
},
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "build (Release)",
|
|
"command": "dotnet",
|
|
"type": "shell",
|
|
"args": [
|
|
"build",
|
|
"--configuration",
|
|
"Release",
|
|
"/property:GenerateFullPaths=true", // Ask dotnet build to generate full paths for file names.
|
|
"/consoleloggerparameters:NoSummary" // Do not generate summary otherwise it leads to duplicate errors in Problems panel
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": false
|
|
},
|
|
"presentation": {
|
|
"reveal": "silent"
|
|
},
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "build-yaml-linter",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"build",
|
|
"${workspaceFolder}/Content.YAMLLinter/Content.YAMLLinter.csproj",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
}
|
|
]
|
|
}
|