Skip to content

Building from Source

Atharv Pawar edited this page Apr 3, 2026 · 1 revision

Building from Source

Prerequisites

  • Windows 10 / 11 (64-bit)
  • .NET 9 SDK
  • Git
  • Visual Studio 2022 or VS Code (optional)

Clone the Repository

git clone https://github.com/atharvpawar16/APDocsStudio.git
cd APDocsStudio

Build

dotnet build APDocsStudio.sln --configuration Release

Run

dotnet run --project APDocsStudio.csproj

Publish (self-contained EXE)

dotnet publish APDocsStudio.csproj --configuration Release --runtime win-x64 --self-contained false --output ./publish

The output will be in the ./publish folder. Run APDocsStudio.exe from there.


Project Structure

APDocsStudio/
├── Program.cs                  # Entry point
├── APDocsStudio.csproj         # Main project file
├── NAPS2.Images/               # Core image processing
├── NAPS2.Images.Gdi/           # GDI+ image backend
├── NAPS2.Internals/            # Shared utilities
├── NAPS2.Sdk/                  # Core document SDK
├── NAPS2.Lib/                  # App logic & UI controllers
├── NAPS2.Lib.WinForms/         # WinForms UI layer
├── NAPS2.Setup/                # App settings
└── landing/                    # Landing page (HTML)

Contributing

  1. Fork the repository
  2. Create a branch: git checkout -b feature/your-feature
  3. Make your changes and commit: git commit -m "feat: add your feature"
  4. Push: git push origin feature/your-feature
  5. Open a Pull Request on GitHub

Clone this wiki locally