Skip to content

Commit

Permalink
add testing part
Browse files Browse the repository at this point in the history
  • Loading branch information
Doxoh committed Dec 22, 2024
1 parent 201bfd3 commit e4e1f02
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion CONTRIBUTE.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,28 @@ To implement a new `cpp-sdk` change or add a missing implementation, follow thes
9. **Push Changes**
- Push all changes to the `module` branch.

10. **Submit Pull Requests**
10. **Testing**
- To test the changes, use the `build.bat` file in the `runtime/server` folder to generate a `coreclr-module.dll`.
- Place the generated DLL in the server's `modules` folder.
- Build the module project and copy the new module DLLs to the C# resource folder and the project directory of the resource.
```
<ItemGroup>
<Reference Include="AltV.Net">
<HintPath>lib\AltV.Net.dll</HintPath>
</Reference>
<Reference Include="AltV.Net.Async">
<HintPath>lib\AltV.Net.Async.dll</HintPath>
</Reference>
<Reference Include="AltV.Net.Interactions">
<HintPath>lib\AltV.Net.Interactions.dll</HintPath>
</Reference>
<None Update="lib\*.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
```
- Test your changes thoroughly.
- **Clientside cannot be tested yet**
11. **Submit Pull Requests**
- Create separate pull requests for both the `module` branch and the `runtime` branch.

0 comments on commit e4e1f02

Please sign in to comment.