For pure native c++ projects, when mixed mode debugging is selected in the properties of the startup project and the user presses 'F5', VS 2010 starts debugging for native and .NET 4.0 code - this assumption is not justified, since the user may want to debug native and .NET 2.0 code. There appears to be no way to configure VS or the project to start debugging in Native/.NET 2.0 mixed mode. There also appears to be no way to do this via the EnvDTE object model.A similar problem occurs for .NET (c#) projects when the start action is 'Start External Program' instead of 'Start Project' - if the program is a native executable that loads .NET code at a later point, VS2010 will begin debugging in .NET 4.0 mode. Again there appears to be no way to override or configure this behaviour.I am filing this as a bug because multi-targeting is supposed to allow you to target the older toolchains (vs2008 c++/.NET 2) in the new IDE. In the old IDE I can use F5 to start an appication in mixed mode debugging and debug native and .NET 2.0, in the VS2010 IDE I no longer have this ability.The obvious workaround is to start the process without debugging and to then attach in the appropriate mode (native / .NET 2.0), but this has drawbacks (for instance you can't easily debug the programs start-up in this way).
Product Language
Visual Studio Version
Operating System
Operating System Language
Steps to Reproduce
Actual Results
Expected Results
Please wait...