File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 66 <Import Project =" $(MSBuildThisFileDirectory)\App.Head.props" />
77 <Import Project =" $(MSBuildThisFileDirectory)\..\MultiTarget\PackageReferences\Uno.props" />
88 <Import Project =" $(MSBuildThisFileDirectory)\..\MultiTarget\WinUI.Extra.props" />
9+ <Import Project =" $(MSBuildThisFileDirectory)\..\MultiTarget\NoWarn.props" />
910
1011 <PropertyGroup Condition =" '$(IsUno)' == 'true'" >
1112 <!-- Code generated by Uno.UI.SourceGenerators creates AoT-unsafe code when Behaviors are used. -->
Original file line number Diff line number Diff line change 1515
1616 <Import Project =" $(MSBuildThisFileDirectory)\..\MultiTarget\PackageReferences\WinAppSdk.props" />
1717 <Import Project =" $(MSBuildThisFileDirectory)\..\MultiTarget\WinUI.Extra.props" />
18+ <Import Project =" $(MSBuildThisFileDirectory)\..\MultiTarget\NoWarn.props" />
19+
20+ <PropertyGroup >
21+ <!-- Platform-generated XAML creates AoT-unsafe code when Behaviors are used. -->
22+ <NoWarn >$(NoWarn);IL2026</NoWarn >
23+ </PropertyGroup >
1824
1925 <PropertyGroup >
2026 <RuntimeIdentifier Condition =" $([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)')) >= 8" >win-$(Platform)</RuntimeIdentifier >
You can’t perform that action at this time.
0 commit comments