TarkLeMonde Posted August 5, 2020 Posted August 5, 2020 (edited) Hi all, Im just started with RageMP Development and have a little Problem with Client debugging. The normal code writting works fine with RAGE, rage-sharp.dll, cs_packages and all the stuff. So if I write something and build, it will work fine in the Client. My Problem is the pure Debugging with set Breakpoint, see Values and all the normal Dev Stuff ^^ Here some information about my dev environment: Source folder is "E:\Projects\RageMp\boc-gta5-ragemp-rpg\Code\Client\BoC-Client" . Here is the git checkout and the Visual Studio 2019 workspace. Game folder is "F:\Games\RAGEMP" The output Folder is not changed inside VS and is still inside the source folder, because I don't want to have all the build folders and stuff there. For this I added a post build action inside the csproj file. <ItemGroup> <MySourceFiles Include=".\**\*.*" Exclude=".\bin\**\*.*; .\obj\**\*.*; .\Properties\**\*.*; .\BoC-Client.csproj"/> </ItemGroup> <Target Name="CopyFiles" AfterTargets="build"> <Copy SourceFiles="@(MySourceFiles)" DestinationFiles="@(MySourceFiles->'F:\Games\RAGEMP\server-files\client_packages\cs_packages\%(RecursiveDir)%(Filename)%(Extension)')" /> </Target> This works great and i get only the raw *.cs files in my cs_packages folder. What I don't get, is a valid Debugging. So I wan't to click on F5 (Run debugging) and Visual Studio do his stuff and debug my Code. I tried to configure it like my Server configuration, but it won't work. When I added the ragemp_v.exe as an executable Programm inside the Debugging Tab "like the ragemp-server.exe" of the Project Properties, Windows shows me a Dialog where he want to save the project, closing VS and start it as a different User again??!!?? I searched tons of hours with google about a turorials or for People who have the same problem, but if I found one, than it will be RageMPVersion 0.3.7 and have mostly no debugging inside....or I found server-side doku.. but this part works fine Have anyone an Idea what I need to do, to get a Client debugging. This will helps me a lot and I can stop my console.log happy debugging. thanks in advance Tark Edited August 5, 2020 by TarkLeMonde 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now