Entity Framework links not being resolved

Apr 29, 2010 at 10:34 AM
Edited Apr 29, 2010 at 10:36 AM


I'm creating documentation for a class library that makes use of the .NET Entity Framework but Sandcastle does not recognize these classes.
As far as i can see noting that lies within the System.Data.Entity.dll is recognized.

Is it possible to fix this?

Apr 29, 2010 at 8:22 PM
Edited Apr 29, 2010 at 8:28 PM

Sandcastle doesn't have any reflection information for the newer assemblies such as System.Data.Entity.  There's an fxReflection.proj MSBuild project in the C:\Program Files\Sandcastle\Examples\Sandcastle folder that will let you rebuild the reflection data files so that it does include the new assemblies.  However, it will need updating to support generating reflection data for .NET 4.0 assemblies as opposed to just those for .NET 2.0-3.5 as it currently does.  An alternative to rebuilding all of the data files would be to run MRefBuilder and XslTransform for just those assemblies that you need.  You can pull the necessary commands out of the noted project file.  Use the VS2005 style for the transforms as it includes more information necessary to the other transformations than the other two styles.