Runtime error in vb.net app: An unhandled exception of type 'System.TypeLoadException' occurred in...
Posted on 2006-04-06
I have a solution including approximately 20 projects. One of these projects (EscoRatePlanOffering.dll) is referenced (as a project) by 4 other projects. The solution compiles without a problem, but I am getting this runtime error when I try to instantiate an object that is referencing the dll and sometimes when I try to create an instance of the EscoRatePlanOffering object itself:
An unhandled exception of type 'System.TypeLoadException' occurred in rateplanmaint.dll
Additional information: Could not load type eco.TypedDataSets.EscoRatePlanOffering from assembly EscoRatePlanOffering, Version=1.0.2283.3213, Culture=neutral, PublicKeyToken=null.
I tried removing the references to the dll, deleted all copies of the dll on my machine, and rereferenced the project (dll). I am still getting this runtime error and cannot figure out the source of the problem. I would greatly appreciate any assistance you can provide here. Thanks.