trying to fix choco pack problem

This commit is contained in:
Christian Köllner 2021-10-02 21:55:23 +02:00
parent 59d16d6a6e
commit 930679cc21
2 changed files with 1 additions and 2 deletions

View File

@ -12,7 +12,7 @@ install:
- set PATH_COPY=%PATH% - set PATH_COPY=%PATH%
- set PATH=%PATH%;c:\tools\vcpkg\installed\x86-windows\tools\capnproto - set PATH=%PATH%;c:\tools\vcpkg\installed\x86-windows\tools\capnproto
- cd %APPVEYOR_BUILD_FOLDER% - cd %APPVEYOR_BUILD_FOLDER%
- dotnet tool install -g nbgv - dotnet tool install -g nbgv --version 3.1.74
- choco install reportgenerator.portable --version=4.5.6 --force -y - choco install reportgenerator.portable --version=4.5.6 --force -y
- dotnet tool install -g coveralls.net --version 1.0.0 - dotnet tool install -g coveralls.net --version 1.0.0
init: init:

View File

@ -8,7 +8,6 @@ $csprojDir = "$scriptDir\..\capnpc-csharp"
$csprojFile = "capnpc-csharp.csproj" $csprojFile = "capnpc-csharp.csproj"
$installDir = "$chocoDir\install" $installDir = "$chocoDir\install"
dotnet clean -c Release "$scriptDir\..\Capnp.Net.sln" --verbosity m
dotnet build -c Release "$scriptDir\..\Capnp.Net.sln" --verbosity m dotnet build -c Release "$scriptDir\..\Capnp.Net.sln" --verbosity m
dotnet publish -c Release -r win-x86 --self-contained -o "$chocoDir\$id_win_x86\bin" "$csprojDir\$csprojFile" --verbosity m dotnet publish -c Release -r win-x86 --self-contained -o "$chocoDir\$id_win_x86\bin" "$csprojDir\$csprojFile" --verbosity m
# dotnet publish -c Release -o "$chocoDir\$id\bin" "$csprojDir\$csprojFile" # dotnet publish -c Release -o "$chocoDir\$id\bin" "$csprojDir\$csprojFile"