Compiling under VS2002
Jump to navigation
Jump to search
The Visual Studio project files provided in the Source SDK are VS2003 project files. This page details the changes to these files necessary to allow them to be opened and compiled in Visual Studio 2002.
Open the following files in a text editor and make these three changes:
- For the solution file
src/Game_sdk.sln
change the first line from:
Microsoft Visual Studio Solution File, Format Version 8.00
- to:
Microsoft Visual Studio Solution File, Format Version 7.00
- For the C++ project file
src/cl_dll/client_sdk.vcproj
change the version on line 4 from:
Version="7.10"
- to:
Version="7.00"
- For the C++ project file
src/dlls/hl_sdk.vcproj
change the version on line 4 from:
Version="7.10"
- to:
Version="7.00"
To verify that you have successfully made these changes, open the src/Game_sdk.sln
file in VS2002 and compile the solution.
Alternative
A program on Code Source entitled "Visual Studio Converter 2.0" will also do the trick to convert from 2003 to 2002 VS file format.