This guide will help you clone the Gml.Client
project from GitHub, set up the development environment, and publish the
project.
Before you begin, ensure that you have the following software installed on your machine:
- Git
- .NET SDK (version 8.0)
- JetBrains Rider
-
Open a terminal.
-
Run the following command to clone the repository:
git clone https://github.com/Gml-Launcher/Gml.Client.git
-
Navigate to the project directory:
cd Gml.Client
-
Open JetBrains Rider.
-
Open the cloned
Gml.Client
project in Rider:- Select
Open
from the welcome screen. - Navigate to the
Gml.Client
project directory and select it.
- Select
-
After the project is loaded, Rider will restore the necessary dependencies. This may take some time.
-
Ensure your project target framework is correctly set to .NET 8.0. You can verify and set the target framework in the
.csproj
file(s) of your projects:<TargetFramework>net8.0</TargetFramework>
-
Build the project by selecting
Build > Build Solution
from the main menu or by pressingCtrl+Shift+B
.
- Ensure the correct startup configuration is selected (typically the main executable project).
- Run the project by selecting
Run > Run
from the main menu or by pressingShift+F10
.
-
Open a terminal.
-
Navigate to the project directory if not already there:
cd Gml.Client
-
Run the publish command using the .NET CLI:
dotnet publish -c Release -o ./publish
This will publish the project in the
Release
configuration to the./publish
directory.
If you'd like to contribute to the project, please fork the repository and create a pull request. Make sure your code adheres to the project's coding standards and passes all the tests.
For any issues or feature requests, you can open an issue on the GitHub Issues page of the repository.
By following the above steps, you should be able to set up, develop, and publish the Gml.Client
project successfully.
Happy coding!