I have a scenario where there are six (6) version of an API, all targeting different frameworks.
- Windows Phone 7 Silverlight
- Windows Phone 7 XNA
- Windows Phone 7 (non-UI)
- Mono for Android
- Windows 8
Independently all of these build documentation properly. I was thrilled when the Win8 and Mono version compiled and were correct!
I've setup a new SHFB project, configured it for a documentation source (a seventh, staging library) and used the Version Builder plug-in to configure the other six. The other six all appear to build properly in that there are no visible errors output
in VS or the logs. Once the six have built and the primary attempts to build, the Visual Studio instance running the build crashes, reports an error and the restarts.
My only clue thus far is the following errors visible in the event viewer.
<Provider Name=".NET Runtime" />
<TimeCreated SystemTime="2012-09-27T23:54:16.000000000Z" />
<Data>Application: devenv.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.InvalidOperationException Stack: at Microsoft.Build.Shared.ErrorUtilities.ThrowInvalidOperation(System.String, System.Object) at Microsoft.Build.Evaluation.ProjectCollection.UnloadProject(Microsoft.Build.Evaluation.Project) at SandcastleBuilder.Utils.SandcastleProject.Dispose(Boolean) at SandcastleBuilder.Utils.SandcastleProject.Finalize()</Data>