Search

Atalasoft Knowledge Base

HOWTO: Distribute a WinForms application using DotImage?

Administrator
DotImage

Deployment of an application in WinForms using DotImage is very simple.

Assuming that Atalasoft.dotImage, Atalasoft.dotImage.Lib, Atalasoft.dotImage.WinControls, and Atalasoft.Shared are the only components being referenced, they simply need to be copied into the same folder as the EXE that references them.

When you reference any of our .NET assemblies in your solution, Visual studio should be copying the dlls to the output BIN folder automaticall. All you need to do is deploy that bin directory.

If you wish to create an installer project to install your applicatoin, that should pack up the output for you.

Keep in mind, we have hard dependencies on Visual Studio C++ runtimes:

  • DotImage 6.0 - 11.1 - (when targeting .NET 2.0-3.5) - Visual Studio 2005 C++ Runtime (also covered by the VS2008 .NET 3.5.1 runtime windows component)
  • DotImage 6.0 - 11.1 - (when targeting .NET 4.0+) - Visual Studio 2010 C++ Runtime Redistrubutable
  • DotImage 11.2+ - (when targeting .NET 3.5) - Visual Studio 2008 C++ Runtime (also covered by the VS2008 .NET 3.5.1 runtime windows component)
  • DotImage 11.2+ - (when targeting .NET 4.5.2+) - Visual Studio 2017 C++ Runtime (also covered by the VS2019 .NET combined runtime installer)

NOTE: Please see INFO: .NET 4.x Deployment Errors for more on the runtime dependencies

You need to make sure that the assemblies you distribute are the same exact versions that the EXE was compiled with, otherwise the application will not run.

We don't recommend installing assemblies into the GAC for normal WinForm's applications.

Original Article:

Q10051 - HOWTO: Distribute a WinForms application using DotImage?

Details
Last Modified: Last Month
Last Modified By: Administrator
Type: HOWTO
Article not rated yet.
Article has been viewed 52 times.
Options
Also In This Category