Outfit Tool Host Program Build Instructions
Preparing the Source Code
To begin, you need to obtain the project source code. You can download it in several ways:
Using Git (recommended method): git clone https://github.com/Khorsa/Outfit.git
Or download the source code archive from GitHub and extract it to a convenient directory
After obtaining the source code, ensure the folder structure is correct and contains the main components:
- OutfitTool.sln - solution file
- OutfitTool/ - main host project
- Start/ - application launcher project
- API/ - module interfaces
Environment Requirements
To successfully build the project, the following components must be installed:
- .NET SDK version 6.0 or higher (as the project uses WPF and .NET 6+)
- Visual Studio 2022, Rider, or another IDE with .NET and WPF support
Alternatively: you can use only the .NET CLI without an IDE
You can check the installed .NET version with the command: dotnet --version
Building with an IDE (Visual Studio, Rider, etc.)
Recommended build method for developers:
- Open the solution file OutfitTool.sln in your IDE
- Select "Release" (not Debug) as the build configuration
- Ensure the target platform is set to "Any CPU" or "x64"
- Perform a full solution build (Build -> Build Solution)
- Check the compiler output for any errors
After a successful build, the main files will be located in:
- OutfitTool/bin/Release/net6.0-windows/ - main host files
- Start/bin/Release/net6.0-windows/ - launcher executable
Building with the Command Line
If you prefer using the command line or automation:
- Open a command prompt in the project root directory
- Run the following build commands:
dotnet build "./OutfitTool/OutfitTool.csproj" /p:Configuration=Release
dotnet build "./Start/Start.csproj" /p:Configuration=Release
Important: The Start project depends on OutfitTool, so the build order matters. When building via the solution (.sln), this order is handled automatically.
Verifying the Build
After a successful build, perform the following checks:
- Navigate to the Start/bin/Release/net6.0-windows/ folder
- Run OutfitTool.exe
- Ensure the application starts without errors
- Verify the presence of the system tray icon
- Open the settings and check the interface functionality
Recommendations
- Always build in Release configuration for final builds
- Check that all dependencies are present in the output directory
- Ensure that the outfit.yaml file is created on first launch
- Retain the GNU GPL v3 license when distributing modifications
- Document all changes made
- Test hotkey functionality and system tray integration
Troubleshooting Common Issues
- If the build fails: check your .NET SDK version
- If the application does not start: ensure all DLL files are present
- If modules do not load: check access permissions for the modules folder
- For localization errors: check file encoding and resource availability