Skip to content

Commit

Permalink
Add self-contained publish task
Browse files Browse the repository at this point in the history
  • Loading branch information
ThoNohT committed May 9, 2020
1 parent 3296388 commit f3e4b0e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ DocProject/Help/html

# Click-Once directory
publish
publish-sc

# Publish Web Output
*.Publish.xml
Expand Down
20 changes: 17 additions & 3 deletions NohBoard/.vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
"type": "process",
"args": [
"build",
"${workspaceFolder}/NohBoard.sln",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
"${workspaceFolder}/NohBoard.sln"
],
"problemMatcher": "$msCompile"
},
Expand All @@ -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"
}
]
}

0 comments on commit f3e4b0e

Please sign in to comment.