Ensure that the File is a valid .NET Framework assembly. - 12-05-2004 , 11:09 PM
Attempting to inherit my form from a form in a different project. When I try
to add the inhertied form, I get the message "unable to load assembly...dll.
Ensure that the file is a valid .NET Framework assembly.
The base class compiles fine and I do have a reference. Any ideas regarding
what could cause this wonderfully descriptive message?
RE: Ensure that the File is a valid .NET Framework assembly. - 12-07-2004 , 09:05 PM
Found the problem using FuslogVw. The framework was loading an obsolete
version of my DLL from the IDE folders.
RE: Ensure that the File is a valid .NET Framework assembly. - 02-01-2005 , 11:43 PM
I had the same problem and after trying several times I found a way to do it
Instead of directly inheriting first add reference to the base view dll.
using Add Reference in your project.
Then compile the project.
Then try to add inherited form as in normal way.
This will allow you to select the dll in which you have your base view.
select it and this time it will show you available forms in the base dll without showing this error!
Posted via DevelopmentNow Groups
|Thread Tools||Search this Thread|