Unable To Compile 'TextBox_themeresources.xaml' #7685
Labels
area-XamlCompiler
bug
Something isn't working
needs-triage
Issue needs to be triaged by the area owners
no-issue-activity
product-winui3
WinUI 3 issues
team-Markup
Issue for the Markup team
Describe the bug
When I copy and paste the content of the file /dev/CommonStyles/TextBox_themeresources.xaml into my resource dictionary file I get the following error:
Type 'ThemeResource' used after '{' must be a Markup Extension. Error code 0x03e9. 'My_Project_Name'
This error starts at the line 223 and continues to line 226 in that xaml file. This is the code that causes the issue:
Steps to reproduce the bug
Expected behavior
Be able to compile the app. The controls must look exactly as the control in the Win UI 3.
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.2 Experimental: 1.2.220727.1-experimental1
Windows app type
Device form factor
No response
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response
The text was updated successfully, but these errors were encountered: