How to debug the code using Visual Studio #17

Open
opened 2025-02-25 12:48:41 +02:00 by metin2025 · 1 comment

I have cloned this repository and downlaoded all necessary dependencies, that includes DXSDK, VCPKG and PackageMakerLite. Managed to get the build.bat to work and generated the dist directory. Is there a way to run the program in Debug mode via Visual Studio? Currently it says "missing DLL file" for some files, like granny2 and SpeedTree:

image
I have cloned this repository and downlaoded all necessary dependencies, that includes DXSDK, VCPKG and PackageMakerLite. Managed to get the build.bat to work and generated the dist directory. Is there a way to run the program in Debug mode via Visual Studio? Currently it says "missing DLL file" for some files, like granny2 and SpeedTree: <img width="2879" alt="image" src="attachments/4fafebf4-8606-4c6c-ba3e-96985a50cf3a">
metin2025 started working 2025-02-25 12:52:52 +02:00
metin2025 worked for 6 seconds 2025-02-25 12:52:58 +02:00
metin2025 deleted spent time 2025-02-25 14:59:25 +02:00
- 6 seconds
Owner

Hi, sorry for the late reply. You can definitely debug the client from within VS - just make sure that you go into the "UserInterface"'s project Properties -> Debugging, and set the current directory:
image

Sadly, there's no way I can save this setting into the .sln files as it's ignored by git, therefore everybody has to set it on their own.

Hi, sorry for the late reply. You can definitely debug the client from within VS - just make sure that you go into the "UserInterface"'s project Properties -> Debugging, and set the current directory: ![image](/attachments/5d435294-7a89-400a-b20e-059bb18d1123) Sadly, there's no way I can save this setting into the .sln files as it's ignored by git, therefore everybody has to set it on their own.
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: metin2/client#17
No description provided.