Skip to content

Commit c797e37

Browse files
committed
Updated Windows build scripts.
1 parent 417b135 commit c797e37

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

platform-windows/build.bat

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,6 @@ dotnet publish --no-self-contained --runtime win-x64 -p:PublishReadyToRun=true -
5858
cd %SRCPATH%\logrotate\
5959
dotnet publish --no-self-contained --runtime win-x64 -p:PublishReadyToRun=true -c Release -o %BINPATH% logrotate.csproj
6060

61-
cd %SRCPATH%\OPC-UA-Client\
62-
rmdir obj /S /Q
63-
rmdir bin /S /Q
64-
dotnet restore
65-
dotnet publish --no-self-contained --runtime win-x64 -p:PublishReadyToRun=true -c Release -o %BINPATH% OPC-UA-Client.csproj
66-
6761
cd %SRCPATH%\opcdaaehda-client-solution-net\
6862
dotnet build -f net8.0-windows DaAeHdaNetStandard.sln
6963

@@ -72,6 +66,12 @@ rmdir obj /S /Q
7266
rmdir bin /S /Q
7367
dotnet publish --no-self-contained -p:PublishReadyToRun=true -f net8.0-windows -c Release -o %BINPATH% OPC-DA-Client.csproj
7468

69+
cd %SRCPATH%\OPC-UA-Client\
70+
rmdir obj /S /Q
71+
rmdir bin /S /Q
72+
dotnet restore
73+
dotnet publish --no-self-contained --runtime win-x64 -p:PublishReadyToRun=true -c Release -o %BINPATH% OPC-UA-Client.csproj
74+
7575
go env -w GO111MODULE=auto
7676
set GOBIN=c:\json-scada\bin
7777
cd %SRCPATH%\calculations

platform-windows/buildupd.bat

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,6 @@ dotnet publish --no-self-contained --runtime win-x64 -p:PublishReadyToRun=true -
5858
cd %SRCPATH%\logrotate\
5959
dotnet publish --no-self-contained --runtime win-x64 -p:PublishReadyToRun=true -c Release -o %BINPATH% logrotate.csproj
6060

61-
cd %SRCPATH%\OPC-UA-Client\
62-
rmdir obj /S /Q
63-
rmdir bin /S /Q
64-
dotnet restore
65-
dotnet publish --no-self-contained --runtime win-x64 -p:PublishReadyToRun=true -c Release -o %BINPATH% OPC-UA-Client.csproj
66-
6761
cd %SRCPATH%\opcdaaehda-client-solution-net\
6862
dotnet build -f net8.0-windows DaAeHdaNetStandard.sln
6963

@@ -72,6 +66,12 @@ rmdir obj /S /Q
7266
rmdir bin /S /Q
7367
dotnet publish --no-self-contained -p:PublishReadyToRun=true -f net8.0-windows -c Release -o %BINPATH% OPC-DA-Client.csproj
7468

69+
cd %SRCPATH%\OPC-UA-Client\
70+
rmdir obj /S /Q
71+
rmdir bin /S /Q
72+
dotnet restore
73+
dotnet publish --no-self-contained --runtime win-x64 -p:PublishReadyToRun=true -c Release -o %BINPATH% OPC-UA-Client.csproj
74+
7575
go env -w GO111MODULE=auto
7676
set GOBIN=c:\json-scada\bin
7777
cd %SRCPATH%\calculations

0 commit comments

Comments
 (0)