Visual Studio附加到进程 - 更改默认自动代码类型(Silverlight而不是脚本) [英] Visual Studio Attach to Process - change default automatic code type (Silverlight instead of Script)

查看:229
本文介绍了Visual Studio附加到进程 - 更改默认自动代码类型(Silverlight而不是脚本)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将Visual Studio Debugger连接到运行Silverlight应用程序的IE实例,使用附加到进程对话框。

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

在可用进程列表中有脚本,为iexplore.exe列出的Silverlight和x86类型,但脚本代码被自动选择。这可以改变吗我希望Silverlight成为首选。

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.

当然,我可以点击选择按钮并选择Silverlight,但下次我需要附加到IIS并再次更改这些选项。

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..

推荐答案

我做了一个宏来做到这一点。它会发现iexplore.exe进程是Silverlight,其父级是一个iexplore.exe进程,其标题与我的应用程序相匹配,然后使用silverlight进行附加。一键附件!

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!

但是微软从Visual Studio 2012中删除了宏支持。Grrrr ...

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

我需要重写它作为扩展名。

I need to re-write it as an extension.

这篇关于Visual Studio附加到进程 - 更改默认自动代码类型(Silverlight而不是脚本)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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