Jan 4, 2009 at 6:41 AM
How is this fine generated?  I'm looking to create a LINQ to FQL provider, and I need to regenerate this cs file with some added attributes on the properties.

Jan 6, 2009 at 12:39 PM
Hi Roy,

Just open the source VisualStudio solutionfile (Facebook.sln) in your VS 2008 and edit this file.

After editing, select compilation "Release" (or "Debug" if you need the debug-symbols) and select "Build Solution" out of the Build menu in your VS.

Hope this helps.

Jan 7, 2009 at 2:51 AM
We use the Microsoft XML team's LinqToXSD.exe tool, found here:

I don't remember the exact command format for it off-hand, but if you run that on the facebook.xsd we distribute with the source code (a slightly-modified version of Facebook's schema file), you can generate the file. There are also a few things you'll have to edit by hand after the fact. See Source/Facebook/Schema/sourceChanges.txt for a list of changes to be made.

By the way, if anyone knows of a better XSD parsing/code-generation tool, let us know. LinqToXSD is pretty inflexible in what it generates, and ideally it'd be nice to have something that can work with .NET 2.0.
Jan 7, 2009 at 9:33 AM
I'm sorry, it seems that I didn't understood your question...

Just ignore my comment and follow jschuster's comment :)

Sorry for that.