Hi Jon,

> ...and why do you have a .../WebService/bin/System.Configuration.dll?
>
> For that matter, where did it come from?
>

To answer your question of where did it came from, the
System.Configuration.dll is copied locally to the "bin" directory when
DbLinq.dll is reference.  That is where it came from.  I even cleaned
the bin directory and each time I build the project (using
monodevelop), the System.Configuration.dll and other platform
assemblies are copied to the "bin" directory.  But if I take out the
DbLinq.dll reference in the project and clean the "bin" directory
again, the platform assemblies including the System.Configuration.dll
are not copied over.  So for that matter, it is the inclusion of
DbLinq that us copying all those other assemblies over.  Seems like
DbLinq has dependencies that copies those files locally when using
monodevelop.

> And I would further guess that this assembly doesn't have an
> System.Configuration.ConfigurationProperty instance constructor with the
> above signature.
>
> As a guess, I think you have some "platform assemblies" in your 'bin'
> directory which shouldn't be there.  Try removing all the System.*.dll
> assemblies and running again.

I guess the System.Configuration.dll could be broken and I guess when
xsp2 runs, it resolves from local assemblies first before the gac that
it attempts to invoke the System.Configuration.ConfigurationProperty
instance constructor which may not be there, causing it to fail.

One last note, I tried removing the System.Configuration.dll and other
platform assemblies, and set the dblinq.dll reference property in
monodevelop to not be flagged as "Copy Local".  I compiled it with no
errors.  The xsp2 did not fail and my program run but the linq code
does not work (no query results returned).   The same linq code, from
a separate "console" app with Dblinq referenced, works.

My guess is as good as yours.  This is what is confusing.  I think
this is either a bug in how dblinq integrates with monodevelop.  And
since we use monodevelop as our primary IDE for mono on Linux, I am
hoping there is a fix or workaround to this issue.  Your assistance
appreciated.

-El

-- 
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