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