Hi,
I've been asked to develop an ArcObjects extension and some ICommands, and have it run under both ArcMap 9.1 and 9.3.1. Most of the code is pretty generic, so I don't see much problems there.
However, I do have some problems creating the installer. To test this, I've written a small project containing only a simple basecommand and an installer class, and a setup project. If I compile on a 9.2 machine, the installer works on both 9.2 and 9.3.1, but if I compile on a 9.1 machine, it only installs on 9.1, and not on 9.2 or 9.3.1. The error I get is at the end of the install process, and says something like "Error 1001: Could not load all requested types. Retrieve the LoaderExceptions for more information".
I've googled this message, and it is related to one or more assemblies not being found (I suspect it's about ESRI.ArcGIS.Utility, or one of it's dependencies). So apparently there's a subtle difference between 9.1 on one hand, and 9.2/9.3.1 on the other.
Has anyone ever been in this situation, or seen this error message? Can anyone tell me how to retrieve the LoaderExceptions (the error occurs before the installer class is instantiated, so I wouldn't know where to put a try...catch)
My environment is Windows XP, Visual Studio 2005 (or 2008, tried both) with VB.Net.
Regards, Berend