From f87d346c38b74c08c49dc95793a81c66e0415421 Mon Sep 17 00:00:00 2001 From: Elwador <75888166+Elwador@users.noreply.github.com> Date: Sat, 5 Oct 2024 16:27:35 +0200 Subject: [PATCH] Created 0 - Build (markdown) --- 0-‐-Build.md | 93 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 0-‐-Build.md diff --git a/0-‐-Build.md b/0-‐-Build.md new file mode 100644 index 0000000..3120c0c --- /dev/null +++ b/0-‐-Build.md @@ -0,0 +1,93 @@ +# Crunchy Downloader Build Guide + +This guide explains how to build and run the Avalonia .NET MVVM application for the Crunchy Downloader project. + +## Important Note + +**I do not provide support for issues encountered when building the project yourself.** + +## Step 1: Create a New Avalonia Project + +1. Open Visual Studio and select **Create a new project**. +2. Choose the **Avalonia MVVM App** template and click **Next**. +3. Set the project name and location to match the repository structure, then click **Create**. + +## Step 3: Configure the `.csproj` File + +Replace the content of the `.csproj` file with the following configuration: + +```xml + + + WinExe + net8.0 + enable + true + app.manifest + true + en + Assets\app_icon.ico + 1.1.1.1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ContentDialogUpdateView.axaml + Code + + + ContentDialogInputLoginView.axaml + Code + + + +``` + +## Step 4: Add Existing Code + +1. Right-click the project in Solution Explorer. +2. Select **Add** -> **Existing Item...** +3. Navigate to the `CRD` folder in the repository and add all `.cs` and `.axaml` files. +4. Ensure that the files are added to the correct folders (`ViewModels`, `Views`, `Models`, etc.). + +## Step 5: Restore and Build + +1. Right-click the solution and select **Restore NuGet Packages**. +2. Make sure all packages are installed successfully. +3. Build the project using **Build** -> **Build Solution**. + +## Step 6: Run the Application + +1. Press `F5` or click **Run** to launch the application. + +## License + +This project is licensed under the [MIT License](LICENSE). +