Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Load an assembly

Status
Not open for further replies.

raghu75

Programmer
Nov 21, 2000
66
0
0
IN
Hi,
When I try to use a class defined in a dll i am getting the following exception.Any help appreciated...

Exception System.TypeLoadException: Could not load type MyNameSpace.MyType.MyContext from assembly MyType, Version=0.0.0.0, Culture=neutral, PublicKeyToken = db1d5baf3e94d1d8.

MyContext is a class defined in MyNameSpace.MyType...
 
If this is a .Net dll, then I would first remove and reload the reference and set property 'copy local' to true.

Good Luck!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top