是否可以将 SandCastle 与 Visual Studio 2008 和 C++ 一起使用? (非 CLI)?
我很困惑:我正在使用 Visual Studio 2008 和 C++(非 CLI),但我一辈子都无法弄清楚如何使用 Sandcastle 构建帮助文件。
一旦安装并生成 .xml 文件,是否应该在某个地方有一个菜单选项来打开文档的构建?或者至少有一个菜单选项来触发文档的构建?
I'm mystified: I'm using Visual Studio 2008 with C++ (non-CLI), and I can't for the life of me work out how to build the help file with Sandcastle.
Once its installed, and its generating an .xml file, shouldn't there be a menu option somewhere to switch on the build of the docs? Or at least a menu option to trigger the build of the docs?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不相信 sandcastle 可以与 doxygen 一起使用。
Sandcastle 实际上与托管或非托管项目无关。 Sandcastle 针对一组通常在构建过程中生成的 XML 文档进行工作。如果您手动构建 xml,您可以让它为 Smalltalk 生成文档。
也就是说,虽然它最常见的用法是在托管领域,但它肯定是受支持的对于本机 C++ 也是如此。关键是 Visual Studio 支持从不使用
/clr
开关编译的 C++ 中提取 xml 文档,并且可以将这些相同的 XML 文件提供给 Sandcastle 来生成文档。I don't believe sandcastle works with doxygen.
Sandcastle actually has nothing to do with managed or unmanaged projects. Sandcastle works against a set of XML documents that are typically generated during the build process. If you manually built the xml, you could make it generate docs for Smalltalk.
That said, while its most common usage is in the managed world, it is certainly supported for native C++ as well. The key is that the visual studio supports pulling xml documentation out of C++ compiled without the
/clr
switch, and those same XML files can be provided to Sandcastle for your document generation.