Compiling under VS2003
Jump to navigation
Jump to search
This page was written for 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.
For more up-to-date information, see Compiler choices.
Introduction
The following is a general guide to getting Source 2006 (or earlier) compiling under VS 2003, aswell how to obtain Visual Studio 2003.
Installation
Since Visual Studio .NET 2003 is no longer supported, users will need to download it from Internet Archive.
Note:On Windows 10 and later, Program Compatibility Assistant will pop-up when you trying to install (and run) Visual Studio .NET 2003. You can ignore these but if the program doesn't run, try to disable Program Compatibility Assistant in Windows Services and then run VS2003 again.
Compiling
- Open Microsoft Visual Studio .NET 2003.
- Choose Open Project from the File menu.
- Navigate to the directory where you installed the source code. In our example, it would be C:\MyMod\Src.
- Open the game_sdk.sln file.
- Choose Rebuild Solution from the Build menu.
- Wait for the source code to build. You should now have two DLLs in your C:\Steam\SteamApps\SourceMods\MyMod\bin folder (depending on where your Steam is installed and what name you entered for your mod in the Create a Mod dialog). One is called client.dll and the other is called server.dll.