
Hello,
I have the following code:I don't know why, but some times (about 20% of all times) that I run this code I got the following exception:
Could not load file or assembly 'MyFirstAssembly.dll' or one of its dependencies. The system cannot find the file specified.
I was sure it is something with my dll, but after I have had enough exceptions in my log I decided not to use 'MyFirstAssembly.dll' in the intelli-prompt. After the line in comment I started to get the same error for MySecondDll - so now I know it is something inside the component.
Is there a way you can check it?
Thanks,
Ori
I have the following code:
dotNetProjectResolver = new DotNetProjectResolver();
dotNetProjectResolver.AddExternalReferenceForMSCorLib();
dotNetProjectResolver.AddExternalReferenceForSystemAssembly("system");
dotNetProjectResolver.AddExternalReferenceForSystemAssembly("system.Data");
dotNetProjectResolver.AddExternalReference("MyFirstAssembly.dll");
dotNetProjectResolver.AddExternalReference("MySecondAssembly.dll");
Could not load file or assembly 'MyFirstAssembly.dll' or one of its dependencies. The system cannot find the file specified.
I was sure it is something with my dll, but after I have had enough exceptions in my log I decided not to use 'MyFirstAssembly.dll' in the intelli-prompt. After the line in comment I started to get the same error for MySecondDll - so now I know it is something inside the component.
Is there a way you can check it?
Thanks,
Ori