Eng Soon Cheah
Eng Soon Cheah

Reputation: 257

Microsoft.Bcl.Build Error

Currently I'm developing Xamarin.Forms App, facing the issue of Microsoft.Bcl.Build Error, But I saw at Xamarin forums still does not solve, is that any solutions for this?

enter image description here

Upvotes: 0

Views: 480

Answers (1)

Weiwei
Weiwei

Reputation: 3766

According to the warning message and the default Blank App(Xamarin.Forms Portable) project I created, this issue caused by the NuGet packages that you installed in your PetApp.csproj which dependencies Microsoft.Bcl.Build package are not installed in other projects that reference the PetApp project.

Please install the same packages in other projects that reference PetApp project. You could check the Project column in Error List window to confirm which project need to install these packages.

Please note: Installed the packages that include Microsoft.Bcl.Build dependencies, not only install the Microsoft.Bcl.Build package. enter image description here

In addition, the Microsoft.Bcl.Build project is not compatible with .Droid project that in Xamarin.Forms project. So if there has a .Droid project in your Xamarin.Forms project, this warning message could not be removed unless you remove the .Droid project.

Upvotes: 1

Related Questions