Skip to content

Building from Source

Akram El Assas edited this page Aug 10, 2025 · 2 revisions

Source Code

Servy is available in two versions, each maintained in a separate branch:

  • .NET 8.0 version: located on the main branch
  • .NET Framework 4.8 version: located on the net48 branch

Build Instruction

Requirements

To build and run either version locally, you will need:

  • Visual Studio 2022 (Community, Professional, or Enterprise edition)
  • .NET SDK matching the target version:
    • .NET 8.0 SDK for the main branch
    • .NET Framework 4.8 Developer Pack (included with Visual Studio) for the net48 branch

Steps

  1. Clone the repository:
    git clone https://github.com/aelassas/servy.git
  2. Checkout the desired branch:
    # For .NET 8.0 version  
    git checkout main  
    
    # For .NET Framework 4.8 version  
    git checkout net48  
  3. Open Servy.sln file in Visual Studio 2022
  4. Restore NuGet packages
  5. Build the solution

Running the applications

  • To run the GUI version: set the startup project to app/Servy and run
  • To run the CLI version: set the startup project to app/Servy.CLI and run

Note: You will need to run Visual Studio as Administrator to be able to manage Windows Services.

Clone this wiki locally