Get GdPicture.NET as a (set of) NuGet packages

Feature Requests for GdPicture.NET.
Post Reply
stunney
Posts: 1
Joined: Thu Nov 03, 2016 10:48 pm

Get GdPicture.NET as a (set of) NuGet packages

Post by stunney » Thu Nov 03, 2016 10:49 pm

Get rid of that MSI for an SDK :)

Here's an example to get you going:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
    <metadata>
        <id>GdPicture.NET</id>
        <version>12.0.0.42</version>
        <title>GdPicture.NET 12</title>
        <authors>GdPicture.NET</authors>
        <owners>GdPicture.NET</owners>
        <requireLicenseAcceptance>false</requireLicenseAcceptance>
        <description>GdPicture.NET</description>
        <copyright>© 2016 GdPicture.NET</copyright>
        <dependencies>            
        </dependencies>
    </metadata>
    <files>
        <file src="Redist\Framework 4.5\GdPicture.NET.12.dll" target="lib\net45\GdPicture.NET.12.dll" />
		<file src="Redist\Framework 4.5\GdPicture.NET.12.xml" target="lib\net45\GdPicture.NET.12.xml" />
		
        <file src="Redist\Framework 4.6\GdPicture.NET.12.dll" target="lib\net46\GdPicture.NET.12.dll" />
		<file src="Redist\Framework 4.6\GdPicture.NET.12.xml" target="lib\net46\GdPicture.NET.12.xml" />
		
		<file src="Redist\Framework 4.0\GdPicture.NET.12.dll" target="lib\net40\GdPicture.NET.12.dll" />
		<file src="Redist\Framework 4.0\GdPicture.NET.12.xml" target="lib\net40\GdPicture.NET.12.xml" />
		
		<file src="Redist\Framework 3.5\GdPicture.NET.12.dll" target="lib\net35\GdPicture.NET.12.dll" />
		<file src="Redist\Framework 3.5\GdPicture.NET.12.xml" target="lib\net35\GdPicture.NET.12.xml" />
		
		<file src="Redist\Framework 3.0\GdPicture.NET.12.dll" target="lib\net30\GdPicture.NET.12.dll" />
		<file src="Redist\Framework 3.0\GdPicture.NET.12.xml" target="lib\net30\GdPicture.NET.12.xml" />
		
		<file src="Redist\Framework 2.0\GdPicture.NET.12.dll" target="lib\net20\GdPicture.NET.12.dll" />
		<file src="Redist\Framework 2.0\GdPicture.NET.12.xml" target="lib\net20\GdPicture.NET.12.xml" />
    </files>
</package>

User avatar
Loïc
Site Admin
Posts: 5748
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Get GdPicture.NET as a (set of) NuGet packages

Post by Loïc » Sat Nov 05, 2016 4:12 pm

Thank you for the info, but what about the non managed dlls that GdPicture is using ? :)

Trevor
Posts: 5
Joined: Wed Nov 29, 2017 7:29 pm

Re: Get GdPicture.NET as a (set of) NuGet packages

Post by Trevor » Fri Jul 20, 2018 8:51 pm

It's the year 2018 could we get a NuGet package for GdPicture.NET by now? It is a bit of a hassle for us as updates come out we have to grab the latest ones and change a bunch of things around. As for above non managed dlls it will still work, please see https://stackoverflow.com/questions/101 ... -libraries. This would benefit more than a few people and or companies that use GdPicture.NET

Thanks!

Gabriela
Posts: 436
Joined: Wed Nov 22, 2017 9:52 am

Re: Get GdPicture.NET as a (set of) NuGet packages

Post by Gabriela » Wed Jan 16, 2019 10:37 pm

Hello,

Thank you for your interest and research, for sure we will consider it for the future. So why does GdPictures not have a Nuget Package now?
This is because GdPicture.NET is not intended to be used only in .NET development environments, it is also a COM/ActiveX component that can be used in a very wide variety of IDE and languages. GdPicture.NET also has a more complex structure than the average .NET assembly because it requires architecture-specific external libraries that are not .NET, external resources and system operations to be run. A NuGet package has been designed for .NET assemblies in the first place. Anyway, we will investigate the subject though and, if it is technically possible, we will try to adapt our release process.
Kind regards,

Gabriela
GdPicture Team

Jojoshua
Posts: 7
Joined: Fri Feb 01, 2019 4:15 pm

Re: Get GdPicture.NET as a (set of) NuGet packages

Post by Jojoshua » Thu May 16, 2019 6:42 pm

I too would like to request nuget distribution for gdpicture and docuvieware. It is extremely difficult to deal with in managing versions of this.

Furthermore CI and CD solutions like Azure devops cannot restore these dependencies if it is not distributed this way. It makes it hard to use as part of an automated build process and becomes a problem child. It would be a shame for such good software such as yours to get a bad reputation due to its distribution method.

accudave
Posts: 18
Joined: Tue May 12, 2015 6:07 pm

Re: Get GdPicture.NET as a (set of) NuGet packages

Post by accudave » Fri Aug 23, 2019 3:38 pm

+1 for this please. Our GdPicture footprint for many of our builds is 70mb and the size of our repository grows with every release of GdPicture, and is a problem for our CI server builds. Because there is no NuGet distribution, our CI server builds have to download these from VCS each time which is the largest part of our build process. Pulling from NuGet is significantly faster during a NuGet restore, and won't clog our VCS history. Even if NuGet only contained the main .NET binary and just kept the native binaries in the packages folder, this would be just fine. Our builds have to be scripted to deploy the native binaries anyway

User avatar
Loïc
Site Admin
Posts: 5748
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Get GdPicture.NET as a (set of) NuGet packages

Post by Loïc » Sat Aug 24, 2019 11:45 am

Guys, we're on it since months. We should be able to release something within few weeks now...

Cheers,

Loïc

Jojoshua
Posts: 7
Joined: Fri Feb 01, 2019 4:15 pm

Re: Get GdPicture.NET as a (set of) NuGet packages

Post by Jojoshua » Sun Sep 29, 2019 11:30 pm

That's great news!

ViB
Posts: 1
Joined: Thu Nov 28, 2019 12:13 pm

Re: Get GdPicture.NET as a (set of) NuGet packages

Post by ViB » Thu Nov 28, 2019 1:14 pm

Yes that's great news !
Any updates on this feature ?

accudave
Posts: 18
Joined: Tue May 12, 2015 6:07 pm

Re: Get GdPicture.NET as a (set of) NuGet packages

Post by accudave » Sun Feb 09, 2020 3:34 am

Here is a working .nuspec file to get you guys going, it works, with the native binaries as well. I have only tested this with PackageReference, but it is written to work with packages.config as well. It will add GdPicture.NET.dll as a proper assembly reference and also properly copy the native binaries to the project's output directory on build. It does this without modifications to the user's project.

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
  <metadata>
    <id>$id$</id>
    <version>$version$</version>
    <authors>$author$</authors>
    <owners>$author$</owners>
    <requireLicenseAcceptance>false</requireLicenseAcceptance>
    <description>$description$</description>
    <dependencies />
    <references>
      <reference file="GdPicture.NET.14.dll" />
    </references>
    <contentFiles>
      <files include="any/net47/eng.traineddata" buildAction="Content" copyToOutput="true" />
      <files include="any/net47/GdPicture.NET.14.barcode.1d.reader.64.dll" buildAction="Content" copyToOutput="true" />
      <files include="any/net47/GdPicture.NET.14.barcode.1d.reader.dll" buildAction="Content" copyToOutput="true" />
      <files include="any/net47/GdPicture.NET.14.document.analyzer.64.dll" buildAction="Content" copyToOutput="true" />
      <files include="any/net47/GdPicture.NET.14.document.analyzer.dll" buildAction="Content" copyToOutput="true" />
      <files include="any/net47/GdPicture.NET.14.filters.64.dll" buildAction="Content" copyToOutput="true" />
      <files include="any/net47/GdPicture.NET.14.filters.dll" buildAction="Content" copyToOutput="true" />
      <files include="any/net47/GdPicture.NET.14.image.gdimgplug.64.dll" buildAction="Content" copyToOutput="true" />
      <files include="any/net47/GdPicture.NET.14.image.gdimgplug.dll" buildAction="Content" copyToOutput="true" />
      <files include="any/net47/GdPicture.NET.14.jbig2.encoder.64.dll" buildAction="Content" copyToOutput="true" />
      <files include="any/net47/GdPicture.NET.14.jbig2.encoder.dll" buildAction="Content" copyToOutput="true" />
      <files include="any/net47/GdPicture.NET.14.ocr.tesseract.3.64.dll" buildAction="Content" copyToOutput="true" />
      <files include="any/net47/GdPicture.NET.14.ocr.tesseract.3.dll" buildAction="Content" copyToOutput="true" />
      <files include="any/net47/GdPicture.NET.14.twain.client.64.dll" buildAction="Content" copyToOutput="true" />
      <files include="any/net47/GdPicture.NET.14.twain.client.dll" buildAction="Content" copyToOutput="true" />
    </contentFiles>
  </metadata>
  <files>
    <file src="Build\Framework\$id$\net47\eng.traineddata" target="content\eng.traineddata" />
    <file src="Build\Framework\$id$\net47\GdPicture.NET.14.barcode.1d.reader.64.dll" target="content\GdPicture.NET.14.barcode.1d.reader.64.dll" />
    <file src="Build\Framework\$id$\net47\GdPicture.NET.14.barcode.1d.reader.dll" target="content\GdPicture.NET.14.barcode.1d.reader.dll" />
    <file src="Build\Framework\$id$\net47\GdPicture.NET.14.document.analyzer.64.dll" target="content\GdPicture.NET.14.document.analyzer.64.dll" />
    <file src="Build\Framework\$id$\net47\GdPicture.NET.14.document.analyzer.dll" target="content\GdPicture.NET.14.document.analyzer.dll" />
    <file src="Build\Framework\$id$\net47\GdPicture.NET.14.filters.64.dll" target="content\GdPicture.NET.14.filters.64.dll" />
    <file src="Build\Framework\$id$\net47\GdPicture.NET.14.filters.dll" target="content\GdPicture.NET.14.filters.dll" />
    <file src="Build\Framework\$id$\net47\GdPicture.NET.14.image.gdimgplug.64.dll" target="content\GdPicture.NET.14.image.gdimgplug.64.dll" />
    <file src="Build\Framework\$id$\net47\GdPicture.NET.14.image.gdimgplug.dll" target="content\GdPicture.NET.14.image.gdimgplug.dll" />
    <file src="Build\Framework\$id$\net47\GdPicture.NET.14.jbig2.encoder.64.dll" target="content\GdPicture.NET.14.jbig2.encoder.64.dll" />
    <file src="Build\Framework\$id$\net47\GdPicture.NET.14.jbig2.encoder.dll" target="content\GdPicture.NET.14.jbig2.encoder.dll" />
    <file src="Build\Framework\$id$\net47\GdPicture.NET.14.ocr.tesseract.3.64.dll" target="content\GdPicture.NET.14.ocr.tesseract.3.64.dll" />
    <file src="Build\Framework\$id$\net47\GdPicture.NET.14.ocr.tesseract.3.dll" target="content\GdPicture.NET.14.ocr.tesseract.3.dll" />
    <file src="Build\Framework\$id$\net47\GdPicture.NET.14.twain.client.64.dll" target="content\GdPicture.NET.14.twain.client.64.dll" />
    <file src="Build\Framework\$id$\net47\GdPicture.NET.14.twain.client.dll" target="content\GdPicture.NET.14.twain.client.dll" />
    <file src="Build\Framework\$id$\net47\eng.traineddata" target="contentFiles\any\net47\eng.traineddata" />
    <file src="Build\Framework\$id$\net47\GdPicture.NET.14.barcode.1d.reader.64.dll" target="contentFiles\any\net47\GdPicture.NET.14.barcode.1d.reader.64.dll" />
    <file src="Build\Framework\$id$\net47\GdPicture.NET.14.barcode.1d.reader.dll" target="contentFiles\any\net47\GdPicture.NET.14.barcode.1d.reader.dll" />
    <file src="Build\Framework\$id$\net47\GdPicture.NET.14.document.analyzer.64.dll" target="contentFiles\any\net47\GdPicture.NET.14.document.analyzer.64.dll" />
    <file src="Build\Framework\$id$\net47\GdPicture.NET.14.document.analyzer.dll" target="contentFiles\any\net47\GdPicture.NET.14.document.analyzer.dll" />
    <file src="Build\Framework\$id$\net47\GdPicture.NET.14.filters.64.dll" target="contentFiles\any\net47\GdPicture.NET.14.filters.64.dll" />
    <file src="Build\Framework\$id$\net47\GdPicture.NET.14.filters.dll" target="contentFiles\any\net47\GdPicture.NET.14.filters.dll" />
    <file src="Build\Framework\$id$\net47\GdPicture.NET.14.image.gdimgplug.64.dll" target="contentFiles\any\net47\GdPicture.NET.14.image.gdimgplug.64.dll" />
    <file src="Build\Framework\$id$\net47\GdPicture.NET.14.image.gdimgplug.dll" target="contentFiles\any\net47\GdPicture.NET.14.image.gdimgplug.dll" />
    <file src="Build\Framework\$id$\net47\GdPicture.NET.14.jbig2.encoder.64.dll" target="contentFiles\any\net47\GdPicture.NET.14.jbig2.encoder.64.dll" />
    <file src="Build\Framework\$id$\net47\GdPicture.NET.14.jbig2.encoder.dll" target="contentFiles\any\net47\GdPicture.NET.14.jbig2.encoder.dll" />
    <file src="Build\Framework\$id$\net47\GdPicture.NET.14.ocr.tesseract.3.64.dll" target="contentFiles\any\net47\GdPicture.NET.14.ocr.tesseract.3.64.dll" />
    <file src="Build\Framework\$id$\net47\GdPicture.NET.14.ocr.tesseract.3.dll" target="contentFiles\any\net47\GdPicture.NET.14.ocr.tesseract.3.dll" />
    <file src="Build\Framework\$id$\net47\GdPicture.NET.14.twain.client.64.dll" target="contentFiles\any\net47\GdPicture.NET.14.twain.client.64.dll" />
    <file src="Build\Framework\$id$\net47\GdPicture.NET.14.twain.client.dll" target="contentFiles\any\net47\GdPicture.NET.14.twain.client.dll" />
    <file src="Build\Framework\$id$\net47\GdPicture.NET.14.dll" target="lib\net47\GdPicture.NET.14.dll" />
  </files>
</package>
It really is important that you guys publish NuGet packages. I'm not sure how you will handle licensing, but since GdPicture requires a key to be registered in code, I think this is a non-issue. Trial users can use the full download instead of the NuGet package.

You can also publish separate packages: one for core imaging, winforms, wpf, additional separate packages for OCR dictionaries. You can also include any tools in the NuGet packages as well. It is very powerful.

loicaigon
Posts: 35
Joined: Mon Oct 21, 2019 9:11 am

Re: Get GdPicture.NET as a (set of) NuGet packages

Post by loicaigon » Mon Feb 10, 2020 10:48 am

Hi accudave,

Thanks a lot for sharing this in our forum. We really appreciate your input and I am sure it will be helpful for many of our GdPicture users.

NuGet Packages are great and the main reason why we don't have them yet is that we have put our resources on other topics.

Let me pass this to the engineers and maybe we can offer NuGet Packages in the future.

Best regards,

Loic Aigon
Customer Success Manager
Orpalis
Loic Aigon
Customer Success Manager
Orpalis

Jojoshua
Posts: 7
Joined: Fri Feb 01, 2019 4:15 pm

Re: Get GdPicture.NET as a (set of) NuGet packages

Post by Jojoshua » Fri Jun 26, 2020 5:23 am

We really need this for the sake of devops. Would be appreciated to prioritize this matter.

If it really is not something that will be officially supported I suggest accudave publish his solution to nuget (after adding docuvieware resources)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest