How does one pin a .NET MAUI workload or even pin a MAUI version? Asking for a friend 😭
#dotnetmaui #dotnet cc @jfversluis @jamesmontemagno @davidortinau
@sinkinstar @jfversluis @jamesmontemagno global.json since public MAUI releases are almost all 1:1 with a .net version
@davidortinau @jfversluis @jamesmontemagno thanks David. But that's to pin the SDK version not workload. Recent MAUI 7.0.59 release borked quite a few things like Grid calculation and CollectionView height in iOS. There is no way to pin a specific version in a proj in MAUI yet. I know things are in the pipeline with .NET 8 but regression like is quite the headaches for enterprise apps
@sinkinstar @jfversluis @jamesmontemagno the workload is related to the SDK version. You can also use MauiVersion in your csproj
The "Value cannot be null" errors are shown on an attempt to build a project with MauiVersion set to a previous value · Issue #4812 · dotnet/maui

Description When I explicitly specify a previous preview version in the csproj file using the MauiVersion tag, an attempt to build the project leads to the "Value cannot be null" errors. Microsoft ...

GitHub
@sinkinstar @jfversluis @jamesmontemagno if you want a supported solution, I get it. But it still works.
@davidortinau @jfversluis @jamesmontemagno right I'll give it a go! Thanks David! ♥️