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.
Long story short, it's a signing problem in this release of .NET 8 RC that is preventing .NET MAUI v8.0.0-rc.1.9171 from installing automatically. You can find more information about the error here: https://github.com/dotnet/maui/issues/17330.
To work around the signing problem, execute the following command in the Terminal:
dotnet workload install maui --skip-sign-check --source https://api.nuget.org/v3/index.json
sudo dotnet workload install maui --skip-sign-check --source https://api.nuget.org/v3/index.json