Hi,
Looking at the exception, it seems that the key behind the problem is the following one:
Also, I am not familiar with the Visualization Tooltik (VTK) but I believe the following library could be useful to develop .NET applications with it (in case you are not using it already):
Regards,
Damian Cherubini
http://blogs.southworks.net/dcherubini
Looking at the exception, it seems that the key behind the problem is the following one:
InnerException: System.BadImageFormatException
Message="Could not load file or assembly 'Kitware.VTK, Version=5.8.0.607, Culture=neutral, PublicKeyToken=995c7fb9db2c1b44' or one of its dependencies.
An attempt was made to load a program with an incorrect format ."
Source="Module2"
FileName="Kitware.VTK, Version=5.8.0.607, Culture=neutral, PublicKeyToken=995c7fb9db2c1b44"
Based on my understanding, the " An attempt was made to load a program with an incorrect format" message appears when trying to load a corrupted dll or an unmanaged non-COM 32-bits dll inside a .NET application built for 64-bits architectures. As a starting point, please check that your build configurations a targeted to x86.Also, I am not familiar with the Visualization Tooltik (VTK) but I believe the following library could be useful to develop .NET applications with it (in case you are not using it already):
Regards,
Damian Cherubini
http://blogs.southworks.net/dcherubini