Skip to content

Commit

Permalink
Merge pull request #10809 from unoplatform/dev/jela/unit-test-winui
Browse files Browse the repository at this point in the history
fix(XamlReader): Fix invalid Windows.UI lookups
  • Loading branch information
jeromelaban authored Dec 23, 2022
2 parents 1463ec1 + 7aa2f33 commit 8c62ee2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
13 changes: 11 additions & 2 deletions build/ci/.azure-devops-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,18 @@ jobs:
pool:
vmImage: ${{ parameters.vmImage }}

dependsOn: Pipeline_Validations
dependsOn: winui_convert_tree

strategy:
matrix:
Default_Compiler:
UWP:
UNO_UWP_BUILD: true
XAML_FLAVOR_BUILD: UWP
ADDITIONAL_FLAGS: ''

WinUI:
UNO_UWP_BUILD: false
XAML_FLAVOR_BUILD: WinUI
ADDITIONAL_FLAGS: ''

# Keep for future previews
Expand All @@ -35,6 +42,8 @@ jobs:
- checkout: self
clean: true

- template: templates/download-winui-converted-tree.yml

- template: templates/nuget-cache.yml
parameters:
nugetPackages: $(NUGET_PACKAGES)
Expand Down
2 changes: 1 addition & 1 deletion src/Uno.UI/UI/Xaml/Markup/Reader/XamlConstants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ internal static class XamlConstants
public const string BundleResourcePrefix = "ms-appx:///";

public const string RootFoundationNamespace = "Windows.Foundation";
public const string RootWUINamespace = "Windows.UI";
public const string RootWUINamespace = "Windows" + ".UI"; // Keep split for the WinUI conversion tool
public const string RootMUINamespace = "Windows.UI";
public const string BaseXamlNamespace = "Windows.UI.Xaml";
public const string UnoXamlNamespace = "Windows.UI.Xaml";
Expand Down

0 comments on commit 8c62ee2

Please sign in to comment.