为什么HKLM \ SOFTWARE \ Microsoft /\\ NetCompactFramework \ Manageaged Debugger \AttachEnabled = 1会阻止加载任何紧凑的框架应用程序? [英] Why does HKLM\SOFTWARE\Microsoft\.NetCompactFramework\Managed Debugger\AttachEnabled=1 prevent any compact framework applications from loading?

查看:88
本文介绍了为什么HKLM \ SOFTWARE \ Microsoft /\\ NetCompactFramework \ Manageaged Debugger \AttachEnabled = 1会阻止加载任何紧凑的框架应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在WEC2013 Arm7设备上,如果我有注册表项



[HKEY_LOCAL_MACHINE\SOFTWARE \ Microsoft &\\ .NetCompactFramework \Managed Debugger]


" ; AttachEnabled" = dword:1



尝试运行托管应用程序时,我收到一条错误,暗示未安装CF.


.NET CF初始化错误,应用程序无法加载所需的组件。如果.NET Compact Framework安装在存储卡上...支持信息:-2147438590(8000B002)



如果我设置AttachEnabled = 0,然后应用程序运行。


这应该是否有效,或者是因为调试机制已经改变并且这是从WEC7中遗留下来的?



干杯



John Dr




解决方案

看看
https://social.msdn.microsoft.com/Forums/en-US/5271dbc0-f4a0-422b-9ea3-3c4e9c99ace2/setting-attachenabled-requires-unknown- component-net-cf-initialization-error?forum = vssmartdevicesvbcs


注意:VS 2013没有SmartDevice支持,这在VS 2010中已被弃用,所以如果它正在等待从Visual Studio For Devices找到它不会找到它。


On WEC2013 Arm7 device, if I have the registry key

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NetCompactFramework\Managed Debugger]

"AttachEnabled"=dword:1

The when trying to run a managed application I get an error hinting that the CF isn't installed.

.NET CF Initialization Error, The application failed to load required components. If the .NET Compact Framework is installed on a storage card... Support info: -2147438590 (8000B002)

If I set AttachEnabled = 0, then the application runs.

Should this work or is it because the debugging mechanism has changed and this is left over from WEC7?

Cheers

John Dr

解决方案

Take a look at https://social.msdn.microsoft.com/Forums/en-US/5271dbc0-f4a0-422b-9ea3-3c4e9c99ace2/setting-attachenabled-requires-unknown-component-net-cf-initialization-error?forum=vssmartdevicesvbcs

Note: VS 2013 does not have SmartDevice support, this was deprecated in VS 2010, so if it is waiting for something from Visual Studio For Devices it is not going to find it.


这篇关于为什么HKLM \ SOFTWARE \ Microsoft /\\ NetCompactFramework \ Manageaged Debugger \AttachEnabled = 1会阻止加载任何紧凑的框架应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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