Skip to content

Commit 925bf57

Browse files
committed
Fixed declaration order for MultiTargetPlatformIdentifier definition and props files which use it
1 parent 35b9e39 commit 925bf57

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

ProjectHeads/Head.Uwp.props

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
<Project>
2+
<PropertyGroup>
3+
<!--
4+
Normally this is defined by the MultiTargetIdentifiers.props file,
5+
but the heads do not use this part of the MultiTarget system since deployable heads don't really multi-target.
6+
The non-sdk style UWP head defines TargetPlatformIdentifier manually for us.
7+
-->
8+
<MultiTargetPlatformIdentifier>$(TargetPlatformIdentifier)</MultiTargetPlatformIdentifier>
9+
</PropertyGroup>
10+
11+
<!-- These are parts of the MultiTarget system which need to be extracted into a common dependency between both ./tooling/MultiTarget and ./tooling/ProjectHeads. -->
212
<Import Project="$(MSBuildThisFileDirectory)\..\MultiTarget\PackageReferences\Uwp.props" />
313
<Import Project="$(MSBuildThisFileDirectory)\..\MultiTarget\WinUI.Extra.props" />
414

@@ -13,7 +23,6 @@
1323
<AppDesignerFolder>Properties</AppDesignerFolder>
1424
<DefaultLanguage>en-US</DefaultLanguage>
1525
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
16-
<MultiTargetPlatformIdentifier>$(TargetPlatformIdentifier)</MultiTargetPlatformIdentifier>
1726
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
1827
<FileAlignment>512</FileAlignment>
1928
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>

0 commit comments

Comments
 (0)