Question

I've been trying to get this to work for a few days now. I have written an Add-In for Visual Studio 2010 SP1 that helps when debugging Internet Explorer 9 (IE9). The idea was that IE9 has a new method of launching that prevents visual studio 2010 from auto attaching when you have other instances of IE9 open and when it does attach it doesn't auto attach to the right iexplore.exe process when debugging Javascript and Silverlight. In my Add-In I wait for the debugger to launch and I attach to the iexplore.exe process that is executing the javascript. If the silverlight debugger is checked in the web settings I have to wait for silverlight to load before attaching. So there for I need to know if this check box is checked.

I've tried reading the user options file directly from my Add-in and discovered that the .csproj.user file doesn't actually change until Visual Studio 2010 is closed. So unchecking and launching the debugger again will create the wrong result because my Add-in will think silverlight debugging is still enabled.

I'm trying to access this SilverLight checkbox on every launch of the debugger in a visual studio Add-in. Just reading the .user file doesn't work. Any ideas?

Was it helpful?

Solution

I answered my own question available here.

Answered Question on Stack Overflow

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top