I am trying to figure out how to run sqlmetal on my preview Mono 2.6 (in WinXP).

No matter what syntax I try (I am trying to connect to a MySQL db called 
"adventureworks"), I get the same error.

For example:

C:\Program Files\Mono-2.6\lib\mono\2.0>sqlmetal /server:localhost:3306 
/namespace:sdventureworks /code:AdventureWorks.cs /language:csharp

returns 

Unhandled Exception: System.TypeLoadException: Could not load type 'DbLinq.Facto
ry.ObjectFactory' from assembly 'System.Data.Linq, Version=3.5.0.0, Culture=neut
ral, PublicKeyToken=b77a5c561934e089'.
   at DbMetal.Program.Main(String[] args)

But no matter what arguments I use, I get the very same error...

Any idea?
thanks
Cos
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to