November 2007 Entries
The difference between VS2005 and VS2008 Solution files

Hey all,

I've seen a few things going around about this so I'd like to put in my .02c too.

When opening a VS2005 solution in VS2008 their will be an upgrade wizard that will show up.  If you go through the wizard and 'upgrade' the solution/project here is what happens: at the top of solution you just opened the first line will change from

 

Microsoft Visual Studio Solution File, Format Version 9.00

to

Microsoft Visual Studio Solution File, Format Version 10.00

 

That's it, nothing else gets change and you *.vbproj or *.csproj are not affect or modified.  So here is what I recommend you do, make a copy of the SLN file in your working folder can call it something with 2008 in it like Mysolution2008.sln.  Then open with the wizard and upgrade.  Then add to TFS/VSS/SVN/etc and you now can work in either 2005 or 2008 with this file or make the copy and open in notepad.  Make the change I just described (9 to 10) save and then open in VS2008.  Same result it just depends if you want to go through a wizard.

This is great news for most folks that are wondering if then can keep their asset working in both 2005 and 2008.  It's a little awkward but at least you keep every member on your team working with the tool they have.

Oh and there is another solution, you can open a brand new solution in VS2008 and add all you proj file to it.  That also works but if you have a very large SLN it might take more time to do this then copy and edit a 9 to a 10.  Up to you.

 

Update: If you want more in-dept info please consult DJ Park's blog How to use solutions and projects between Visual Studio 2005 and 2008 and as always, open and edit SLN files outside the IDE at your own risk.  Those tips have worked for me.

 

Cheers,

ET

Technorati Tags: ,,
Come chat with the Visual Studio Team System group – December 5th

Join members of the Visual Studio Team System product group to discuss features available in Team Foundation Server, Team Suite, Architecture Edition, Development Edition, Database Edition, and Test Edition. In addition, discuss what's new for these editions for Visual Studio 2008.

We will be holding two sessions:

Join the chat on Wednesday, December 5th, 2007 from 10:00am - 11:00am Pacific Time. Add to Calendar | Additional Time Zones

                -and-

Join the chat on Wednesday, December 5th, 2007 from 4:00pm - 5:00pm Pacific Time. Add to Calendar | Additional Time Zones

 

Cheers,

ET

Technorati Tags: ,,
Get your download engine running, VS/TFS 2008 is now available on MSDN!

Hey all, it's official, VS and TFS 2008 are available today for download, there are so many new things it's hard to do the product justice in a simple blog.  I've had the pleasure of testing and giving Microsoft a lot of feedback on this and future release of VSTS and I'm happy to say they listen to our feedback.  Feel free to send me your comments I'll make sure they are aware of them.

Jeff as a great post on all the new feature available Visual Studio Team System 2008 ships! so go have a look.  Brian also has something to say VS/VSTS/TFS 2008 are Shipping!.

This is also a little stint on Channel 9 for Jeff, Soma and Carol, Soma, Carol Grojean, Jeff Beehler: Visual Studio 2008 RTM!!!

If you do VS 2005 development right now, VS2008 is a side by side install and you can work with you VS 2005 project with no ill affect.  One thing to note, it will ask you to upgrade the project but in reality it only upgrades the sln file.  So my tip to you guys, make a copy of only the sln file and call it something else and open that one.  It will get upgraded but you proj file will stay intact.  This way you can edit them in 08 but still use 05 if you need too (I don't think you will ;-)).

This is a must have version if you do any kind of .NET development.

Cheers,

ET

Technorati Tags: ,,,