Home Dashboard Directory Help

Command "Project.UnloadProject" is not available by KevinFitzpatrick


 as Not Reproducible Help for as Not Reproducible

Sign in
to vote
Type: Bug
ID: 766720
Opened: 10/9/2012 6:57:21 AM
Access Restriction: Public
User(s) can reproduce this bug


When trying to edit the project file from within Visual Studio 2012, I am receiving an error message: "Command 'Project.UnloadProject' is not available"
Sign in to post a comment.
Posted by ptl-at-tvwd on 3/4/2013 at 10:35 AM
For anyone else who runs into this: "Edit Project File" is a project context menu item in Solution Explorer added by the Power Tools for Visual Studio extension. If the built-in menu option "Unload Project" is not available in the context menu, you get this error message. I ran into this when trying to edit a bunch of single-project helper solutions - the option to unload a project is not available in a single-project solution. See workarounds for the one i found.
Posted by John Calvert on 2/25/2013 at 12:33 PM
In my case this error arose because I had left VS running the solution but forgot about that. You can't unload a project when VS is debugging. But the error msg could be clearer.
Posted by Microsoft on 10/23/2012 at 4:13 PM
We have not heard back from you for some time and are not able to reproduce the issue with the steps provided so we are resolving the issue. Please reactivate the issue if you can provide more detailed information. Thank you.
Posted by Microsoft on 10/15/2012 at 3:44 PM
We were unable to repro this issue on RTM Visual Studio. Could you please try disabling all extensions and trying this again. From the looks of your screenshot it looks like you have ReSharper enabled. If you no longer see the command, this is likely an issue with the extension that provides that command.
Posted by Microsoft on 10/11/2012 at 1:30 AM
Thank you for submitting feedback on Visual Studio and .NET Framework. Your issue has been routed to the appropriate VS development team for investigation. We will contact you if we require any additional information.
Posted by KevinFitzpatrick on 10/10/2012 at 6:00 AM
I am not sure what you are asking. There are detailed re-poroduction steps in the description, and I have also included the output from running Steps Recorder. I'm afraid I can't be any more clear than this.
Posted by Microsoft on 10/10/2012 at 1:40 AM
Thanks for your feedback.

In order to fix the issue, we must first reproduce the issue in our labs. In order to efficiently investigate and reproduce this issue, we are requesting additional information outlined below.

Could you please tell us that how to get the 'edit project file' menu item so that we can conduct further research?

Please submit this information to us within 3 business days. We look forward to hearing from you with this information.

Microsoft Visual Studio Connect Support Team
Posted by Microsoft on 10/9/2012 at 7:51 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.
Posted by ptl-at-tvwd on 3/4/2013 at 2:54 PM
There's an option in Tools, Options, Projects and Solutions, General to "Always show solution" - check that and the project context menu will show Unload Project and the error won't happen.
Posted by ptl-at-tvwd on 3/4/2013 at 10:38 AM
I found the following workaround in VS 2010. It requires using the Solution Navigator in another extension, the Visual Studio Productivity Power Tools. Here's the link for VS 2010:

In Solution Navigator, right-click on the solution and choose Unload Projects. Right-click on the project and choose Edit [project file].
Posted by John Calvert on 2/25/2013 at 12:33 PM
If VS is debugging the solution, stop debugging.
File Name Submitted By Submitted On File Size  
edit project file error.zip (restricted) 10/9/2012 -