Compiling under VS2003: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎top: clean up, added underlinked tag)
(Add Template:Outdated sdk, link to related compiler articles, remove underlinked notice)
Line 1: Line 1:
{{Underlinked|date=January 2024}}
{{Outdated sdk|{{src07|4.1}}|newer-sdk-equivalent=[[Compiler choices]]}}
{{lang|Compiling under VS2003}}
{{lang|Compiling under VS2003}}
{{toc-right}}
{{toc-right}}
Line 14: Line 14:
* Choose ''Rebuild Solution'' from the ''Build'' menu.
* 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'''.
* 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'''.
== See also ==
*[[Compiling under VS2002]]
*[[Compiling under VS2005]]


[[Category:Tutorials]]
[[Category:Tutorials]]
[[Category:Programming]]
[[Category:Programming]]

Revision as of 09:02, 26 July 2024

Ambox warning yellow.png
This page was written for Source 2007 Source 2007 or earlier. It may not be applicable to newer versions of the Source SDK.
For more up-to-date information, see Compiler choices.
English (en)Русский (ru)Translate (Translate)

Introduction

The following is a general guide to getting HL2 compiling under VS 2003.

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.

See also