Visual Studio 2008 Solution / Project File Conversions And Tricks
-- Ernest Hemingway
I also learned that the conversion process when you load a 2005 Solution and go through the conversion wizard can be quite slow. Here's a neat way to speed it up. Devenv.exe has a /convert flag. So, make a little batch file that looks like this, and save it in your Solution / project folder:
"C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe /convert" %1
To run this, drop into a Command prompt in your solution folder, then type convert mysolutionname.sln or convert myprojectname.csproj
This command line conversion process is humongously faster. When I say "humongously" - I mean it is WAY FASTER!
The differences between .sln files in the two Visual Studio versions are not that great. Same with project files - anything that goes wrong can usually be fixed "by hand".
Hopefully, somebody will come out with a little back-and-forth conversion utility that will retarget a converted to 2008 solution and project files back to 2005.
I'm not gonna write it, but I know somebody will - soon!
BTW, if you are having any installation issues regarding Visual Studio 2008, here is the forum to visit!
Link of the Day:
If you create code-comment documentation (and you certainly should!) then you can't live without Roland Weigelt's GhostDoc. The Visual Studio 2008 Add in is ready. Roland used some of my code (with my happy permission) in an earlier release.
Google Suggest on your Google Home Page:
Google has an experimental page that let's you set your search textbox to display Google-Suggest like matches when you type in a search. Great for SEO keyword suggestions!
/convert is unsupported in VS 2008 RTM
ReplyDeleteUnsupported? Who cares if it's unsupported. It works great. Isn't that the bottom line?
ReplyDeleteOK, so I wrote the utility!
ReplyDeleteI've just completed a utility that will allow you to convert between VS2005 and VS2008 projects. (It just edits the solution and project files... no other conversion is done).
I'd consider it an "advanced beta", but folks are welcome to take a look at the VB2008 source code.
http://home.hot.rr.com/graye/Temp/ProjectConverter.zip