Skip to content

Commit

Permalink
added publish commands. .Net 6 releases are self-contained, targeting…
Browse files Browse the repository at this point in the history
… win-x64 and linux-x64
  • Loading branch information
RobHolme committed Oct 1, 2022
1 parent 5c147fa commit e9e0642
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build-publish.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
del .\bin\publish\net6.0\win-x64\
del .\bin\publish\net6.0\linux-x64\
del .\bin\publish\net4.8\
dotnet publish --configuration release --framework net6.0 --runtime win-x64 --self-contained --output .\bin\publish\net6.0\win-x64\
dotnet publish --configuration release --framework net6.0 --runtime linux-x64 --self-contained --output .\bin\publish\net6.0\linux-x64\
dotnet publish --configuration release --framework net48 --output .\bin\publish\net4.8\

0 comments on commit e9e0642

Please sign in to comment.