简体   繁体   中英

Reference a .NETStandard 2.0 project from UWP project

I am building a Xamarin application, and I have implemented the core (using Xamarin.Forms) in a .NETStandard 2.0 class library. It is correctly referenced by an iOs and Android project which implements the platform-specific code.

The problem is, I tried to add an UWP project in order that my app supports UWP, and when I try to reference the core project, I have the following error:

Project [Core project] is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586) / win10-x86-aot. Project [Core project] supports: netstandard2.0 (.NETStandard,Version=v2.0)

Any insight would be appreciated.

您需要为您的项目将目标最低版本都设置为Windows 10 Fall Creator Update Build 16299

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM