Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Couldn't install package Xamarin Forms

IsraelGilyadovIsraelGilyadov USMember
edited June 2016 in Xamarin.Forms

It says Xamarin Forms couldn't be installed into a project that targets .NET 4.0, however, I explicitly choose .NET 4.5 as the target framework in the "New Project" window.

This issue appears both on shared and portable Xamarin Forms projects during initialization.

Visual Studio 2015 Community Update 2
Microsoft .NET Framework 4.6

NuGet 3.4.4

Xamarin 4.0.4.4
Xamarin.Android 6.0.4.0
Xamarin.iOS 9.6.2.2

Any ideas?

Answers

  • IsraelGilyadovIsraelGilyadov USMember

    I figured this problem is caused during the initialization of the UWP project. Therefore, I checked the properties of that project and it says on top "Targeting: .NET 4.0 Framework", why does it target .NET 4.0 and then complains about it when I clearly chose .NET 4.5 as the target framework in the new project creation window?

Sign In or Register to comment.