When building a .NET MAUI app on Windows using .NET v8.0.100-rc.1.23455.8, I get the following error:
NETSDK1083: The specified RuntimeIdentifier "win10-x64" is not recognized
On the .NET SDK error list, there isn't much information about this error or how to solve it:
NETSDK1083 The specified RuntimeIdentifier '{0}' is not recognized.
This occurs because the RID that you used (win10-x64) has been removed as Microsoft has reduced the number of RIDs.
Their reasoning;
The RID graph was costly to maintain and understand, requiring .NET itself to be distro-aware in a fragile manner. The .NET team and the community spend a non-trivial amount of time updating the graph and backporting such updates to previous releases. The long-term goal is to stop updating the RID graph, stop reading it, and eventually remove it. This breaking change is a step towards that goal.
From this link (https://learn.microsoft.com/en-gb/dotnet/core/rid-catalog#windows-rids) you can see that you now need to use win-x64.
More detail at; https://learn.microsoft.com/en-gb/dotnet/core/compatibility/sdk/8.0/rid-graph
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With