Project is not compatible with uap10.0.16299 (UAP,Version=v10.0.16299)

强颜欢笑 提交于 2021-02-20 05:27:08

问题


I have created Xamarin project which is in .NET standard. Now I am trying to add .NET core 5.0 Class library reference in Xamarin project and i am getting below error. Any solution will be helpful.

Severity Code Description Project File Line Suppression State Error NU1201 Project Db.Models is not compatible with uap10.0.16299 (UAP,Version=v10.0.16299) / win10-x86. Project Db.Models supports: net5.0 (.NETCoreApp,Version=v5.0)ui.UWP


回答1:


I have created Xamarin project which is in .NET standard. Now I am trying to add .NET core 5.0 Class library reference in Xamarin project

I'm afraid you can't refer .NET 5 class library for UWP platform. Creating UWP apps running on .NET 5 is not supported yet. Derive from Richard blog Announcing .NET 5.0 The Windows team is working on Project Reunion as the next step forward for UWP and related technologies.. Please pay attention to the .NET release note.



来源:https://stackoverflow.com/questions/66269317/project-is-not-compatible-with-uap10-0-16299-uap-version-v10-0-16299

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!