This project is read-only.
1

Resolved

Shell context menu does not support a Visual Studio 2008 sln file which contains a vcproj file

description

Right-mouse clicking on a Visual Studio 2008 sln file which contains a vcproj file produces the following exception:
 
Microsoft.Build.Exceptions.InvalidProjectFileException: "The project file \"MyProject.vcproj\" is in the \".vcproj\" file format, which MSBuild no longer supports. Please convert the project by opening it in the Visual Studio IDE or running the conversion tool, or use MSBuild 3.5 or earlier to build it."
C:\codeplex\msbuildshellex\trunk\MSBuildShellExtension\Solution.cs
Line 57
 
The exception does not produce any error messages and so the shell context menu simply does not get displayed.
 
As part of this task, I also recommend logging any exceptions to the event viewer for example.

comments

ThomasArdal wrote Jun 10, 2011 at 6:31 AM

Do you have the time to fix it? I'm a bit hung up. Do you have any idea how difficult it would be to fix?

icnocop wrote Jun 13, 2011 at 1:21 AM

Hi Thomas, I will try to get to this issue soon.

We'd have to update MSBuildShellExtension's Solution.cs to support "Microsoft.Build.Construction.SolutionParser, Microsoft.Build, Version=3.5.0.0" for example.

icnocop wrote Jun 27, 2011 at 2:27 AM

Fixed in Changeset #61632 by icnocop on 6/24/2011 6:24 PM

wrote Feb 14, 2013 at 7:27 PM

wrote May 16, 2013 at 10:02 AM

wrote May 16, 2013 at 10:02 AM

wrote Jun 14, 2013 at 8:06 AM