-
Notifications
You must be signed in to change notification settings - Fork 474
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
Added net6.0-windows to TFMs. #1019
Conversation
Due to the fact that in .NET 6 S.D.C is Windows only, I decided to make a Windows only target for .NET 6 which removes a few annoying package refs that get placed into my build outputs in my .NET 6 WinForms applications that use Svg. If the application is windows only, I see no need to include the ``osx`` System.Drawing runtime reference either.
@wieslawsoltes - can you have a look at this? I'm traveling... |
I might have to rebase this after all this time. |
Thanks, also consider adding .NET 8 (we could skip the 7), net472, net481. update the samples. |
I would say that would be the best thing to do as well. |
After the analysis, package like Open-XML-SDK uses SVG-NET and targets and
The package libgdiplus-packaging is actually marked as
|
Due to the fact that in .NET 6 S.D.C is Windows only, I decided to make a Windows only target for .NET 6 which removes a few annoying package refs that get placed into my build outputs in my .NET 6 WinForms applications that use Svg. If the application is windows only, I see no need to include the
osx
System.Drawing runtime reference either.Reference Issue
Contributes to: #939
What does this implement/fix? Explain your changes.
This adds a
net6.0-windows
target to Svg which allows it to be used in .NET 6 WindowsDesktop applications without annoyingly unneeded dependencies polluting the output directory in them.Any other comments?
None.