无法从特权运行的Visual Studio 2010拖放到调试应用程序 [英] Cannot drag and drop to debugged-application run from a privileged-run Visual Studio 2010

查看:228
本文介绍了无法从特权运行的Visual Studio 2010拖放到调试应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在调试在Visual Studio 2010中具有拖放功能的应用程序。我必须以特权模式运行IDE,因为我的一些项目需要这样。


$ b $我的问题:



正常运行.exe文件时,我可以拖放(从Windows资源管理器(WE)运行)但是在VS2010中调试时,我无法在我的应用程序和WE之间进行拖放。



我试图在特权模式下打开WE,但仍然无法调试。

你有同样的问题吗?如果你这样做,你有没有办法解决?请分享。

解决方案

另一个解决方法是从Windows资源管理器运行调试二进制文件,并通过Visual Studio从Visual Studio附加到进程工具或调试菜单。我已经验证在使用这种方法时调试器中收到了拖动事件。


I'm debugging my application which has drag-n-drop features in Visual Studio 2010. I have to run the IDE in privileged mode since some of my project required so.

My problem:

I can drag-drop when run the .exe file normally (run from Windows Explorer (WE)) but when debugging in VS2010 I cannot do drag-dropping between my app and WE.

I tried to open WE in privileged mode but still cannot debug either.

Do you have the same problem? If you do, do you have any work-around for it? Please share.

解决方案

Another workaround is to run the debug binary from Windows Explorer and attach to the process from within Visual Studio via the "Tools" or "Debug" menu. I have verified that drag events are received in the debugger when using this approach.

这篇关于无法从特权运行的Visual Studio 2010拖放到调试应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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