managed-commons / SvgNet

Fork of the SVG library for .NET that makes a GdiGraphics that "draws" on a SVG model
BSD 3-Clause "New" or "Revised" License
84 stars 37 forks source link

Updating csproj files to support Net.Standard 2.0 #20

Closed vpenades closed 5 years ago

vpenades commented 5 years ago

I took the liberty of trying to port the library to net standard 2.0 on my own. As it happens, it was very straightforward.

The biggest change is that I completely rewrote the csproj file of the main project to use the new SDK style csproj file format, I tried to copy all the AssemblyInfo properties to the new project as best as I could (the AssemblyInfo is no longer needed, since its properties are now located in the csproj file)

Also, the new csproj file automatically builds the nuget package, which can be found in the bin folder.

The nuget package targets two platforms:

Also, I kept the 1.0.8 version, I guess it needs to be increated.

Hope you can find this PR useful.