加载平台文件时注册调试引擎 [英] Register Debug Engine when loading Platform files

查看:50
本文介绍了加载平台文件时注册调试引擎的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我有一个自定义的MSBuild Platform配置,我想为其创建调试引擎.

I have a custom MSBuild Platform configuration which I would like to create a Debug Engine for.

我正在研究Win7,并针对VS2010.

I am working on Win7 and targeting VS2010.

平台配置存储在存储库中,因此不需要安装即可使用平台.而是将我们的vcxproj文件配置为从存储库加载Microsoft.Cpp.props和Microsoft.Cpp.target.这些档案 已经进行了修改,可以在存储库中查找所请求的平台.

The platform configuration is stored within a repository so that no installation is needed to use the platform. Instead our vcxproj files are configured to load the Microsoft.Cpp.props and Microsoft.Cpp.targets from the repository. These files have been modified to look within the repository for requested platforms.

鉴于此设置,我希望调试引擎在启动使用平台定义的项目时向VS注册.

Given this setup I would like the Debug Engine to register with VS when a project is launched which uses the platform definition.

我从此处浏览了示例调试引擎:
http://archive.msdn.microsoft.com/debugenginesample

I have gone through the Sample Debug Engine from here:
http://archive.msdn.microsoft.com/debugenginesample

以及Project System演练:

As well as the Project System walkthroughs:

http://msdn.microsoft.com/en-us/library/vstudio/cc512961.aspx

http://msdn.microsoft.com/en-us/library/vstudio/cc512961.aspx

http://msdn.microsoft.com/en-us/library/vstudio/cc826178.aspx

http://msdn.microsoft.com/en-us/library/vstudio/cc826178.aspx


他们向我建议,如果在加载平台定义时可以加载.pkgdef或.vsct文件,则应该可以这样做.在平台.targets文件中添加类似"VSCTCompile"的内容.我找到的样本要么创建菜单 或菜单项以启动调试引擎,或者是带有模板等的完全安装的项目系统.

They suggest to me that this should be possible if I can get a .pkgdef or .vsct file to load while the platform definition is being loaded. With something like VSCTCompile put in the platform .targets file. The samples I have found either create a menu or menu item to launch the debug Engine or are a fully installed project system with templates etc.

理想情况下,我希望能够将调试引擎的dll与其他平台目标dll和配置文件放在同一位置,并在加载平台时与另一个配置文件一起注册调试引擎.最终结果将是 调试项目时(例如,使用F5)启动Debug Engine

Ideally I would like to be able to place the dll for the Debug Engine in the same place as the other platform target dll and config files and perhaps with another config file register the Debug Engine when the platform is loaded. The end result will be that the Debug Engine is launched when debugging a project (for example with F5)

有人可以让我知道我如何实现这一目标吗?

Could someone please let me know how I can achieve this?

推荐答案

VS没有提供此扩展名AFAIK.
VS didn't provide this extension, AFAIK.


这篇关于加载平台文件时注册调试引擎的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆