A
Aashish Patil
Hi,
My code is trying to load an assembly using
Assembly.Load(string assemblyName);
Assume that the current executing assembly is called
Test.dll
The following code works fine
string assName = "Test.dll"
Assembly.Load(assName);
While the following fails consistently
Assembly.Load(Assembly.GetExecutingAssembly().FullName);
The second piece of code always throws an exception saying
that assembly was not found. Note that FullName also
includes attributes such as Culture,Version, ... I wonder
why that should make a difference.
Any ideas?
Thanks
regards,
Aashish
My code is trying to load an assembly using
Assembly.Load(string assemblyName);
Assume that the current executing assembly is called
Test.dll
The following code works fine
string assName = "Test.dll"
Assembly.Load(assName);
While the following fails consistently
Assembly.Load(Assembly.GetExecutingAssembly().FullName);
The second piece of code always throws an exception saying
that assembly was not found. Note that FullName also
includes attributes such as Culture,Version, ... I wonder
why that should make a difference.
Any ideas?
Thanks
regards,
Aashish