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.

Error adding log4net to a Xamarin Forms solution

I get the following error when I try to add log4net from Nuget.

Adding log4net...
Adding 'log4net 2.0.4' to FiberChekMOBILE.iOS.
Could not install package 'log4net 2.0.4'. 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.

What version of the Xamarin.iOS should I be using to get log4net?

Posts

  • ReynoldRoschReynoldRosch USMember ✭✭

    I am seeing the same issue for OpenTK.

    Adding OpenTK...
    Adding 'OpenTK 1.1.1589.5942' to FiberChekMOBILE.iOS.
    Could not install package 'OpenTK 1.1.1589.5942'. 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.

Sign In or Register to comment.