From b401a6201dafb644e7012646b152c9ab0cee036b Mon Sep 17 00:00:00 2001 From: Ryan Peters Date: Tue, 21 Jun 2022 22:37:40 -0400 Subject: [PATCH] add pubish release to web app --- .vscode/settings.json | 4 ++++ .vscode/tasks.json | 27 +++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..e1614a7 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,4 @@ +{ + "appService.preDeployTask": "publish-release", + "appService.deploySubpath": "BinaryDad.Coding/bin/Release/net6.0/publish" +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 787a0fb..c07aa9f 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -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" } ] } \ No newline at end of file