Updated Easy work on ReGameDLL with Visual Studio (markdown)

Sergey Shorokhov 2023-04-03 21:55:13 +03:00
parent 38cc6bfa97
commit 9e144c41db

@ -6,10 +6,17 @@
4. Set the following properties for the ReGameDLL project: 4. Set the following properties for the ReGameDLL project:
Platform Toolset: `v143` (or any available, if newer). Apply these changes to all project configurations (Debug*, Release*). Platform Toolset: `v143` (or any available, if newer). Apply these changes to all project configurations (Debug*, Release*).
![image](https://user-images.githubusercontent.com/18553678/229598495-3f9572a5-bcb4-46a3-8811-6f37e01e1357.png) ![image](https://user-images.githubusercontent.com/18553678/229598495-3f9572a5-bcb4-46a3-8811-6f37e01e1357.png)
Or apply the proposed `Review Solution Actions`
![image](https://user-images.githubusercontent.com/18553678/229599593-5c0d86c7-90e1-41bf-9c55-5e06f8303295.png)
### Set the output directory for `mp.dll` ### Set the output directory for `mp.dll` (optional)
Create a new file `regamedll\msvc\PublishPath.txt` with the following contents: Create a new file `regamedll\msvc\PublishPath.txt` with the following contents:
``` ```
C:\Program Files (x86)\Steam\steamapps\common\Half-Life\cstrike\dlls C:\Program Files (x86)\Steam\steamapps\common\Half-Life\cstrike\dlls
``` ```
The compiled library `mp.dll` will be located at the specified path when building the project again. The compiled library `mp.dll` will be located at the specified path when building the project again.
### Building (compiling) a project
Select the ReGameDLL project, click `Build`. Successful compilation will be reported in the output window, indicating the location of the output file `mp.dll`.
![image](https://user-images.githubusercontent.com/18553678/229600652-05ba22ad-310c-4feb-9cec-a51fb340c1dd.png)