Visual Studio Attach to Process - change default automatic code type (Silverlight instead of Script)

蓝咒 提交于 2019-12-14 01:53:46

问题


I'm attaching Visual Studio Debugger to IE instance which is running silverlight application, using Attach to Process dialog.

In the list of available processes there are Script, Silverlight and x86 types listed for iexplore.exe, but Script code gets chosen automatically. Can this be changed? I want Silverlight to be preferred.

Of course I can click Select button and pick Silverlight, but next time I'll need to attach to IIS and change these options again..


回答1:


I made a macro to do this. It would find the iexplore.exe process that was Silverlight whose parent was an iexplore.exe process with a title that matched my application and then attach with silverlight. One-button attachment!

But then Microsoft removed macro support from Visual Studio 2012. Grrrr...

I need to re-write it as an extension.



来源:https://stackoverflow.com/questions/7485723/visual-studio-attach-to-process-change-default-automatic-code-type-silverligh

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!