From 2e271989362e4551eb955c7ee55b523ca0793a28 Mon Sep 17 00:00:00 2001 From: Grzegorz Rychlik Date: Tue, 25 Feb 2020 14:25:13 +0100 Subject: [PATCH] Update build script --- CreateBuild.cmd | 6 ++++-- Src/WebController/Backend/WebController.csproj | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CreateBuild.cmd b/CreateBuild.cmd index ea88ba8..e7a7ef4 100644 --- a/CreateBuild.cmd +++ b/CreateBuild.cmd @@ -3,7 +3,7 @@ @REM Adjust values below before running this script. @SETLOCAL @SET BUILD_MAJOR_NO=1 -@SET BUILD_MINOR_NO=0 +@SET BUILD_MINOR_NO=1 @SET BUILD_REVISION_NO=0 @SET BUILD_PREFIX=C3 @SET BUILD_HEADER_FILE=Src\Common\C3_BUILD_VERSION_HASH_PART.hxx @@ -54,6 +54,8 @@ COPY "Bin\\GatewayConsoleExe_r86.exe" "%BUILDS_PATH%\\%BUILD_FULL_SIGNATURE%\\Bi COPY "Bin\\NodeRelayConsoleExe_r86.exe" "%BUILDS_PATH%\\%BUILD_FULL_SIGNATURE%\\Bin\\NodeRelayConsoleExe_r86.exe" || GOTO :ERROR COPY "Bin\\NodeRelayDll_r64.dll" "%BUILDS_PATH%\\%BUILD_FULL_SIGNATURE%\\Bin\\NodeRelayDll_r64.dll" || GOTO :ERROR COPY "Bin\\NodeRelayDll_r86.dll" "%BUILDS_PATH%\\%BUILD_FULL_SIGNATURE%\\Bin\\NodeRelayDll_r86.dll" || GOTO :ERROR +COPY "Bin\\CebuLoader_r64.dll" "%BUILDS_PATH%\\%BUILD_FULL_SIGNATURE%\\Bin\\CebuLoader_r64.dll" || GOTO :ERROR +COPY "Bin\\CebuLoader_r86.dll" "%BUILDS_PATH%\\%BUILD_FULL_SIGNATURE%\\Bin\\CebuLoader_r86.dll" || GOTO :ERROR ECHO. ECHO Copying sample Gateway configuration... @@ -63,7 +65,7 @@ ECHO. ECHO Building WebController... IF EXIST "%BUILDS_PATH%\\%BUILD_FULL_SIGNATURE%\\WebController" (RMDIR /s /q "%BUILDS_PATH%\\%BUILD_FULL_SIGNATURE%\\WebController") || GOTO :ERROR dotnet publish -c Release "Src\\WebController\\Backend" || GOTO :ERROR -XCOPY /s /q "Bin\\WebController\\Release\\netcoreapp2.2\\publish" "%BUILDS_PATH%\\%BUILD_FULL_SIGNATURE%\\WebController\" || GOTO :ERROR +XCOPY /s /q "Bin\\WebController\\Release\\netcoreapp2.1\\publish" "%BUILDS_PATH%\\%BUILD_FULL_SIGNATURE%\\WebController\" || GOTO :ERROR ECHO. ECHO Copying scripts... diff --git a/Src/WebController/Backend/WebController.csproj b/Src/WebController/Backend/WebController.csproj index 471a210..9b39f70 100644 --- a/Src/WebController/Backend/WebController.csproj +++ b/Src/WebController/Backend/WebController.csproj @@ -3,6 +3,7 @@ netcoreapp2.1 InProcess + AspNetCoreModuleV2 MWR.C3.WebController C3WebController Debug;Release;ReleaseWithDebInfo