-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathApp.Head.Uno.props
More file actions
32 lines (27 loc) · 1.44 KB
/
App.Head.Uno.props
File metadata and controls
32 lines (27 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<Project>
<PropertyGroup>
<DependencyVariant>WinUI</DependencyVariant>
</PropertyGroup>
<Import Project="$(MSBuildThisFileDirectory)\App.Head.props" />
<Import Project="$(MSBuildThisFileDirectory)\..\MultiTarget\PackageReferences\Uno.props" />
<Import Project="$(MSBuildThisFileDirectory)\..\MultiTarget\WinUI.Extra.props" />
<Import Project="$(MSBuildThisFileDirectory)\..\MultiTarget\NoWarn.props" />
<PropertyGroup Condition="'$(IsUno)' == 'true'">
<!-- Code generated by Uno.WinUI.SourceGenerators creates AoT-unsafe code when Behaviors are used. -->
<NoWarn>$(NoWarn);IL2026</NoWarn>
<!--
Suppression of error Uno0006:
Type 'CommunityToolkit.App.Shared.ItemTemplates' should call 'Initialize
Component()' from its constructor (https://aka.platform.uno/UNO0006)
This error appeared in the gallery after updating to .NET 9, which introduced new default analyzer rules.
It is likely this error was silently present in older builds.
-->
<NoWarn>$(NoWarn);Uno0006</NoWarn>
</PropertyGroup>
<!--
Import Uno dependencies for all deployable Uno-based Labs project heads.
This import must be inside THIS file to allow swapping between Uno.UI and Uno.WinUI via pwsh.
Changes to this file are suppressed by git when switching to avoid changing the default for all users.
-->
<Import Project="$(MSBuildThisFileDirectory)\App.Head.Uno.WinUI.Dependencies.props" />
</Project>