svg-net / SVG

Fork of the ms svg library
http://svg-net.github.io/SVG/
Microsoft Public License
1.13k stars 471 forks source link

NU 1701 #576

Closed HughGrovesArup closed 4 years ago

HughGrovesArup commented 4 years ago

I am writing a netstandard2.0 library. I've read in the documentation that the 3.0 version of SVG supports this. I've installed Svg v3.0.49 using nuget, and on dotnet commands (restore, test, build) etc. I get the warning

warning NU1701: Package 'Svg 3.0.49' was restored using '.NETFramework,Version=v4.6.1' instead of the project
target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.

Everything seems to work though, is there a way to get rid of the error message during build. I don't want to alarm my colleagues.

HughGrovesArup commented 4 years ago

I tried compiling using the instructions here but had the same error still

https://github.com/vvvv/SVG/wiki/Getting-started

mrbean-bremen commented 4 years ago

NetStandard2.0 is not yet supported. There is some support in master (see #346), but there is no nuget version for this so far.

HughGrovesArup commented 4 years ago

I see, I have mistaken dotnetcore support for dotnetstandard support.