[英]Microsoft.Bcl and Microsoft.Bcl.Build in Xamarin.Forms (.Net Standard) Not compatible
I'm creating a Xamaring Forms App and I was using a tutorial where they used Microsoft.Bcl and Microsoft.Bcl.Build.我正在创建一个 Xamaring Forms 应用程序,我正在使用他们使用 Microsoft.Bcl 和 Microsoft.Bcl.Build 的教程。 The project was created in Visual Studio 2017 using "Cross platform App".
该项目是在 Visual Studio 2017 中使用“跨平台应用程序”创建的。 I'm using visual studio 2019, and I did not find "Cross platform App" so I'm doing my app with Xamarin.Forms Mobile App.
我正在使用 Visual Studio 2019,但没有找到“跨平台应用程序”,所以我正在使用 Xamarin.Forms 移动应用程序开发我的应用程序。
The point is that one uses .NetFramework and the other uses .NetStandard so Microsoft.Bcl and Microsoft.Bcl.Build are not compatible.关键是一个使用 .NetFramework 而另一个使用 .NetStandard 所以 Microsoft.Bcl 和 Microsoft.Bcl.Build 不兼容。
My questions are:我的问题是:
Thanks谢谢
It is not needed to install it because it is preloaded in the project, so you can use it whenever you want without installing it.不需要安装,因为它是预装在项目中的,所以你可以随时使用它而无需安装它。
I used these libraries and it worked perfectly.我使用了这些库并且它工作得很好。
using System.IO;
using System.Net; using System.Net.Http; using
System.Net.Http.Headers;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.