May 3, 2010 at 3:35 PM
Edited May 3, 2010 at 3:53 PM
I am currently working with Microsoft DSL Tools and have a lot of custom code, thus Sandcastle is the right tool for generating my doc files. I would love to use Sandcastle for this purpose, however, I do have some problems building my Sandcastle project.
I always get the following error message:
SHFB: Error BE0065: BUILD FAILED: The imported project "C:\Program Files\MSBuild\Microsoft\VisualStudio\DSLTools\v2.1\Microsoft.DSLTools.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the
file exists on disk. E:\Test\Sandcastle\SandcastleDSLTest\Dsl\Dsl.csproj
I overcame this error by commenting out the import directive in the dsl and dsl project file. However, this is more a hack than anything else (moreover the DSL does not work properly anymore after commenting out the import directive in both projects).
An overview what I have done:
First I created a new dsl project, enabled the XML documentation support (according to the Sandbox documentation), compiled the solution and tested it in the experimental hive (everything worked fine). After that I created a new Sandcastle project, added
the dsl solution file as documentation source and the project references (dsl project, dsl package project) to the references node in the Sandcastle Help File Builder. Now I tried to build the Sandcastle project but received the error message above. I checked
the files and folders and all of them do exist on my machine.
I am pretty new to Sandcastle and therefore have a low experience level. Has anyone experienced the same or similar issues related to DSL projects? Thanks for any hint on that topic.
PS: Please, excuse my English, I am not a native :-)