Convert project .dsw from VS 6 to VS 2005 from command-line
-
Thursday, August 31, 2006 7:09 PM
Hi,
I was wondering how to compile a .dsw project written in Visual Studio 6 in Visual Studio 2005 from the command-line. The GUI would give me an option to convert but I need to use the command-line in Dos to compile from a script. When I try to use devenv project.dsw /upgrade, it just doesn't work. It prompted me to convert the project first.
Does anyone know how to force it or work around?
Is there a tool to convert to VC 2005 automatically without using GUI?
Thanks.
Answers
-
Thursday, August 31, 2006 7:20 PMModerator
I am not really sure about this, but you can use vcbuild / upgrade on the dsp file to convert it to the current project format.
All Replies
-
Thursday, August 31, 2006 7:20 PMModerator
I am not really sure about this, but you can use vcbuild / upgrade on the dsp file to convert it to the current project format. -
Friday, September 01, 2006 2:59 PM
If I convert .dsp to .vcproj and compile the project.vcproj sucessfully. Would this the same as compiling the .sln?
I'm trying to understand the differences and possible effects of the output (.dll) when you compile .vcproj instead of the .slnThanks.
-
Friday, September 01, 2006 6:39 PMModeratorIf it's a single project solution, then yes - it's the same. But a solution can contain more than one project.
-
Friday, September 01, 2006 7:34 PM
Thanks for the helpful info.
According to you, there is no difference between .sln and .vcproj when compiling one project.
I'm just curious how come I can't convert from .dsw to .sln using vcbuild?. However, it would let me to convert from .dsp to .vcproj.
-
Friday, September 01, 2006 7:45 PMModerator
You can use both projects or solutions with VCBuild. It's the command line equivalent of Build project/ Build solution. The dsw can be upgraded to a solution (and I am not sure, but I believe all its .dsps will be converted to corresponding .vcproj files).
-
Sunday, April 29, 2007 8:11 PMI wrote an automated utility that converts VS6 workspaces and projects to VS2005. It's called vsupdate. http://www.shto.org/vsupdate
Enjoy -
Monday, November 12, 2007 11:34 PM
I tried this command: vcbuild.exe xxx.dsw /upgrade
But it does not work!!! Do you know what I could be doing wrong?

