[Mono-list] sqlmetal on Mono 2.6 preview

Costantino Pipero cos at beeond.net
Mon Dec 7 19:42:30 EST 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20091207/5d5693dd/attachment.html 


More information about the Mono-list mailing list