On Thu, 2010-09-02 at 17:59 -0700, Sandro wrote: > I start a Mono command prompt, which adds the mono bin folder to %PATH > %. .NET 3.5 and its tools are not in the default path. I then type:
%PATH% is irrelevant. All that matters is which runtime is used to load sqlmetal.exe, and if 'sqlmetal.exe' is in your path, then .NET will be used to execute it when you just use 'sqlmetal' and/or 'sqlmetal.exe'. (IIRC, .bat in the path won't help, as the .exe has precedence over the .bat unless you run 'sqlmetal.bat', and I don't know if a .bat or .cmd is present anyway...) Thus, you'd either need to completely uninstall .NET (;-) or make sure you use mono by running 'mono path\to\mono\sqlmetal.exe'. Or perhaps running 'sqlmetal.cmd' (assuming it exists...). Alternatively, download the DbLinq binary package and use DbMetal.exe. You can run DbMetal-generated output under Mono by compiling with the MONO_STRICT #define. - 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.
