On Wed, 2009-12-02 at 07:26 -0800, Zak wrote:
> Running DbMetal, after copying DbMetal.exe.config to /build (easily
> fixed with MonoDevelop),. I ran into some interesting exceptions.
What exceptions are you seeing?
> Debugging led me to the following from Generator/Implementation/
> SchemaLoaderFactory.cs:206-207
Yes, that code is ugly (and likely should be removed), but I don't see
how it could cause an exception under Linux. GacLoadAssembly() will see
that the directory doesn't exist and bail, causing
CurrentDomain_AssemblyResolve() to return null, which will cause
Type.GetType() to throw an exception (as the type couldn't be found).
So the proper solution is to insert a catch{} in the appropriate spot so
that a stack trace isn't printed (which may already happen), for
starters.
- 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.