I am adding a GeoTiffRasterLayer to a LayerOverlay that I am adding to my map. I am setting LibraryType = UnmanagedLibTif.
Everything works fine on my development machine but I am having trouble with deployments. On clean Win7x64 machine images we are installing the core assemblies as well as the following merge modules.
MapSuiteProj4ProjectionX64.msm
MapSuiteGeoTiffX64.msm
MapSuitePrjHelperX64.msm
The map appears to work fine until we try to add a tiff layer. When we do we get an exception during drawing that is the "Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information."
Our application's app.config has the useLegacyV2RuntimeActivationPolicy set to true and can confirm since it works on my development machine.
Am I doing something wrong with my deployment?
Thanks,
Wes