我有两个项目,一个具有名为 Common 的目标框架 .Net Core 3.1,另一个具有名为 XamApp 的目标框架 .Net 标准 2.0。如何将 XamApp 中的引用添加到 Common?我不断收到错误:
Project Common is not compatible with uap10.0.16299 (UAP,Version=v10.0.16299)/win10-arm. Project Common supports: netcoreapp3.1 (.NETCoreApp,Version=v3.1)
我正在制作 Xamarin.Forms 应用程序,因此 XamApp 仅支持 .Net Standard 2.0。我需要将 Common 更改为什么目标框架?
答案 0 :(得分:0)
如果你不需要 2.1 的特性,那么是的,到 netstandard2.0 :)