You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get this error when I try to install this package in VS 2017 nuget. Any suggestions?
Attempting to gather dependency information for package 'Svg.Skia.0.4.1' with respect to project 'SVG-Draw', targeting '.NETFramework,Version=v4.0'
Gathering dependency information took 16.02 ms
Attempting to resolve dependencies for package 'Svg.Skia.0.4.1' with DependencyBehavior 'Lowest'
Resolving dependency information took 0 ms
Resolving actions to install package 'Svg.Skia.0.4.1'
Resolved actions to install package 'Svg.Skia.0.4.1'
Retrieving package 'Svg.Skia 0.4.1' from 'nuget.org'.
Install failed. Rolling back...
Package 'Svg.Skia.0.4.1' does not exist in project 'SVG-Draw'
Package 'Svg.Skia.0.4.1' does not exist in folder 'C:\Work\SVG-Stuff\packages'
Executing nuget actions took 191.58 ms
install-package : Could not install package 'Svg.Skia 0.4.1'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.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.
At line:1 char:1
+ install-package Svg.Skia
+ ~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
The text was updated successfully, but these errors were encountered:
The error message is pretty clear: You can't install the package into project that targets .Net 4.0 framework.
Consider upgrating your project to a newest version. For example, .net framework 4.6.1. If this is not an option you will have to build library from source targeting .net 4.0. And that might be not easy.
I get this error when I try to install this package in VS 2017 nuget. Any suggestions?
The text was updated successfully, but these errors were encountered: