S
Steve
I'm playing with late binding and trying a very simple test to load an
assembly
In my "Host" application I have this code:
<code>
string modulePath =
@"C:\PMDRepository\Tools\ManfBusProcMgr\Modules\TestModule\bin\Debug\TestModule";
Assembly a = Assembly.Load(modulePath);
</code>
This is throwing the following exception:
Could not load file or assembly
'C:\\PMDRepository\\Tools\\ManfBusProcMgr\\Modules\\TestModule\\bin\\Debug\\TestModule'
or one of its dependencies. The given assembly name or codebase was invalid.
(Exception from HRESULT: 0x80131047)
The assembly that I'm trying to load is just a simple class library with one
member and one property. Both were created in VS2005.
I've done some initial googling, but nothing is popping up. Any ideas?
Thanks for reading!
Steve Klett
assembly
In my "Host" application I have this code:
<code>
string modulePath =
@"C:\PMDRepository\Tools\ManfBusProcMgr\Modules\TestModule\bin\Debug\TestModule";
Assembly a = Assembly.Load(modulePath);
</code>
This is throwing the following exception:
Could not load file or assembly
'C:\\PMDRepository\\Tools\\ManfBusProcMgr\\Modules\\TestModule\\bin\\Debug\\TestModule'
or one of its dependencies. The given assembly name or codebase was invalid.
(Exception from HRESULT: 0x80131047)
The assembly that I'm trying to load is just a simple class library with one
member and one property. Both were created in VS2005.
I've done some initial googling, but nothing is popping up. Any ideas?
Thanks for reading!
Steve Klett