https://github.com/windowsnt/win32_winui
A tool to convert your Win32 VS projects to WinUI
https://github.com/windowsnt/win32_winui
Last synced: 9 months ago
JSON representation
A tool to convert your Win32 VS projects to WinUI
- Host: GitHub
- URL: https://github.com/windowsnt/win32_winui
- Owner: WindowsNT
- License: mit
- Created: 2024-01-21T00:12:14.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-09T06:54:45.000Z (over 2 years ago)
- Last Synced: 2025-04-04T12:51:11.230Z (about 1 year ago)
- Language: C++
- Size: 35.2 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Win32 to WinUI
This repository contains a simple Win32 Project ("Win32Project" folder) and a "Converter" tool which will create a Win32ProjectWUI.vcxproj in the same folder, along with extra stuff needed for WinUI3.
# Prepare Win32 Project
1. Convert it to C++17
2. Change stdafx to pch precompiled header. This is not required, but it will save you time because all default Visual Studio generated files use pch.h.
# Run Converter
1. converter input.vcxproj output.vcxproj
This creates a WinUI3 projects from an existing project.
# Article
https://www.codeproject.com/Articles/5376106/Convert-a-Win32-project-to-WinUI3-automatically
Read the internals here.