Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Your project file doesn't list 'win10' as a "RuntimeIdentifier"... error when running Xamarin UWP project

Here is the full error:

Your project file doesn't list 'win10' as a "RuntimeIdentifier". You should add 'win10' to the "RuntimeIdentifiers" property in your project file and then re-run NuGet restore.

I opened up the csproj file in a text editor but I don't see any RuntimeIdentifiers property so I don't know where to add "win10"...

like image 359
ekolis Avatar asked Dec 22 '22 22:12

ekolis


1 Answers

You can try to delete the bin and obj folders in the project, then restart VS and rebuild the project.

like image 115
Richard Zhang Avatar answered Dec 28 '22 08:12

Richard Zhang