Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Xamarin.Forms portable project as NuGet package

$
0
0

I tried creating a Xamarin.Forms portable project as a Nuget package, but I am having some problems with iOSOne of the errors are

Failed to add reference. The package 'Xamarin.Essentials' tried to add a framework reference to 'System.Drawing.Common.dll' which was not found in the GAC. This is possibly a bug in the package. Please contact the package owners for assistance.

What can be wrong?
Or is it simply not possible?

UPDATE

I have tried reinstalling Xamarin.Essential without success.

I tried adding the <DisableExtraReferences>true</DisableExtraReferences> to csproj like

<Project Sdk="Microsoft.NET.Sdk"><PropertyGroup><TargetFramework>netstandard2.0</TargetFramework><DisableExtraReferences>true</DisableExtraReferences>    ...</PropertyGroup>...

But now it comes with this error when trying to get it from NuGet

Package is not found in the following primary source(s): <path to Azure Nuget>. Please verify all your online package sources are available (OR) package id, version are specified correctly.               

When I try downloading a previous version it fails with the 1st error.

I also tried installing Xamarin.Build.Download, but that did not work either


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>