Package Your Dependencies Using NuGet
- We do not recommend that you compile using AnyCPU, as some resources are platform-specific.
- A managed code application using the 32-bit version of ImageGear .NET must target the x86 platform. The toolkit will be running as a 32-bit process on a 32-bit machine or as a 32-bit process on a 64-bit machine.
- A managed code application using the 64-bit version of ImageGear .NET must target the x64 platform. The toolkit will be running as a 64-bit process on a 64-bit machine.
Starting with v22, ImageGear .NET provides Nuget Packages to simplify the packaging process. You can add NuGet dependencies for the ImageGear .NET DLLs your application requires. NuGet packages make it easy to add, remove, and update libraries and tools in Visual Studio projects that use the .NET Framework.
Application Using PDF Component
In addition to what is packaged using NuGet, if your application uses the PDF and/or CAD component(s), you also need to install the following Microsoft component:
- Visual C++ CRT 10.0
- Visual C++ CRT 12.0
This can be installed with the following merge modules:
- Microsoft_VC100_CRT_x86.msm (Windows 32-bit version)
- Microsoft_VC100_CRT_x64.msm (Windows 64-bit version)
- Microsoft_VC120_CRT_x86.msm (Windows 32-bit version)
- Microsoft_VC120_CRT_x64.msm (Windows 64-bit version)
Application Using Office Component
In addition to what is packaged using NuGet, if your application uses the Office component, you also need to install all of the following Microsoft components:
- Visual C++ CRT 10.0
- Visual C++ CRT 12.0
This can be installed with the following merge modules:
- Microsoft_VC100_CRT_x86.msm (Windows 32-bit version)
- Microsoft_VC100_CRT_x64.msm (Windows 64-bit version)
- Microsoft_VC120_CRT_x86.msm (Windows 32-bit version)
- Microsoft_VC120_CRT_x64.msm (Windows 64-bit version)
If your application uses the Office component, you also have to setup the OfficeCore dependencies on the target machine. See Manually Packaging Office Dependencies.
- If you have not set up the OfficeCore dependencies prior to downloading the NuGet package "Accusoft.ImageGear.Office", then you will not be able to utilize any of the functionality of the ImageGear.Formats.Office namespace.
- To ensure correct functionality, please verify that the architecture bitness of the packaged OfficeCore dependencies matches that of ImageGear .NET.
Application Using Recognition Components
In addition to what is packaged using NuGet, if your application uses the Recognition components (Recognition or Recognition.Asian), you also need to install the following Microsoft components:
- Visual C++ CRT 10.0
- Visual C++ CRT 12.0
This can be installed with the following merge modules:
- Microsoft_VC100_CRT_x86.msm (Windows 32-bit version)
- Microsoft_VC100_CRT_x64.msm (Windows 64-bit version)
- Microsoft_VC120_CRT_x86.msm (Windows 32-bit version)
- Microsoft_VC120_CRT_x64.msm (Windows 64-bit version)
Application Using CAD Component
In addition to what is packaged using NuGet, if your application uses the CAD component, you also need to install the following Microsoft component:
This can be installed with one of the following merge modules:
- Microsoft_VC90_CRT_x86.msm (Windows 32-bit version)
- Microsoft_VC90_CRT_x64.msm (Windows 64-bit version)