Compiling under VS2003: Difference between revisions
Jump to navigation
Jump to search
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.
(Made this so that the outdated Installing and Compiling page could be updated the right way) |
No edit summary |
||
(7 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{toc | {{LanguageBar}}{{TabsBar|main=Visual Studio}} | ||
{{Outdated sdk|{{src06|4.1}}|newer-sdk-equivalent=[[Compiler choices]]}} | |||
{{toc-right}} | |||
== Introduction == | == Introduction == | ||
The following is a general guide to getting [[ | The following is a general guide to getting {{Src06|4}} (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. | |||
* [https://archive.org/details/microsoft-visual-studio-.-net-2003-professional-disc-1 Disc 1] | |||
* [https://archive.org/details/microsoft-visual-studio-.-net-2003-professional-disc-2 Disc 2] | |||
* [https://archive.org/details/Visual-Studio-.NET-2003-SP-1 Service Pack 1] | |||
{{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 == | == Compiling == | ||
Line 12: | Line 22: | ||
* 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:Programming]] |
Latest revision as of 00:00, 23 September 2024

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.

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.