# How to upgrade the .NET version You can upgrade or downgrade your .NET service to a different major .NET version by setting the [`run.base`](/dotnet/how-to/build-pipeline#base-1) parameter in your `zerops.yaml`. When you [trigger a new pipeline](/dotnet/how-to/trigger-pipeline), Zerops will start new runtime container(s) with the required .NET version. If you don't specify the `run.base` attribute in your `zerops.yaml`, Zerops keeps the current .NET version for your runtime. If you want to build your application with a different major .NET version, change the [`build.base`](/dotnet/how-to/build-pipeline#base) parameter in your `zerops.yaml`. The `build.base` is the required attribute.