File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 2
2
// The .NET Foundation licenses this file to you under the MIT license.
3
3
// See the LICENSE file in the project root for more information.
4
4
5
+ using Microsoft . VisualStudio . TestTools . UnitTesting . Logging ;
5
6
using System ;
6
7
using UnitTests . Extensions ;
7
8
using Windows . ApplicationModel ;
@@ -90,6 +91,17 @@ protected override void OnLaunched(LaunchActivatedEventArgs e)
90
91
// TODO: Load state from previously suspended application
91
92
}
92
93
94
+ Logger . LogMessage ( "Looking for DefaultRichEditBoxStyle..." ) ;
95
+ if ( ! Resources . TryGetValue ( "DefaultRichEditBoxStyle" , out var value ) )
96
+ {
97
+ Logger . LogMessage ( "ERROR: Couldn't find DefaultRichEditBoxStyle in WinUI!" ) ;
98
+ throw new ApplicationException ( "Couldn't find DefaultRichEditBoxStyle resource." ) ;
99
+ }
100
+ else
101
+ {
102
+ Logger . LogMessage ( "FOUND!" ) ;
103
+ }
104
+
93
105
// Place the frame in the current Window
94
106
Window . Current . Content = rootFrame ;
95
107
}
You can’t perform that action at this time.
0 commit comments