Skip to content

Commit a347f04

Browse files
committed
Adjust DependencyVariant
1 parent 3cc3d62 commit a347f04

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ProjectHeads/App.Head.Uno.props

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<Project>
22
<PropertyGroup>
3-
<DependencyVariant>WinUI</DependencyVariant>
3+
<DependencyVariant Condition="'$(WinUIMajorVersion)' != '2'">WinUI</DependencyVariant>
4+
<DependencyVariant Condition="'$(WinUIMajorVersion)' == '2'">Uwp</DependencyVariant>
45
</PropertyGroup>
56

67
<Import Project="$(MSBuildThisFileDirectory)\App.Head.props" />

0 commit comments

Comments
 (0)