[Mono-list] Table Adapters / Strongly Typed Datasets (XSD) in Mono?

Veerapuram Varadhan vvaradhan at novell.com
Tue Jun 2 05:19:33 EDT 2009

Hi Aaron,

On Sun, 2009-05-31 at 09:47 -0700, AaronInSD wrote:
> I'm trying to move over a project to Mono that uses XSD files that have both
> class definitions and TableAdapters. Mono cannot find the namespace if I
> leave the XSD in the App_Code folder, nor if I convert the XSD to a .cs file
> using the Microsoft xsd.exe tool. I opened that .cs file and didn't see that
> namespace anywhere, so maybe it has to do with the way .NET generates table
> adapter definintions.
> I get this error:
> CS0246: The type or namespace name `ActivityLogTableAdapters' could not be
> found. Are you missing a using directive or an assembly reference?
> Is this database functionality implemented in Mono 2.4? I'm actually just
> trying to get it to connect to an existing MS SQL Server Express edition
> database.
> Anyone had any success? It's a rather large codebase, if I have to convert
> the database layer not to use Strongly Typed Datasets and Table Adapters,
> anyone have any suggestions for converting many queries / files / classes?

Mono does convert and work fine with projects that use XSD files with
both TableAdapters and class definitions. However, it can fail with
certain XSD files - due to their complexity.  Is it possible for you to
share your XSD files so that we can debug and fix the issue?  OR you can
send the tarball to me directly (we assure you of all privacy/NDA kinda
disclaimers) OR 

Can you point us to any "open sourced" projects that gives similar
errors?  - like the projects in http://www.asp.net/community/projects/


V. Varadhan

More information about the Mono-list mailing list