我的调试器引擎未注册 [英] My Debugger Engine is not getting registered
问题描述
我的调试器引擎未注册
我实在面对源代码机器中我使用Visual Studio 2017构建源代码的问题,它应该在默认引擎列表中注册引擎,但由于更改了 visual studio 2017(privateregistry.bin)。
尝试运行应用程序时,由于引擎未在privateregistry.bin中注册,因此失败。
以前使用的API Setmetric似乎不起作用,无法将密钥添加到注册表,而它完全适用于visual studio 2015。
现在我们需要通过我们的源代码在默认引擎列表中注册引擎(在privateregistry.bin中) 解决我们的问题。
欲了解更多信息:https://social.msdn.microsoft.com/Forums/vstudio/en-US/859f7555-a140- 4f20-92fc-c2259d7fedae / my-debugger-engine-is-not-getting-registered?forum = vsdebug
如果您可以建议将一个C ++示例添加到privateregistry.bin中,那将非常有用。
请做必要的事。
谢谢和问候,
Menon
您好Menon3193,
感谢您在此发布。
>>如果您可以建议将一个C ++示例添加到privateregistry.bin
$ b $,那将非常有用。 b为了减少对注册表的影响,Visual Studio现在使用
RegLoadAppKey 用于将注册表项存储在%VsAppDataFolder%\ privateregistry.bin下的专用二进制文件中。只有极少数Visual Studio特定的密钥保留在系统注册表中。
有关详细信息,请参阅下面的本文档中的"更改:减少注册表影响"部分。 / p>
https://docs.microsoft.com/ en-us / visualstudio / extensibility / breaking-changes-2017
此处还有一个vs setup示例作为参考。
https://github.com/Microsoft/vs-setup-samples /tree/master/Setup.Configuration.VC
希望这可以帮到你。
最好的问候,
Sera Yu
My Debugger Engine is not getting registered
Hi ,
I am actually facing the issue in the source code machine where I have built our source code using visual studio 2017, which should register the engine in the default engine list but it is not happening due to change of visual studio 2017 (privateregistry.bin).
While trying to run application, it fails since the engine is not registered in the privateregistry.bin.
The previously used API Setmetric does not seem to work and fails to add the key to the registry whereas it worked perfectly upto visual studio 2015.
Now we need register the engine in the default engine list( in privateregistry.bin) through our source code for resolving our issue.
For more information : https://social.msdn.microsoft.com/Forums/vstudio/en-US/859f7555-a140-4f20-92fc-c2259d7fedae/my-debugger-engine-is-not-getting-registered?forum=vsdebug
It would be really helpful if you could suggest a C++ example to add the key to privateregistry.bin.
Please do the needful.
Thanks and Regards,
Menon
Hi Menon3193,
thanks for posting here.
>>It would be really helpful if you could suggest a C++ example to add the key to privateregistry.bin
To reduce the impact on the registry, Visual Studio now uses the RegLoadAppKey function to store registry keys in a private binary file under %VsAppDataFolder%\privateregistry.bin. Only a very small number of Visual Studio-specific keys remain in the system registry.
For more information, please refer to the section "Change: Reduce registry impact" in this document below.
https://docs.microsoft.com/en-us/visualstudio/extensibility/breaking-changes-2017
And here also has a vs setup sample for you as a reference.
https://github.com/Microsoft/vs-setup-samples/tree/master/Setup.Configuration.VC
Hope this could be help of you.
Best Regards,
Sera Yu
这篇关于我的调试器引擎未注册的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!