xref: /aosp_15_r20/external/protobuf/kokoro/release/csharp/windows/build_nuget.bat (revision 1b3f573f81763fcece89efc2b6a5209149e44ab8)
1@rem enter repo root
2cd /d %~dp0\..\..\..\..
3
4cd csharp
5
6@rem Install dotnet SDK
7powershell -File install_dotnet_sdk.ps1
8set PATH=%LOCALAPPDATA%\Microsoft\dotnet;%PATH%
9
10@rem Disable some unwanted dotnet options
11set DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
12set DOTNET_CLI_TELEMETRY_OPTOUT=true
13
14@rem Work around https://github.com/dotnet/core/issues/5881
15dotnet nuget locals all --clear
16
17call build_packages.bat
18