How to launch correct VS version when double-clicking csproj file?

Giganews Newsgroups
Subject: How to launch correct VS version when double-clicking csproj file?
Posted by:  Dean Wiles (deanwil…@discussions.microsoft.com)
Date: Thu, 17 Apr 2008

We are converting from Visual Studio 2003 to 2008, but for some time we will
be supporting both environments (too many projects to convert at once). When
a VS 2003 csproj file is double-clicked it always launches the VS 2008
Conversion Wizard, but we'd like it to just launch VS 2003 as it did before
upgrading. We get the desired behavior when double-clicking an sln file (it
loads the appropriate VS 2003 or VS 2008 ide), but we'd like the same
behavior for csproj files.

Side note, we usually launch via csproj instead of sln because of a VS 2003
problem when building using the devenv command line that would frequently
load/compile the wrong csproj file if a different sln file was in the
proximity.

Thanks.
Dean

Replies