You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In .NET 8 you can now acquire updated releases of the MAUI Controls library independently of the .NET MAUI workload. This enables all developers to quickly validate nightly builds, pull request builds, and service releases without disturbing the globally installed workload.
The MAUI Controls libraries include the multi-platform abstractions of controls, services, common layouts, single project support, and other related services that most developers commonly use when developing a .NET MAUI application. The .NET MAUI workload by comparison additionally includes the SDKs, build tools, and other foundational libraries such as Android, iOS, and macOS.
Services Releases - Early Access
Candidate service release builds of the MAUI Controls libraries are first published to NuGet.org prior to being available in the .NET MAUI workload and Visual Studio. As long as no significant regressions are identified during this phase, the release will be promoted to the .NET MAUI workload and Visual Studio to be available to all developers in the next scheduled release.
To get early access to a service release, update your package references to the new version. For example, if 8.0.6 is the new service release version on NuGet.org, you would change your project to look like this:
To revert back to the installed workload version, change the package references version back to $(MauiVersion) which will use the version implicitly from the workload you have installed:
NOTE: When using Early Access Candidate builds or Nightly builds by updating your Package References, your globally installed workload will be unchanged. If you run dotnet workload list you will still see the current MAUI workload version (eg: 8.0.3 even if you have 8.0.6 in your Package References) installed globally through CLI and/or Visual Studio.
Service Releases - General Availability
Once the service release is promoted to the .NET MAUI workload and Visual Studio, you can install the latest release via the dotnet CLI (eg: dotnet workload update) or Visual Studio (whichever method suits your environment).
You may now revert your package reference versions to $(MauiVersion) if you previously changed it to use a specific early access (or nightly) version.
NOTE: Once a service release is promoted to the .NET MAUI workload and Visual Studio and you have installed those updates, you will see that version listed in the dotnet workload list output.
Nightly Builds
Please see our Nightly Builds Wiki Page for more information about adding the nightly NuGet feed to easily install and test these builds.
Downgrading
In some cases it may also be possible to downgrade the NuGet package version to an older version than the currently installed workload. You can try this by setting the MauiVersion property in your app's project file to a specific version:
NOTE: This isn't always possible as in some cases MAUI may use a newer version of Android and/or iOS workloads which is no longer compatible with an older NuGet package version of MAUI.
The text was updated successfully, but these errors were encountered:
In .NET 8 you can now acquire updated releases of the MAUI Controls library independently of the .NET MAUI workload. This enables all developers to quickly validate nightly builds, pull request builds, and service releases without disturbing the globally installed workload.
The MAUI Controls libraries include the multi-platform abstractions of controls, services, common layouts, single project support, and other related services that most developers commonly use when developing a .NET MAUI application. The .NET MAUI workload by comparison additionally includes the SDKs, build tools, and other foundational libraries such as Android, iOS, and macOS.
Services Releases - Early Access
Candidate service release builds of the MAUI Controls libraries are first published to NuGet.org prior to being available in the .NET MAUI workload and Visual Studio. As long as no significant regressions are identified during this phase, the release will be promoted to the .NET MAUI workload and Visual Studio to be available to all developers in the next scheduled release.
To get early access to a service release, update your package references to the new version. For example, if
8.0.6
is the new service release version on NuGet.org, you would change your project to look like this:To revert back to the installed workload version, change the package references version back to
$(MauiVersion)
which will use the version implicitly from the workload you have installed:Service Releases - General Availability
Once the service release is promoted to the .NET MAUI workload and Visual Studio, you can install the latest release via the dotnet CLI (eg:
dotnet workload update
) or Visual Studio (whichever method suits your environment).You may now revert your package reference versions to
$(MauiVersion)
if you previously changed it to use a specific early access (or nightly) version.Nightly Builds
Please see our Nightly Builds Wiki Page for more information about adding the nightly NuGet feed to easily install and test these builds.
Downgrading
In some cases it may also be possible to downgrade the NuGet package version to an older version than the currently installed workload. You can try this by setting the
MauiVersion
property in your app's project file to a specific version:The text was updated successfully, but these errors were encountered: