Skip to content

Commit 9cdf634

Browse files
committed
Add NuGet packaging script and .gitignore for Build
Added a .gitignore to exclude NuGet package files in the Build directory and a nuget_pack.cmd script to automate restoring, building, and packing the RemoteViewing projects.
1 parent 6793585 commit 9cdf634

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

Build/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*.nupkg
2+
*.snupkg

Build/nuget_pack.cmd

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
cd /d %~dp0
2+
cd /d ..\RemoteViewing
3+
dotnet restore
4+
dotnet build -c Release
5+
dotnet pack -c Release -o ../Build/
6+
cd /d %~dp0
7+
cd /d ..\RemoteViewing.Windows.Forms
8+
dotnet restore
9+
dotnet build -c Release
10+
dotnet pack -c Release -o ../Build/
11+
cd /d %~dp0
12+
cd /d ..\RemoteViewing.WPF
13+
dotnet restore
14+
dotnet build -c Release
15+
dotnet pack -c Release -o ../Build/
16+
@pause

0 commit comments

Comments
 (0)