Hello,
I have a custom MSBuild Platform configuration which I would like to create a Debug Engine for.
I am working on Win7 and targeting VS2010.
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.
Given this setup I would like the Debug Engine to register with VS when a project is launched which uses the platform definition.
I have gone through the Sample Debug Engine from here:
http://archive.msdn.microsoft.com/debugenginesample
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/cc826178.aspx
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.
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?