Skip to content

Nightly Builds

Gerald Versluis edited this page Oct 9, 2023 · 6 revisions

Starting with .NET 8, it is possible to test out nightly builds, builds from Pull Requests, or any other set of .NET MAUI NuGet packages.

Nightly NuGet Package Feed https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8/nuget/v3/index.json

Note

The versions on the nightly feed are ordered by version number, not date. Make sure that you check the "Include prereleases" checkbox in your NuGet explorer and select the version that mentions "nightly" in the version.

New .NET MAUI projects contain the following package references:

  • <PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
  • <PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="$(MauiVersion)" />

The Version is set by default to the $(MauiVersion) variable which will cause the version of the .NET MAUI Workload installed to always be substituted in its place. You can change this version either by editing the .csproj file directly, or by using the NuGet Package Manager to a newer version such as one of the 8.0.0-nightly versions from the dnceng-dotnet8 feed.

You will still need to occasionally update your .NET MAUI Workloads (typically you will do this by updating Visual Studio), and some newer versions of the NuGet packages may produce errors if you attempt to install them on older workload and/or sdk versions.

Clone this wiki locally