diff --git a/UITests/UITests.Tests.MSTest/UITests.Tests.MSTest.csproj b/UITests/UITests.Tests.MSTest/UITests.Tests.MSTest.csproj index 291ee5c76ad..b060dd32c9f 100644 --- a/UITests/UITests.Tests.MSTest/UITests.Tests.MSTest.csproj +++ b/UITests/UITests.Tests.MSTest/UITests.Tests.MSTest.csproj @@ -15,7 +15,7 @@ - + diff --git a/UnitTests/UnitTests.HighPerformance.NetCore/UnitTests.HighPerformance.NetCore.csproj b/UnitTests/UnitTests.HighPerformance.NetCore/UnitTests.HighPerformance.NetCore.csproj index 2e002b16083..81af94a489d 100644 --- a/UnitTests/UnitTests.HighPerformance.NetCore/UnitTests.HighPerformance.NetCore.csproj +++ b/UnitTests/UnitTests.HighPerformance.NetCore/UnitTests.HighPerformance.NetCore.csproj @@ -12,7 +12,7 @@ - + diff --git a/UnitTests/UnitTests.HighPerformance.UWP/UnitTests.HighPerformance.UWP.csproj b/UnitTests/UnitTests.HighPerformance.UWP/UnitTests.HighPerformance.UWP.csproj index fcf28c49033..51c0f95d1a1 100644 --- a/UnitTests/UnitTests.HighPerformance.UWP/UnitTests.HighPerformance.UWP.csproj +++ b/UnitTests/UnitTests.HighPerformance.UWP/UnitTests.HighPerformance.UWP.csproj @@ -148,6 +148,7 @@ 2.1.2 + 5.0.0 diff --git a/UnitTests/UnitTests.NetCore/UnitTests.NetCore.csproj b/UnitTests/UnitTests.NetCore/UnitTests.NetCore.csproj index 3f7353455ff..c5bcf7a5da4 100644 --- a/UnitTests/UnitTests.NetCore/UnitTests.NetCore.csproj +++ b/UnitTests/UnitTests.NetCore/UnitTests.NetCore.csproj @@ -16,8 +16,8 @@ - - + + diff --git a/UnitTests/UnitTests.Notifications.NetCore/UnitTests.Notifications.NetCore.csproj b/UnitTests/UnitTests.Notifications.NetCore/UnitTests.Notifications.NetCore.csproj index 18a400e4adb..0af83573b18 100644 --- a/UnitTests/UnitTests.Notifications.NetCore/UnitTests.Notifications.NetCore.csproj +++ b/UnitTests/UnitTests.Notifications.NetCore/UnitTests.Notifications.NetCore.csproj @@ -11,7 +11,7 @@ - + diff --git a/UnitTests/UnitTests.Notifications.UWP/UnitTests.Notifications.UWP.csproj b/UnitTests/UnitTests.Notifications.UWP/UnitTests.Notifications.UWP.csproj index a97ae435d52..35fa9601fd3 100644 --- a/UnitTests/UnitTests.Notifications.UWP/UnitTests.Notifications.UWP.csproj +++ b/UnitTests/UnitTests.Notifications.UWP/UnitTests.Notifications.UWP.csproj @@ -122,6 +122,7 @@ 2.1.2 + 4.5.0 diff --git a/UnitTests/UnitTests.SourceGenerators/UnitTests.SourceGenerators.csproj b/UnitTests/UnitTests.SourceGenerators/UnitTests.SourceGenerators.csproj index 6b580aa0997..6fe4ab2d352 100644 --- a/UnitTests/UnitTests.SourceGenerators/UnitTests.SourceGenerators.csproj +++ b/UnitTests/UnitTests.SourceGenerators/UnitTests.SourceGenerators.csproj @@ -8,7 +8,7 @@ - + diff --git a/UnitTests/UnitTests.UWP/App.xaml b/UnitTests/UnitTests.UWP/App.xaml new file mode 100644 index 00000000000..2ba86d0d78a --- /dev/null +++ b/UnitTests/UnitTests.UWP/App.xaml @@ -0,0 +1,59 @@ + + + + + + + + + Cat + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/UnitTests/UnitTests.UWP/UnitTestApp.xaml.cs b/UnitTests/UnitTests.UWP/App.xaml.cs similarity index 89% rename from UnitTests/UnitTests.UWP/UnitTestApp.xaml.cs rename to UnitTests/UnitTests.UWP/App.xaml.cs index 992b1531ea9..f070ba9d2fe 100644 --- a/UnitTests/UnitTests.UWP/UnitTestApp.xaml.cs +++ b/UnitTests/UnitTests.UWP/App.xaml.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +using Microsoft.VisualStudio.TestTools.UnitTesting.Logging; using System; using UnitTests.Extensions; using Windows.ApplicationModel; @@ -90,6 +91,17 @@ protected override void OnLaunched(LaunchActivatedEventArgs e) // TODO: Load state from previously suspended application } + Logger.LogMessage("Looking for DefaultRichEditBoxStyle..."); + if (!Resources.TryGetValue("DefaultRichEditBoxStyle", out var value)) + { + Logger.LogMessage("ERROR: Couldn't find DefaultRichEditBoxStyle in WinUI!"); + throw new ApplicationException("Couldn't find DefaultRichEditBoxStyle resource."); + } + else + { + Logger.LogMessage("FOUND!"); + } + // Place the frame in the current Window Window.Current.Content = rootFrame; } diff --git a/UnitTests/UnitTests.UWP/UnitTestApp.xaml b/UnitTests/UnitTests.UWP/UnitTestApp.xaml deleted file mode 100644 index 87f176b9a0f..00000000000 --- a/UnitTests/UnitTests.UWP/UnitTestApp.xaml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - Cat - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/UnitTests/UnitTests.UWP/UnitTests.UWP.csproj b/UnitTests/UnitTests.UWP/UnitTests.UWP.csproj index 895d2b161b5..1659951ec88 100644 --- a/UnitTests/UnitTests.UWP/UnitTests.UWP.csproj +++ b/UnitTests/UnitTests.UWP/UnitTests.UWP.csproj @@ -120,7 +120,7 @@ - 3.1.5 + 5.0.2 5.10.3 @@ -128,12 +128,16 @@ 6.2.12 + + 2.6.1 + 2.1.2 2.1.2 + 10.0.3 @@ -149,6 +153,9 @@ + + App.xaml + @@ -243,17 +250,8 @@ - - UnitTestApp.xaml - - - - MSBuild:Compile - Designer - - Designer @@ -343,7 +341,12 @@ - + + + MSBuild:Compile + Designer + + 14.0 diff --git a/UnitTests/UnitTests.XamlIslands.UWPApp/UnitTests.XamlIslands.UWPApp.csproj b/UnitTests/UnitTests.XamlIslands.UWPApp/UnitTests.XamlIslands.UWPApp.csproj index 55651aaeaab..c8bee2bdaed 100644 --- a/UnitTests/UnitTests.XamlIslands.UWPApp/UnitTests.XamlIslands.UWPApp.csproj +++ b/UnitTests/UnitTests.XamlIslands.UWPApp/UnitTests.XamlIslands.UWPApp.csproj @@ -163,7 +163,7 @@ 6.1.2