Hi
I'm using the GotDotNet.ApplicationBlocks.Data.AdoHelper class in one of my
projects, and it's working fine on my development machine. the problem
however arises when deploying the project to another machine. I get a
FileNotFoundException in the type initializer of AdoHelper. It claims it
can't find a dependency, although inspection of the AdoHelper source code
seems to show that it doesn't depend on anything other than the .Net
Framework. The specific line of code which fails is this:
Additionally the stack trace shows that the error occurs within a
System.Reflection class.
AdoHelper adoHelper =
AdoHelper.CreateHelper("GotDotNet.ApplicationBlocks.Data","GotDotNet.ApplicationBlocks.Data.SqlServer");
Interestingly it seems to work fine if I create the SqlServer helper
directly.
Anyone got any thoughts?
Cheers
Andrew