On Mon, 2010-08-09 at 06:52 -0700, sam wrote:
> I do have .Net 2.0 thru 4.0 installed, but I did not compile either
> the Firebird ADO.Net provider or DbLinq, I am using the binaries I
> downloaded from the web.  I will be using it with .net 4.0, so I guess
> I should recompile everything for 4.0, correct?

How are you using it with 4.0?

By default (iirc), .NET 4.0 won't load 2.0 assemblies unless the
application config file permits it e.g. with:

        <startup useLegacyV2RuntimeActivationPolicy="true">
            <supportedRuntime version="v4.0"/>
        </startup>

Rebuilding DbLinq to target .NET 4.0 won't really fix the problem, as
you'll still need to load the Firebird ADO.NET assemblies (which won't
be compiled for 4.0, unless you have their source...), so the "proper"
solution appears to be either to make your entrypoint assembly
target .NET 3.5 or use the above application config file change.

 - Jon


-- 
You received this message because you are subscribed to the Google Groups 
"DbLinq" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/dblinq?hl=en.

Reply via email to