Documenting WP7 projects

Topics: User Forum
Sep 17, 2010 at 3:02 PM

Hello, I tried to use SHFB to build documentation for a WP7 (RTM) class library, but as soon as it's launched I get the error "SHFB: Error BE0065: BUILD FAILED: The imported project "C:\Program Files\MSBuild\Microsoft\Silverlight for Phone\v4.0\Microsoft.Silverlight.WindowsPhone.Overrides.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. ". Could anyone tell me if there is any workaround for this?

Thanks!


Coordinator
Sep 20, 2010 at 7:13 PM

If you are on a 64-bit platform, the most likely cause is that the .targets file noted in the error message needs to exist in a similarly named folder under the "C:\Program Files (x64)" folder.  Also note that SHFB is built against the MSBuild 3.5 assemblies and may not be able to load the Visual Studio project file if it was created with VS 2010.  In such cases, you'll need to add the assembly, XML comments file, and references to the SHFB project rather than the VS project file.

Eric