Jean Paul
posted
250 posts
since
Oct 06, 2010
from
|
|
Re: Problem load a dll dynamically
|
|
|
|
|
|
|
|
|
|
|
Hi Diego,
I have no clue on how the GetAssemblies() is not working.
But i can prefer the following solution.
1. Iterate through each dll file in your folder using a for loop
2. Use Assembly.LoadFile() method to load the file and get the Assembly object
3. Create type from the above Assembly object
Please let me know it solves/not
Regards, Jean Paul
|
|
|
|
|
Please mark as answer if your query resolved.
Regards, Jean Paul http://jeanpaulva.com
|
|
|
|
|
|
Diego
posted
11 posts
since
May 30, 2010
from
Rio de Janeiro, Brasil
|
|
Re: Problem load a dll dynamically
|
|
|
|
|
|
|
|
|
|
|
Hi Jean,
It's do not solve my problem, i still receive the same error message after 1 hour. Thanks for your help.
|
|
|
|
|
|
Jean Paul
posted
250 posts
since
Oct 06, 2010
from
|
|
Re: Problem load a dll dynamically
|
|
|
|
|
|
|
|
|
|
|
Hi Dude,
This seems to be an interesting problem.
Probably, as a check you can create a piece of code that verifies whether the file exists using the File.Exists() method and writing to an event log the status.
So once after one hour you should be getting the status file is not existing.
Regards, Jean Paul
|
|
|
|
|
Please mark as answer if your query resolved.
Regards, Jean Paul http://jeanpaulva.com
|
|
|
|
|
|