Open GoogleCodeExporter opened 9 years ago
So the actual bug isn't that C#2 isn't supported, but rather that using C#2
generates a NullReferenceException instead of something more useful.
Original comment by jonmpr...@gmail.com
on 5 Aug 2010 at 1:23
This is one of those slightly blurry usability issues.
I assume C#2 is a valid language type for MS .Net and the assumption was that
mono would support it. The dbmetal documentation says C#2 is supported, however
mono does not return a CompilerInfo instance if "C#2" is passed to
GetComplierInfo(). Additionally, mono does not throw the ConfigurationException
exception that (according to the MS .Net docs for GetCompilerInfo) it should.
So, the end result is someone uses C#2 because the dbmetal help says it is a
valid option, and then gets a more cryptic null ref exception.
So perhaps the error message should say something to the effect of "Language
type not supported on this .net implementation." Then add an entry to a faq and
probably modify the command-line help.
Btw, I would be happy to make whatever changes you decide on.
Original comment by spurious...@gmail.com
on 5 Aug 2010 at 2:00
Original issue reported on code.google.com by
spurious...@gmail.com
on 5 Aug 2010 at 3:45