We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I build an app containing the following XAML with 9.0.0-preview.7, it's compiled into an unreadable BAML:
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <Style x:Key="DefaultAccessTextStyle" TargetType="{x:Type AccessText}"> <Setter Property="Background" Value="Transparent" /> <Setter Property="FontSize" Value="14" /> <Setter Property="Margin" Value="0" /> <Setter Property="Focusable" Value="False" /> <Setter Property="SnapsToDevicePixels" Value="True" /> <Setter Property="OverridesDefaultStyle" Value="True" /> </Style> <Style x:Key="{x:Type AccessText}" BasedOn="{StaticResource DefaultAccessTextStyle}" TargetType="{x:Type AccessText}" /> </ResourceDictionary>
Build and run the attached project:
WpfApp1.zip
Windows is shown:
Exception is thrown:
This has worked with NET 8.0.
No response
Cannot build with .NET 9.0.0-preview.7.
The text was updated successfully, but these errors were encountered:
Duplicate of #9582 (and #9620). Fixed in RC by #9584.
Sorry, something went wrong.
@miloush Ok. Closing issue.
No branches or pull requests
Description
When I build an app containing the following XAML with 9.0.0-preview.7, it's compiled into an unreadable BAML:
Reproduction Steps
Build and run the attached project:
WpfApp1.zip
Expected behavior
Windows is shown:
Actual behavior
Exception is thrown:
Regression?
This has worked with NET 8.0.
Known Workarounds
No response
Impact
Cannot build with .NET 9.0.0-preview.7.
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered: