gpt4 book ai didi

sandcaSTLe - 带有Visual Studio 2010和MSBuild 4.0的 SandcaSTLe

转载 作者:行者123 更新时间:2023-12-03 13:39:40 27 4
gpt4 key购买 nike

任何使用sandcasle..i的人都找不到逐步使用它并创建msbuild项目设置的步骤,该设置将生成友好的帮助文件。
我从codeplex安装了它,并安装了文件生成器,但是他们没有说清楚如何使用它。任何例子都将不胜感激。

最佳答案

当您安装SandcaSTLe帮助文件生成器时,它也应该已经安装了文档文件。在该帮助文件中,在目录->入门->在GUI外部构建项目中查找。在该页面上,有一个名为“指定构建后事件以构建帮助文件”的部分,听起来像您在寻找什么:

Currently, help file builder projects are not directly supported as solution project items. However, a post-build event in a Visual Studio project can be used to build them. To do so, right click on a project name in the Solution Explorer, select Properties, and select the Build Events sub-item. Click in the Post-build Event Command Line option to enter the command line to run. You can click the Edit Post-build button to open a dialog with a larger editor and a list of available macros. Below is an example of a common command line script that can be used (lines wrapped for display purposes). Replace the path to the tool with the path where you installed it on your PC. The IF statement prevents building the help file in debug builds where it may not be needed.


IF "$(ConfigurationName)"=="Debug" Goto Exit

ECHO Building SHFB help file via MSBuild
"$(SystemRoot)\Microsoft.NET\Framework\v3.5\MSBuild.exe"
/p:CleanIntermediates=True /p:Configuration=Release
"$(SolutionDir)Doc\SandcastleBuilder.shfbproj"

:Exit

关于sandcaSTLe - 带有Visual Studio 2010和MSBuild 4.0的 SandcaSTLe ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3954502/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com