Compiling under VS2002

From Valve Developer Community
Jump to: navigation, search
English (en)Русский (ru)中文 (zh)Translate (Translate)
Visual Studio compilers: edit
Ambox warning yellow.png
This page was written for Source 2006 Source 2006 or earlier. It may not be applicable to newer versions of the Source SDK.
For more up-to-date information, see Compiler choices.

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.

Note.pngNote:These code patches are not supplied or maintained by Valve and are not officially supported.

Changes

Edit listed files in a text editor.

To verify that you have successfully made these changes, open the src/Game_sdk.sln file in VS2002 and compile the solution.

src/Game_sdk.sln

Microsoft Visual Studio Solution File, Format Version 8.00
Microsoft Visual Studio Solution File, Format Version 7.00

src/cl_dll/client_sdk.vcproj & src/dlls/hl_sdk.vcproj

Version="7.10"
Version="7.00"

Patch

Download this to fix VS2002 compile errors.

See also