Open Email for Windows is built by Windows App SDK and WinUI3. Here are the steps to be able to configure your development environment to build the project properly:
Note
Open Email for Windows requires Visual Studio 2022 or later to build and Windows 10 or later to execute. If you're building an app with WinUI and Windows App SDK for the first time, follow these installation instructions.
Required Visual Studio components:
- Windows application development
Make sure to install this component during Visual Studio 2022 installation.
Currently Open Email for Windows uses WinAppSDK 1.7-experimental2 from channel. This may change in the future once the functionality needed in the application will be released in stable channel.
Click here to go to WinAppSDK downloads page. Locate the version "1.7 Experimental2 (1.7.250109001-experimental2)" and install it.
Go to Visual Studio -> Tools -> Options -> Nuget Package Manager -> Package Sources menu. Add a new nuget source with the following URL:
This will make sure some of the required components from Community Toolkit's experimental channel are imported for project to use.
git clone https://github.com/Open-Email/OpenEmail-Windows.git
You can now proceed to launch OpenEmail.sln. In the Visual Studio, make sure to select Debug configuration with your CPU architecture (x86, x64, ARM64) and OpenEmail (Package) launch option.