diff --git a/.gitignore b/.gitignore index 6672080..21d64ae 100644 --- a/.gitignore +++ b/.gitignore @@ -76,6 +76,7 @@ DocProject/Help/html # Click-Once directory publish +publish-sc # Publish Web Output *.Publish.xml diff --git a/NohBoard/.vscode/tasks.json b/NohBoard/.vscode/tasks.json index b21b2aa..c49f16a 100644 --- a/NohBoard/.vscode/tasks.json +++ b/NohBoard/.vscode/tasks.json @@ -7,9 +7,7 @@ "type": "process", "args": [ "build", - "${workspaceFolder}/NohBoard.sln", - "/property:GenerateFullPaths=true", - "/consoleloggerparameters:NoSummary" + "${workspaceFolder}/NohBoard.sln" ], "problemMatcher": "$msCompile" }, @@ -28,6 +26,22 @@ "--no-self-contained" ], "problemMatcher": "$msCompile" + }, + { + "label": "publish-self-contained", + "command": "dotnet", + "type": "shell", + "args": [ + "publish", + "NohBoard.sln", + "-c", + "release", + "-o", + "../publish-sc", + "--self-contained", + "true" + ], + "problemMatcher": "$msCompile" } ] } \ No newline at end of file