Friday, September 14, 2007

Changing environments from VS.NET 2005 to Visual Web Developer 2005 Express

I have a project I have been messing around with on a USB key. At home I use Visual Studio .NET 2005 (VS.NET), but since I don't have a licensed copy of VS.NET on my work laptop, I have to use Visual Web Developer 2005 Express (VWD) there. I found that once I save my project at home I am unable to open it at work. When VS.NET 2005 saves a solution file (.sln), it will save it in 10.0 format. When VWD attempts to open the solution you get a message saying something like "...this is a solution file, but it was created using a newer version of Visual Studio." While this is true, it doesn't mean I can't fix it. VWD only parses the first line of the solution file to determine its version. By editing the file, I can get it to work in VWD. Just change "Microsoft Visual Studio Solution File, Format Version 10.00" to "Microsoft Visual Studio Solution File, Format Version 9.00" All will be once again be aligned in the universe.

No comments:

Post a Comment