add pubish release to web app

This commit is contained in:
Ryan Peters 2022-06-21 22:37:40 -04:00
parent 82c6ac3e98
commit b401a6201d
2 changed files with 31 additions and 0 deletions

4
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,4 @@
{
"appService.preDeployTask": "publish-release",
"appService.deploySubpath": "BinaryDad.Coding/bin/Release/net6.0/publish"
}

27
.vscode/tasks.json vendored
View File

@ -36,6 +36,33 @@
"${workspaceFolder}/BinaryDad.Coding/BinaryDad.Coding.csproj"
],
"problemMatcher": "$msCompile"
},
{
"label": "clean",
"command": "dotnet",
"type": "process",
"args": [
"clean",
"${workspaceFolder}/BinaryDad.Coding",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "publish-release",
"command": "dotnet",
"type": "process",
"args": [
"publish",
"${workspaceFolder}/BinaryDad.Coding",
"--configuration",
"Release",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile",
"dependsOn": "clean"
}
]
}