Xamarin.forms shared project gives error while creation
💻 coding

Xamarin.forms shared project gives error while creation

1 min read 170 words
1 min read
ShareWhatsAppPost on X
  • 1Xamarin.Forms package installation fails due to compatibility issues with the targeted Xamarin.iOS framework version.
  • 2Updating the NuGet package manager in Visual Studio can resolve the installation error for Xamarin.Forms.
  • 3Users experiencing similar issues have found that updating their tools often resolves project creation problems.

AI-generated summary · May not capture all nuances

Key Insight
AskGif

"Xamarin.Forms package installation fails due to compatibility issues with the targeted Xamarin.iOS framework version."

Xamarin.forms shared project gives error while creation

Whenever I try to create a new xamarin.forms project it is giving error. The Error Details is as below,

Xamarin.Forms.1.3.1.6296: Could not install package 'Xamarin.Forms 1.3.1.6296'. You are trying to install this package into a project that targets 'Xamarin.iOS,Version=v1.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author"

"Could not add all required packages to the project. The following packages failed to install from 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 12.0\COMMON7\IDE\EXTENSIONS\XAMARIN\XAMARIN\3.9.236.0\Packages'":

Any idea how I can resolve this issue?

I have contact Xamarin Support as well but no luck.

Solution:

You need to update your nuget package manager. that will resolve the issue.

open your visual studio go to tools -> Extensions & Updates -> select updates -> select visual studio gallery then update your nuget package manager.

This will resolve your issue. I had the same problem, after researching a lot i found this solution.

Hope this will help you to resolve your issue.

Enjoyed this article?

Share it with someone who'd find it useful.

ShareWhatsAppPost on X

AskGif

Published on 26 October 2018 · 1 min read · 170 words

Part of AskGif Blog · coding

You might also like

Xamarin.forms shared project gives error while creation | AskGif Blog