xref: /aosp_15_r20/external/protobuf/kokoro/windows/csharp/build.bat (revision 1b3f573f81763fcece89efc2b6a5209149e44ab8)
1*1b3f573fSAndroid Build Coastguard Worker@rem enter repo root
2*1b3f573fSAndroid Build Coastguard Workercd /d %~dp0\..\..\..
3*1b3f573fSAndroid Build Coastguard Worker
4*1b3f573fSAndroid Build Coastguard Workercd csharp
5*1b3f573fSAndroid Build Coastguard Worker
6*1b3f573fSAndroid Build Coastguard Worker@rem Install dotnet SDK
7*1b3f573fSAndroid Build Coastguard Workerpowershell -File install_dotnet_sdk.ps1
8*1b3f573fSAndroid Build Coastguard Workerset PATH=%LOCALAPPDATA%\Microsoft\dotnet;%PATH%
9*1b3f573fSAndroid Build Coastguard Worker
10*1b3f573fSAndroid Build Coastguard Worker@rem Disable some unwanted dotnet options
11*1b3f573fSAndroid Build Coastguard Workerset DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
12*1b3f573fSAndroid Build Coastguard Workerset DOTNET_CLI_TELEMETRY_OPTOUT=true
13*1b3f573fSAndroid Build Coastguard Worker
14*1b3f573fSAndroid Build Coastguard Worker@rem Work around https://github.com/dotnet/core/issues/5881
15*1b3f573fSAndroid Build Coastguard Workerdotnet nuget locals all --clear
16*1b3f573fSAndroid Build Coastguard Worker
17*1b3f573fSAndroid Build Coastguard Workercall buildall.bat
18