xamarin-macios/dotnet/Microsoft.tvOS.Sdk
Rolf Bjarne Kvinge 16be59f7d6
[dotnet] Show a better error when using a .NET framework version we don't support. (#20142)
If a project tried to use a .NET 6 project (say TargetFramework=net6.0-ios), then
we used to show these rather unhelpful errors:

    error NETSDK1147: To build this project, the following workloads must be installed: wasm-tools-net6
    error NETSDK1147: To install these workloads, run the following command: dotnet workload restore

The underlying problem is that we don't support .NET 6 anymore, so with this fix we now show:

    error NETSDK1202: The workload 'net6.0-ios' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/maui-support-policy for more information about the support policy.

which is much more helpful.

References:

* https://github.com/dotnet/sdk/pull/32426
* https://github.com/xamarin/xamarin-android/pull/8047

Fixes https://github.com/xamarin/xamarin-macios/issues/18790.
2024-02-21 10:07:09 +01:00
..
Sdk [dotnet] Show a better error when using a .NET framework version we don't support. (#20142) 2024-02-21 10:07:09 +01:00
data [dotnet] Add a data/UnixFilePermissions.xml file to the sdk packs. Fixes #11860. (#11869) 2021-06-09 07:54:18 +02:00
targets [dotnet] Show a better error when using a .NET framework version we don't support. (#20142) 2024-02-21 10:07:09 +01:00