Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NETSDK1083: The specified RuntimeIdentifier "win10-x64" is not recognized

Tags:

.net

maui

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.

like image 730
Brandon Minnick Avatar asked Sep 07 '25 01:09

Brandon Minnick


1 Answers

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

like image 112
Ryan O'Neill Avatar answered Sep 11 '25 09:09

Ryan O'Neill