Contribute Your Code
October 12, 2023Open SourceDevelopmentDevelopmentGitHubAbout 2 min
Contribute Your Code
Snap Hutao is developed using C#
and the .NET Framework
for both the desktop client and server. We greatly appreciate feedback from the open-source community. If you are willing to contribute your code, please read the following guidelines.
You can find all unsolved opened issues on GitHub.
Setup Snap Hutao Project
- Download and install Visual Studio
- You need to install the following components:
.NET desktop development
Desktop development with C++
Windows application development
- You need to install the following components:
- Install
Single-project MSIX Packaging Tools for VS 2022
provided by Microsoft from the Visual Studio Marketplace. - Use Git to clone the project repository:
https://github.com/DGP-Studio/Snap.Hutao.git
. - Switch the branch to
develop
. - Open the project solution with Visual Studio, and then you are ready to start developing.
Enable Debug
- Download and install Sysinternals Suite from the Microsoft Store or download it from the Microsoft website.
- Locate and run the
DebugView
program (either in the Start menu or in the unzipped files). - Launch the Snap Hutao main program.
- Observe the debug information output by
DebugView
.
Start Pull Request
- All Pull Requests not initiated from other branches of the project are only allowed to be merged into the
develop
branch. - If your code is related to an existing issue, please use keywords to link your PR to the relevant issue. This will automatically close the issue when the PR is merged into the
main
branch.
Test Binary Package
Attention
If you want to try the latest Alpha version, please download and install DGP_Studio_CA.crt to Trusted Root Certification Authorities first.
- After each
push
, a GitHub Actions script will automatically run to build the latest solution:- For the
main
,develop
, andfeat
branches, the script will automatically upload the builtSnap Hutao Alpha
archive for testing. - Other branches will only verify code buildability and will not provide an upload feature.
- For the
- You can view all build logs in the Alpha pipeline.