-
Notifications
You must be signed in to change notification settings - Fork 1
Building WPR
Warning
WPR is currently in active alpha development.
Build instructions and dependencies may change frequently.
Before building WPR, ensure the following tools are installed.
| Requirement | Notes |
|---|---|
| .NET 8 SDK | Required |
| Git | Required |
| Rider or Visual Studio | Recommended |
| Android SDK | Required for Android builds |
| Android Workload | Required for Android builds |
| Vulkan Drivers | Recommended |
WPR is primarily developed using:
- Rider
- .NET 8
- Avalonia UI
Visual Studio should also work for desktop development.
Clone the repository using Git:
git clone https://github.com/Bubbleshum/WPR.git
cd WPRRestore required NuGet packages:
dotnet restoreBuild the desktop version using:
dotnet builddotnet build -c ReleaseRun directly using:
dotnet runOr launch the compiled executable from the build output directory.
Android support is currently experimental.
Install the required .NET Android workload:
dotnet workload install androidEnsure the Android SDK is installed and configured correctly.
Required components typically include:
- Android SDK Platform
- Build Tools
- Platform Tools
Build the Android version using:
dotnet build -f net8.0-androidAfter building:
- Install the generated APK
- Grant storage permissions if prompted
- Launch WPR
Rider is the recommended IDE for WPR development.
- Avalonia support
- Android support
- .NET debugging
- Vulkan debugging tools
- Git integration
Visual Studio can also be used for development.
Recommended workloads:
- .NET Desktop Development
- Mobile Development with .NET
Some rendering paths rely on Vulkan support.
Recommended:
- updated GPU drivers
- Vulkan-capable hardware
Install using:
dotnet workload install androidEnsure:
- .NET 8 SDK is installed
- Android SDK paths are configured correctly
- environment variables are valid
Possible causes:
- outdated GPU drivers
- unsupported hardware
- missing Vulkan runtime
Try:
dotnet restoreor:
dotnet clean
dotnet restoreCurrent primary targets include:
| Target | Status |
|---|---|
| Windows Desktop | ✅ Active |
| Android | ✅ Experimental |
| Linux |
Useful debugging approaches include:
- console output
- Rider debugger
- Visual Studio debugger
- Vulkan validation layers
- Android logcat
Logging support is still evolving during alpha development.
Useful information when debugging includes:
- stack traces
- console output
- device information
- GPU information
If you plan to contribute:
- keep pull requests focused
- test your changes
- follow existing code style
- document unusual behaviour
See:
WPR changes rapidly during development.
To update your local repository:
git pullYou may also occasionally need to:
- clean the solution
- restore packages again
- rebuild completely
Thank you for helping develop and preserve Windows Phone gaming ❤️