收录日期:2019/06/20 13:43:41 时间:2010-06-22 20:35:40 标签:visual-studio-2010

I don't really use the VS 2010 script debugging and would like to turn it off. I've tried running this registry command:

reg add HKLM\SOFTWARE\Microsoft\VisualStudio\10.0\AD7Metrics\Engine{F200A7E7-DEA5-11D0-B854-00A0244A1DE2} /v ProgramProvider /d {4FF9DEF4-8922-4D02-9379-3FFA64D1D639} /f

However, I get an error access denied error because while I am a local admin on my work PC I do not have the rights to run the reg add command. I can edit the registry though through regedit though for some reason.

I tried installing the Silverlight 2 toolkit as mentioned in this workaround:

http://blogs.msdn.com/b/greggm/archive/2009/04/06/disabling-script-debugging-in-vs-2008-ie8.aspx

However this does not work for me now that I have Silverlight 4 installed.

Disabling script debugging in Internet Explorer also does not fix the problem.

Is there any way to turn off the script documents degugging functionality either manually through regedit or via some other kind of workaround?

I ran into a similar problem trying to resize iFrames across domains. I ended up using Firefox or Chrome instead of Internet Explorer, and that worked fine. Would this work for your scenario with Silverlight?