Closed porrey closed 1 year ago
Is would be great if there was support for net5, the nuget package should include both targets, (or else be pure netStandard)
I have generated the package locally and works fine with .net 5. I'm using it to convert pdfs to images.
Hello,
can this PR be considered please?
Thanks
I have added NET 6 support to this branch and a VS2022 solution file.
Is there any reason this couldn't be completed?
Is there any way to use this version of library under linux? I'm still getting:
Unable to load shared library 'kernel32.dll' or one of its dependencies
😢
Is there any way to use this version of library under linux? I'm still getting:
Unable to load shared library 'kernel32.dll' or one of its dependencies
😢
There are several calls being made that are specific to Windows:
@porrey thanks for writing this PR. Would it be possible for you to publish your fork to NuGet, since it seems unlikely that the original project will merge this PR?
@porrey thanks for writing this PR. Would it be possible for you to publish your fork to NuGet, since it seems unlikely that the original project will merge this PR?
I can do that. I will publish it as Ghostscript.Core.
Published branch with new package ID as Ghostscript.Core 1.5.0-preview-1.0.0. If the owner of this repo merges the changes later I can deprecate the new package. The namespace is still Ghostscript.NET to eliminate code changes.
Please note that this pull request is no longer valid. I have added support for .NET 7 in my branch.
I am using this library in a .NET 5.0 application. I am sharing my changes back as a pull request in case you are interested in updating the library for Core. The NuGet package built will build versions for multiple frameworks.
Changes:
Converted the main library project format to an SDK project and added support for the following frameworks: netstandard2.1, netcoreapp3.1, net5.0, net4, net461, net47, net471 and net472
Added NuGet package and migrated the settings from previous NuGet package.
Added support for Win32 registry. Note this portion of the library will only work on the Windows platform. Warnings are generated when compiling.
Changed version to 1.3.0 (this can be reset to any desired version).
Added package icon to project. NuGet now packages the icon within the package file.
Corrected a few spelling issues.
Note that no code changes were required at this point. I ran some test in a .NET 5.0 application, but did not run extension tests.
I recommend adding -beta.1 to the version and publishing the NuGet package to allow developers the ability to test the package without needing to upgrade exiting production applications.