I have a strange problem. In my win form application when I try to access a method of a referenced assembly I am getting "MissingMethodException". My referenced assembly is in GAC ( my main application does not have any strong name, but, main application and all the referenced assemblies have exactly same version, including Revision and Build numbers).
Following a simple one line code in my main app: Everest.ClientAdapters.BaseAdapter Adapter = Everest.ClientAdapters.AdapterContext.GetConext(1); Here Everest.ClientAdapter is the namespace and BaseAdapter and AdapterContext are two classes, which reside in two different assemblies. I make this call inside my main form's constructor. I don't get any error while compiling. And while running if I put a break point on this line, contorl never reaches there. It fails in Main() itself. But, if I comment out the above line of code and run the app it runs fine (as long as I don't call Everest.ClientAdapters.AdapterContext.GetConext(1) method it runs fine). So am I getting the error during JIT compilation? I did look at the online help on MissingMethodException. I don't do anything (like dynamically invoking a assembly and calling its method) - as described in the online help - which might cause this exception. Following is the exception I get: ************* An unhandled exception of type 'System.MissingMethodException' occurred in WindowsApplication7.exe Additional information: Method not found: Everest.ClientAdapters.BaseAdapter Everest.ClientAdapters.AdapterContext.GetConext(Int32). ************** Any clue??? I am going nuts over this.... Thanks, Rathna Raj T.J. Icode Tel: 5520592/3 There are very few things more which are less logical than business logic. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.