Skip to content

Commit

Permalink
Merge pull request unoplatform#15099 from Youssef1313/uwp-conversion-doc
Browse files Browse the repository at this point in the history
docs: Update uwp-conversion.md
  • Loading branch information
jeromelaban authored Jan 17, 2024
2 parents f813e53 + 4d8eba6 commit d90cd05
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/articles/uno-development/uwp-conversion.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ uid: Uno.Contributing.UWPConversion

# Converting the source tree to UWP

The current Uno.UI source tree is based on WinUI, and the CI uses a specific step to generate the UWP compatible API set, and the associated packages.
The current Uno Platform source tree is based on WinUI, and the CI uses a specific step to generate the UWP compatible API set and the associated packages.

## Using the auto-generated synchronized branch

Expand All @@ -17,13 +17,13 @@ You can checkout this branch locally to get started faster.
The conversion process is done as follows, from a clean repository:

- The `Uno.WinUIRevert` is removing and moving folders from the WinUI structure to adjust to the UWP structure
- The `Uno.WinUISyncGenerator` is run to regenerate the whole WinRT/UWP 3.0 API set
- The `Uno.UWPSyncGenerator` is run to regenerate the whole WinRT/UWP API set
- A set of nuspec conversions are performed in `build\Uno.UI.Build.csproj` in the `BuildNuGetPackage` target

To ease the adjustments when conversion issues arise:

- The `UNO_UWP_BUILD` msbuild variable is set to `true` when the tree is "UWP" mode, and undefined when the tree is in UWP mode.
- The `HAS_UNO_UWP` C# constant is defined when the tree is built in UWP mode.
- The `UNO_UWP_BUILD` MSBuild property is set to `true` when the tree is "UWP" mode, and set to `false` when the tree is in WinUI mode.
- The `HAS_UNO_WinUI` C# constant is defined when the tree is built in WinUI mode.

## Converting a local source tree

Expand Down

0 comments on commit d90cd05

Please sign in to comment.