-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting "Failed to add reference" error about reference to System.Drawing.Common.dll when updating nuget package to 2.0 version #162
Comments
Hi @atantasook, I'm the friendly issue checker. |
Hi @atantasook, what are your target frameworks (.net frameworks)? |
Hi, @smstuebe, I'm targeting .Net Standard 2.0. I tried clean install and got the same message. |
@atantasook Hmm I just created a new netstandard library and could install it without any problems. |
My VS is version 16.4.5 so it's currently the latest. My netstandard library project was converted from PCL so maybe there is something to that. |
ahh. can you create a clean one and try again? the conversion usually leaves in some unnecessary stuff. |
I was able to get through installation for the netstandard library project. Yay! Now, i get the same error on my iOS project. |
Changing my iOS project to PackageReference did the trick. |
To help us fix your issue, please provide the information in the below template. If something causes a crash, provide as much information as you can gather.
Just imagine: we do not know what you are doing!
Steps to reproduce
Expected behavior
Nuget package is updated to version 2.0.0
Actual behavior
Getting the error below:
Failed to add reference. The package 'Plugin.Fingerprint' 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.
Reference unavailable.
Crashlog
If something causes an exception paste full stack trace + Exception here
Configuration
Version of the Plugin: v2.0.0.0
Platform: Xamarin Forms, 4.4, iOS 13.2, Android 10
The text was updated successfully, but these errors were encountered: