69 lines
2.0 KiB
JSON
69 lines
2.0 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "restore",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"restore",
|
|
"${workspaceFolder}/nuget-host.csproj",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary",
|
|
"--ignore-failed-sources"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "build",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"build",
|
|
"${workspaceFolder}/nuget-host.csproj",
|
|
"/p:Configuration=Debug",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary",
|
|
"--ignore-failed-sources"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "publish",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"publish",
|
|
"${workspaceFolder}/nuget-host.csproj",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "launch-dotnet",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"${workspaceFolder}/bin/Debug/netcoreapp2.0/nuget-host.dll"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "watch",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"bin/Debug/netcoreapp2.0/nuget-host.dll",
|
|
"/property:GenerateFullPaths=true",
|
|
"/restore"
|
|
],
|
|
"options": {
|
|
"env": {
|
|
"ASPNETCORE_ENV": "Development"
|
|
}
|
|
},
|
|
"problemMatcher": "$msCompile"
|
|
}
|
|
]
|
|
} |