<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>VSCmdShell Work Item Rss Feed</title><link>http://www.codeplex.com/WorkItem/List.aspx?ProjectName=VSCmdShell</link><description>VSCmdShell Work Item Rss Description</description><item><title>Commented Issue: In x64  Vista and VS2008 the command shell does not launch cmd.exe</title><link>http://www.codeplex.com/VSCmdShell/WorkItem/View.aspx?WorkItemId=14645</link><description>In the above mentioned config, the command shell is empty and does not shouw up the cmd prompt. The powershell seems to work fine. After the first command is entered it just hangs VS&lt;br /&gt;Comments: ** Comment from web user: mattgollob ** &lt;p&gt;I realize this issue is quite old, but I ran into it myself and I think I may know what the problem is.  In my case, it was because I had only VS2008 installed, and when the CommandShellHost is initialized it attempts to read &amp;#42;VS2005&amp;#39;s&amp;#42; InstallDir registry value when building the path to vsvars32.bat.  Changing line 123 in CommandShell&amp;#47;CommandShellHost.cs from&amp;#58;&lt;/p&gt;&lt;p&gt;RegistryKey rk &amp;#61; Registry.LocalMachine.OpenSubKey&amp;#40;&amp;#34;SOFTWARE&amp;#92;&amp;#92;Microsoft&amp;#92;&amp;#92;VisualStudio&amp;#92;&amp;#92;8.0&amp;#34;&amp;#41;&amp;#59;&lt;/p&gt;&lt;p&gt;to&amp;#58;&lt;br /&gt;RegistryKey rk &amp;#61; Registry.LocalMachine.OpenSubKey&amp;#40;&amp;#34;SOFTWARE&amp;#92;&amp;#92;Microsoft&amp;#92;&amp;#92;VisualStudio&amp;#92;&amp;#92;9.0&amp;#34;&amp;#41;&amp;#59;&lt;/p&gt;&lt;p&gt;This single change resolved the issue for me.  Based on this, I don&amp;#39;t believe that this issue is related to Vista, nor is it related to x64.&lt;/p&gt;&lt;p&gt;Note in the source there is a big &amp;#34;&amp;#47;&amp;#47;HACK&amp;#58;&amp;#34; comment indicating that this logic needs refactoring.  That is something I intend to do in the next few days &amp;#47; weeks&lt;/p&gt;</description><author>mattgollob</author><pubDate>Fri, 06 Feb 2009 23:32:16 GMT</pubDate><guid isPermaLink="false">Commented Issue: In x64  Vista and VS2008 the command shell does not launch cmd.exe 20090206113216P</guid></item><item><title>Commented Issue: Invalid operation exception with VS2008RTM</title><link>http://www.codeplex.com/VSCmdShell/WorkItem/View.aspx?WorkItemId=15495</link><description>Freshly installed XPSP2, VS2008ProRTM, VSSDK, MSDN for VS2008, PlatformSDK6.1&lt;br /&gt;Installed VS Command Shell.&lt;br /&gt;In shell&amp;#58; &amp;#33;Help.About&lt;br /&gt;Close Help&amp;#124;About with OK button.&lt;br /&gt;&amp;#42;twiddle&amp;#42;&lt;br /&gt;&amp;#34;Microsoft Visual Studio has encountered a problem ...&amp;#34;&lt;br /&gt;&lt;br /&gt;Details say it&amp;#39;s an invalid operation exception in microsoft.powertoys.vscmdshell&lt;br /&gt;Comments: ** Comment from web user: EyalShilony ** &lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;It&amp;#39;s awesome add-in and I wish I can use it for VS2008. &amp;#58;&amp;#41;&lt;/p&gt;&lt;p&gt;I installed the add-in myself and whenever I&amp;#39;m trying to use it &amp;#40;using the default setting&amp;#41; I&amp;#39;m getting the following exception.&lt;/p&gt;&lt;p&gt;System.InvalidOperationException was unhandled&lt;br /&gt;  Message&amp;#61;&amp;#34;Operation is not valid due to the current state of the object.&amp;#34;&lt;br /&gt;  Source&amp;#61;&amp;#34;Microsoft.VSPowerToys.VSCmdShell&amp;#34;&lt;br /&gt;  StackTrace&amp;#58;&lt;br /&gt;       at Microsoft.VSPowerToys.VSCmdShell.Hosts.CommandShellHost.get_InputStream&amp;#40;&amp;#41;&lt;br /&gt;       at Microsoft.VSPowerToys.VSCmdShell.Hosts.CommandShellHost.ExecuteCommand&amp;#40;String command&amp;#41;&lt;br /&gt;       at Microsoft.VSPowerToys.VSCmdShell.ShellTextBox.IssueCommand&amp;#40;&amp;#41;&lt;br /&gt;       at Microsoft.VSPowerToys.VSCmdShell.ShellTextBox.HandleKeyPressEvent&amp;#40;Object sender, KeyPressEventArgs e&amp;#41;&lt;br /&gt;       at System.Windows.Forms.Control.OnKeyPress&amp;#40;KeyPressEventArgs e&amp;#41;&lt;br /&gt;       at System.Windows.Forms.Control.ProcessKeyEventArgs&amp;#40;Message&amp;#38; m&amp;#41;&lt;br /&gt;       at System.Windows.Forms.Control.ProcessKeyMessage&amp;#40;Message&amp;#38; m&amp;#41;&lt;br /&gt;       at System.Windows.Forms.Control.WmKeyChar&amp;#40;Message&amp;#38; m&amp;#41;&lt;br /&gt;       at System.Windows.Forms.Control.WndProc&amp;#40;Message&amp;#38; m&amp;#41;&lt;br /&gt;       at System.Windows.Forms.TextBoxBase.WndProc&amp;#40;Message&amp;#38; m&amp;#41;&lt;br /&gt;       at System.Windows.Forms.RichTextBox.WndProc&amp;#40;Message&amp;#38; m&amp;#41;&lt;br /&gt;       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage&amp;#40;Message&amp;#38; m&amp;#41;&lt;br /&gt;       at System.Windows.Forms.Control.ActiveXImpl.System.Windows.Forms.IWindowTarget.OnMessage&amp;#40;Message&amp;#38; m&amp;#41;&lt;br /&gt;       at System.Windows.Forms.Control.ControlNativeWindow.WndProc&amp;#40;Message&amp;#38; m&amp;#41;&lt;br /&gt;       at System.Windows.Forms.NativeWindow.DebuggableCallback&amp;#40;IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam&amp;#41;&lt;br /&gt;  InnerException&amp;#58;&lt;/p&gt;&lt;p&gt;Regards.&lt;/p&gt;</description><author>EyalShilony</author><pubDate>Fri, 27 Jun 2008 08:55:44 GMT</pubDate><guid isPermaLink="false">Commented Issue: Invalid operation exception with VS2008RTM 20080627085544A</guid></item><item><title>Created Issue: VS2008 Exception: System.InvalidOperationException</title><link>http://www.codeplex.com/VSCmdShell/WorkItem/View.aspx?WorkItemId=17183</link><description>Hello,&lt;br /&gt;</description><author>EyalShilony</author><pubDate>Fri, 27 Jun 2008 08:52:51 GMT</pubDate><guid isPermaLink="false">Created Issue: VS2008 Exception: System.InvalidOperationException 20080627085251A</guid></item><item><title>COMMENTED ISSUE: In x64  Vista and VS2008 the command shell does not launch cmd.exe</title><link>http://www.codeplex.com/VSCmdShell/WorkItem/View.aspx?WorkItemId=14645</link><description>In the above mentioned config, the command shell is empty and does not shouw up the cmd prompt. The powershell seems to work fine. After the first command is entered it just hangs VS&lt;br /&gt;Comments: ** Comment from web user: bamueller ** &lt;p&gt;I am running Windows Server 2008 &amp;#40;x64&amp;#41; and VS 2008. I can click on the VSCmdShell, but it appears empty &amp;#40;blank&amp;#41; and as soon as I press the &amp;#34;enter&amp;#34; key within the blank window, I get a fatal VS error that causes a reset.&lt;/p&gt;&lt;p&gt;Problem signature&amp;#58;&lt;br /&gt;  Problem Event Name&amp;#58;&amp;#9;CLR20r3&lt;br /&gt;  Problem Signature 01&amp;#58;&amp;#9;devenv.exe&lt;br /&gt;  Problem Signature 02&amp;#58;&amp;#9;9.0.21022.8&lt;br /&gt;  Problem Signature 03&amp;#58;&amp;#9;47317b3d&lt;br /&gt;  Problem Signature 04&amp;#58;&amp;#9;Microsoft.VSPowerToys.VSCmdShell&lt;br /&gt;  Problem Signature 05&amp;#58;&amp;#9;1.1.0.0&lt;br /&gt;  Problem Signature 06&amp;#58;&amp;#9;474df095&lt;br /&gt;  Problem Signature 07&amp;#58;&amp;#9;9f&lt;br /&gt;  Problem Signature 08&amp;#58;&amp;#9;19&lt;br /&gt;  Problem Signature 09&amp;#58;&amp;#9;System.InvalidOperationException&lt;br /&gt;  OS Version&amp;#58;&amp;#9;6.0.6001.2.1.0.274.10&lt;br /&gt;  Locale ID&amp;#58;&amp;#9;1033&lt;/p&gt;&lt;p&gt;Additional information about the problem&amp;#58;&lt;br /&gt;  LCID&amp;#58;&amp;#9;1033&lt;/p&gt;</description><author>bamueller</author><pubDate>Fri, 02 May 2008 20:02:38 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: In x64  Vista and VS2008 the command shell does not launch cmd.exe 20080502080238P</guid></item><item><title>CREATED ISSUE: Invalid operation exception with VS2008RTM</title><link>http://www.codeplex.com/VSCmdShell/WorkItem/View.aspx?WorkItemId=15495</link><description>Freshly installed XPSP2, VS2008ProRTM, VSSDK, MSDN for VS2008, PlatformSDK6.1&lt;br /&gt;Installed VS Command Shell.&lt;br /&gt;In shell&amp;#58; &amp;#33;Help.About&lt;br /&gt;Close Help&amp;#124;About with OK button.&lt;br /&gt;&amp;#42;twiddle&amp;#42;&lt;br /&gt;&amp;#34;Microsoft Visual Studio has encountered a problem ...&amp;#34;&lt;br /&gt;&lt;br /&gt;Details say it&amp;#39;s an invalid operation exception in microsoft.powertoys.vscmdshell&lt;br /&gt;</description><author>glundberg</author><pubDate>Fri, 07 Mar 2008 08:03:13 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: Invalid operation exception with VS2008RTM 20080307080313A</guid></item><item><title>CREATED ISSUE: In x64  Vista and VS2008 the command shell does not launch cmd.exe</title><link>http://www.codeplex.com/VSCmdShell/WorkItem/View.aspx?WorkItemId=14645</link><description>In the above mentioned config, the command shell is empty and does not shouw up the cmd prompt. The powershell seems to work fine. After the first command is entered it just hangs VS&lt;br /&gt;</description><author>pmural1</author><pubDate>Sun, 06 Jan 2008 23:11:36 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: In x64  Vista and VS2008 the command shell does not launch cmd.exe 20080106111136P</guid></item><item><title>CREATED ISSUE: In VS2008, VSCmdShell opens cmd.exe with the VS2005 environment</title><link>http://www.codeplex.com/VSCmdShell/WorkItem/View.aspx?WorkItemId=14508</link><description>I have both VS2005 and VS2008 installed, and VSCmdShell works fine in both, except the cmd.exe prompt in VS2008 loads the VS2005 environment, instead of the VS2008 environment. This appears to be hardcoded &amp;#40;I&amp;#39;ve had a look at the source code&amp;#41;.&lt;br /&gt;&lt;br /&gt;A solution could be based on the fact that the DTE object exposes a member, Version, which should return &amp;#34;8.0&amp;#34; when running under VS2005 and &amp;#34;9.0&amp;#34; when running under VS2008. This could be used to load the correct environment depending on Visual Studio version.&lt;br /&gt;</description><author>hognef</author><pubDate>Fri, 21 Dec 2007 10:40:27 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: In VS2008, VSCmdShell opens cmd.exe with the VS2005 environment 20071221104027A</guid></item><item><title>CLOSED ISSUE: Does not install with only VS2008 installed on system</title><link>http://www.codeplex.com/VSCmdShell/WorkItem/View.aspx?WorkItemId=13032</link><description>I have only VS2005 express and VS2008 &amp;#34;orcas&amp;#34; beta2 installed.  Installer refuses to install VS Command Shell.&lt;br /&gt;Comments: This issue is fixed with the new release.</description><author>bertanaygun</author><pubDate>Thu, 29 Nov 2007 02:02:25 GMT</pubDate><guid isPermaLink="false">CLOSED ISSUE: Does not install with only VS2008 installed on system 20071129020225A</guid></item><item><title>CREATED ISSUE: Does not install with only VS2008 installed on system</title><link>http://www.codeplex.com/VSCmdShell/WorkItem/View.aspx?WorkItemId=13032</link><description>I have only VS2005 express and VS2008 &amp;#34;orcas&amp;#34; beta2 installed.  Installer refuses to install VS Command Shell.&lt;br/&gt;</description><author>ozz</author><pubDate>Mon, 01 Oct 2007 02:05:34 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: Does not install with only VS2008 installed on system 20071001020534A</guid></item><item><title>CREATED ISSUE: Shell host loading error</title><link>http://www.codeplex.com/VSCmdShell/WorkItem/View.aspx?WorkItemId=12325</link><description>Error&amp;#58; Assembly C&amp;#59;&amp;#92;Program Files&amp;#92;Power Toys for Visual Studio&amp;#92;Microsoft.VSPowerToys.VSCmdShell.PowerShellHost.dll could not be loaded. Error was&amp;#58; &amp;#92;nAssembly could not be loaded because of an unknown error.&lt;br /&gt;&lt;br /&gt;Also version number is given as 1.1 in the Addins Manager dialog.&lt;br /&gt;&lt;br /&gt;Best of luck fixing these...&lt;br/&gt;</description><author>DannyAsher</author><pubDate>Mon, 20 Aug 2007 15:27:40 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: Shell host loading error 20070820032740P</guid></item><item><title>COMMENTED ISSUE: VSCmdShell crashes Visual Studio, no error message</title><link>http://www.codeplex.com/VSCmdShell/WorkItem/View.aspx?WorkItemId=4521</link><description>OK, so here's the deal:&lt;br/&gt;I installed VSCmdShell and tried to get it to work with Windows Powershell.  For some reason, Powershell wasn't showing up in the list of available shells.  So, I selected browse for shell and tried each of the 3 DLLs that are recognized by VSCmdShell in the powershell directory.  Each one gave me a failure.  So I exited VS and when I restarted it and went to goto options (to switch vscmdshell to cmd.exe) VS 2005 crashed to the desktop with no errors, and nothing in the event viewer.  I uninstalled VSCmdShell and even tried removing all references to it in the registry.  After uninstall, "Power Toys" does not show up in my "options" dialog box.  When I reinstall it, "Power Toys" DOES show up.  But it STILL crashes.  Where is it saving this corrupted data?(i think its trying to load the wrong shell) because I cannot reset it!  I attached the debugger to VS 2005 before I crashed it by trying to change the powertoys options.  Except for the "symbols not found" messages, below is the output from the debugger:&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll&lt;br/&gt;A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll&lt;br/&gt;'devenv.exe' (Managed): Loaded 'eelfkubc', No symbols loaded.&lt;br/&gt;A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll&lt;br/&gt;'devenv.exe' (Managed): Loaded 'qr6ihisx', No symbols loaded.&lt;br/&gt;A first chance exception of type 'System.NullReferenceException' occurred in Microsoft.VSPowerToys.VSCmdShell.dll&lt;br/&gt;A first chance exception of type 'System.OutOfMemoryException' occurred in System.Windows.Forms.dll&lt;br/&gt;The program '[1184] devenv.exe: Managed' has exited with code -1073741795 (0xc000001d).&lt;br/&gt;Comments: ** Comment from web user: DannyAsher ** &lt;p&gt;I get similar behaviour as Simon Ams, i.e. the error message &amp;#34;Assembly C&amp;#58;&amp;#92;Program Files&amp;#92;Power Toys for Visual Studio&amp;#92;VSCmdShell&amp;#92;Microsoft.VSPowerToys.VSCmdShell.PowerShellHost.dll could not be loaded. Error was&amp;#58; &amp;#92;nAssembly could not be loaded because of an unknown error.&amp;#34;&lt;/p&gt;&lt;p&gt;I could not find a user.config file in &amp;#37;AppData&amp;#37; but did notice that &amp;#9;&lt;br/&gt;&amp;#60;Addin&amp;#62;&lt;br/&gt;    &amp;#60;FriendlyName&amp;#62;VSCmdShell 1.1&amp;#60;&amp;#47;FriendlyName&amp;#62;&lt;/p&gt;&lt;p&gt;was incorrect.&lt;/p&gt;&lt;p&gt;I&amp;#39;m using VS2005 Team Edition for Software Devs with SP1&lt;br/&gt;&lt;/p&gt;</description><author>DannyAsher</author><pubDate>Wed, 04 Jul 2007 10:44:17 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: VSCmdShell crashes Visual Studio, no error message 20070704104417A</guid></item><item><title>COMMENTED ISSUE: VSCmdShell crashes Visual Studio, no error message</title><link>http://www.codeplex.com/VSCmdShell/WorkItem/View.aspx?WorkItemId=4521</link><description>OK, so here's the deal:
I installed VSCmdShell and tried to get it to work with Windows Powershell.  For some reason, Powershell wasn't showing up in the list of available shells.  So, I selected browse for shell and tried each of the 3 DLLs that are recognized by VSCmdShell in the powershell directory.  Each one gave me a failure.  So I exited VS and when I restarted it and went to goto options (to switch vscmdshell to cmd.exe) VS 2005 crashed to the desktop with no errors, and nothing in the event viewer.  I uninstalled VSCmdShell and even tried removing all references to it in the registry.  After uninstall, "Power Toys" does not show up in my "options" dialog box.  When I reinstall it, "Power Toys" DOES show up.  But it STILL crashes.  Where is it saving this corrupted data?(i think its trying to load the wrong shell) because I cannot reset it!  I attached the debugger to VS 2005 before I crashed it by trying to change the powertoys options.  Except for the "symbols not found" messages, below is the output from the debugger:


A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
'devenv.exe' (Managed): Loaded 'eelfkubc', No symbols loaded.
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
'devenv.exe' (Managed): Loaded 'qr6ihisx', No symbols loaded.
A first chance exception of type 'System.NullReferenceException' occurred in Microsoft.VSPowerToys.VSCmdShell.dll
A first chance exception of type 'System.OutOfMemoryException' occurred in System.Windows.Forms.dll
The program '[1184] devenv.exe: Managed' has exited with code -1073741795 (0xc000001d). Comments: ** Comment from web user: simon_ams ** &lt;p&gt;Same thing happened to me when I tried selecting the Microsoft.VSPowerToys.VSCmdShell.Interfaces.dll assembly as the selected shell.&lt;/p&gt;&lt;p&gt;The suggested Microsoft.VSPowerToys.VSCmdShell.PowerShellHost.dll assembly does not work.&lt;br/&gt;I get the error message&amp;#58;&lt;br/&gt;Assembly C&amp;#58;&amp;#92;Program Files&amp;#92;Power Toys for Visual Studio&amp;#92;VSCmdShell&amp;#92;Microsoft.VSPowerToys.VSCmdShell.PowerShellHost.dll could not be loaded. Error was&amp;#58; &amp;#92;nAssembly could not be loaded because of an unknown error.&lt;br/&gt;&lt;/p&gt;</description><author>simon_ams</author><pubDate>Tue, 12 Jun 2007 06:37:15 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: VSCmdShell crashes Visual Studio, no error message 20070612063715A</guid></item><item><title>CLOSED ISSUE: PowerShellHost is not compatible with PowerShell RC2</title><link>http://www.codeplex.com/VSCmdShell/WorkItem/View.aspx?WorkItemId=5175</link><description>Current PowerShell host is only compatible with RC1 release of PowerShell. If a user has RC2 installed, PowerShellHost could not be loaded due to interface changes. </description><author>mattgollob</author><pubDate>Sat, 05 May 2007 23:26:08 GMT</pubDate><guid isPermaLink="false">CLOSED ISSUE: PowerShellHost is not compatible with PowerShell RC2 20070505112608P</guid></item><item><title>COMMENTED ISSUE: PowerShellHost is not compatible with PowerShell RC2</title><link>http://www.codeplex.com/VSCmdShell/WorkItem/View.aspx?WorkItemId=5175</link><description>Current PowerShell host is only compatible with RC1 release of PowerShell. If a user has RC2 installed, PowerShellHost could not be loaded due to interface changes. Comments: ** Comment from web user: mattgollob ** &lt;p&gt;Resolved with changeset 21977.&lt;/p&gt;</description><author>mattgollob</author><pubDate>Sat, 05 May 2007 23:26:02 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: PowerShellHost is not compatible with PowerShell RC2 20070505112602P</guid></item><item><title>CLOSED ISSUE: VS Command "Intellisense" turns off if you mistype</title><link>http://www.codeplex.com/VSCmdShell/WorkItem/View.aspx?WorkItemId=2771</link><description>If you are using a VS command from the command shell and you type a string that doesn’t fit with the “intellisense” style pop-up to the point that the pop-up goes away, backspacing does not bring the intellisense window back.  The desired behavior is that it should.

For example, if I type:

!File.Open3

…the Intellisense window will be open until I hit the “3” key, and then it will go away.  If I hit backspace, the window won’t re-popup unless I go back to the beginning of the line and enter an “!” again. </description><author>mattgollob</author><pubDate>Sat, 05 May 2007 23:19:58 GMT</pubDate><guid isPermaLink="false">CLOSED ISSUE: VS Command "Intellisense" turns off if you mistype 20070505111958P</guid></item><item><title>COMMENTED ISSUE: PowerShellHost is not compatible with PowerShell RC2</title><link>http://www.codeplex.com/VSCmdShell/WorkItem/View.aspx?WorkItemId=5175</link><description>Current PowerShell host is only compatible with RC1 release of PowerShell. If a user has RC2 installed, PowerShellHost could not be loaded due to interface changes. Comments: ** Comment from web user: stimpy77 ** &lt;p&gt;Same seems to be true of PowerShell RTM&amp;#33;&amp;#33; This is RTM, guys, RTM has been out for months now.&lt;/p&gt;</description><author>stimpy77</author><pubDate>Wed, 02 May 2007 18:00:09 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: PowerShellHost is not compatible with PowerShell RC2 20070502060009P</guid></item><item><title>CLOSED ISSUE: Race condition in CommandShellHost when shell is restarted</title><link>http://www.codeplex.com/VSCmdShell/WorkItem/View.aspx?WorkItemId=9644</link><description>When the CommandShellHost (cmd.exe) is restarted (or when switching from CommandShellHost to PowerShellHost), a race condition develops around asynchronous I/O for stderr and stdout.

Steps to reproduce:

Scenario 1 (Restart CommandShellHost):
1.  Start the VsCmdShell Window using the cmd.exe shell.
2.  Right-click in the VsCmdShellWindow and choose "Restart Shell" from the context menu.

Scenario 2 (Switch to a different IShellHost implementation, like PowerShellHost):
1.  Start the VsCmdShell Window using the cmd.exe shell, or switch to the cmd.exe.
2.  Right-click in the VsCmdShellWindow and choose "Options".
3.  In the Power Toys/VsCmdShell section, change the "Shell Selection" dropdown to a host other than "Windows Command Shell (cmd.exe)".
4.  Click OK on the Options Dialog.
5.  Dismiss the VSCmdShell message box instructing you to restart the shell for the change to take effect.
6.  Right-click in the VsCmdShell window and choose "Restart Shell"

In either scenario, the CPU will race in the devenv.exe process.  Setting breakpoints in CommandShellHost.ErrorBeginRead(), CommandShellHost.OutputBeginRead(), CommandShellHost.OnErrorInput() and CommandShellHost.OnOutputInput() will reveal an extremely tight call loop that is causing the race condition. </description><author>mattgollob</author><pubDate>Sat, 14 Apr 2007 21:57:43 GMT</pubDate><guid isPermaLink="false">CLOSED ISSUE: Race condition in CommandShellHost when shell is restarted 20070414095743P</guid></item><item><title>REOPENED ISSUE: Race condition in CommandShellHost when shell is restarted</title><link>http://www.codeplex.com/VSCmdShell/WorkItem/View.aspx?WorkItemId=9644</link><description>When the CommandShellHost (cmd.exe) is restarted (or when switching from CommandShellHost to PowerShellHost), a race condition develops around asynchronous I/O for stderr and stdout.

Steps to reproduce:

Scenario 1 (Restart CommandShellHost):
1.  Start the VsCmdShell Window using the cmd.exe shell.
2.  Right-click in the VsCmdShellWindow and choose "Restart Shell" from the context menu.

Scenario 2 (Switch to a different IShellHost implementation, like PowerShellHost):
1.  Start the VsCmdShell Window using the cmd.exe shell, or switch to the cmd.exe.
2.  Right-click in the VsCmdShellWindow and choose "Options".
3.  In the Power Toys/VsCmdShell section, change the "Shell Selection" dropdown to a host other than "Windows Command Shell (cmd.exe)".
4.  Click OK on the Options Dialog.
5.  Dismiss the VSCmdShell message box instructing you to restart the shell for the change to take effect.
6.  Right-click in the VsCmdShell window and choose "Restart Shell"

In either scenario, the CPU will race in the devenv.exe process.  Setting breakpoints in CommandShellHost.ErrorBeginRead(), CommandShellHost.OutputBeginRead(), CommandShellHost.OnErrorInput() and CommandShellHost.OnOutputInput() will reveal an extremely tight call loop that is causing the race condition. Comments: ** Comment from web user: mattgollob ** &lt;p&gt;Needs to be assigned to a release&lt;/p&gt;</description><author>mattgollob</author><pubDate>Sat, 14 Apr 2007 19:44:21 GMT</pubDate><guid isPermaLink="false">REOPENED ISSUE: Race condition in CommandShellHost when shell is restarted 20070414074421P</guid></item><item><title>COMMENTED ISSUE: Race condition in CommandShellHost when shell is restarted</title><link>http://www.codeplex.com/VSCmdShell/WorkItem/View.aspx?WorkItemId=9644</link><description>When the CommandShellHost (cmd.exe) is restarted (or when switching from CommandShellHost to PowerShellHost), a race condition develops around asynchronous I/O for stderr and stdout.

Steps to reproduce:

Scenario 1 (Restart CommandShellHost):
1.  Start the VsCmdShell Window using the cmd.exe shell.
2.  Right-click in the VsCmdShellWindow and choose "Restart Shell" from the context menu.

Scenario 2 (Switch to a different IShellHost implementation, like PowerShellHost):
1.  Start the VsCmdShell Window using the cmd.exe shell, or switch to the cmd.exe.
2.  Right-click in the VsCmdShellWindow and choose "Options".
3.  In the Power Toys/VsCmdShell section, change the "Shell Selection" dropdown to a host other than "Windows Command Shell (cmd.exe)".
4.  Click OK on the Options Dialog.
5.  Dismiss the VSCmdShell message box instructing you to restart the shell for the change to take effect.
6.  Right-click in the VsCmdShell window and choose "Restart Shell"

In either scenario, the CPU will race in the devenv.exe process.  Setting breakpoints in CommandShellHost.ErrorBeginRead(), CommandShellHost.OutputBeginRead(), CommandShellHost.OnErrorInput() and CommandShellHost.OnOutputInput() will reveal an extremely tight call loop that is causing the race condition. Comments: ** Comment from web user: mattgollob_cp ** &lt;p&gt;&lt;/p&gt;</description><author>mattgollob</author><pubDate>Sat, 14 Apr 2007 19:44:20 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: Race condition in CommandShellHost when shell is restarted 20070414074420P</guid></item><item><title>CLOSED ISSUE: Race condition in CommandShellHost when shell is restarted</title><link>http://www.codeplex.com/VSCmdShell/WorkItem/View.aspx?WorkItemId=9644</link><description>When the CommandShellHost (cmd.exe) is restarted (or when switching from CommandShellHost to PowerShellHost), a race condition develops around asynchronous I/O for stderr and stdout.

Steps to reproduce:

Scenario 1 (Restart CommandShellHost):
1.  Start the VsCmdShell Window using the cmd.exe shell.
2.  Right-click in the VsCmdShellWindow and choose "Restart Shell" from the context menu.

Scenario 2 (Switch to a different IShellHost implementation, like PowerShellHost):
1.  Start the VsCmdShell Window using the cmd.exe shell, or switch to the cmd.exe.
2.  Right-click in the VsCmdShellWindow and choose "Options".
3.  In the Power Toys/VsCmdShell section, change the "Shell Selection" dropdown to a host other than "Windows Command Shell (cmd.exe)".
4.  Click OK on the Options Dialog.
5.  Dismiss the VSCmdShell message box instructing you to restart the shell for the change to take effect.
6.  Right-click in the VsCmdShell window and choose "Restart Shell"

In either scenario, the CPU will race in the devenv.exe process.  Setting breakpoints in CommandShellHost.ErrorBeginRead(), CommandShellHost.OutputBeginRead(), CommandShellHost.OnErrorInput() and CommandShellHost.OnOutputInput() will reveal an extremely tight call loop that is causing the race condition. Comments: Resolved with changeset 21172.</description><author>mattgollob</author><pubDate>Sat, 14 Apr 2007 08:31:22 GMT</pubDate><guid isPermaLink="false">CLOSED ISSUE: Race condition in CommandShellHost when shell is restarted 20070414083122A</guid></item></channel></rss>