11
11
<ExtractedFolder Condition =" !HasTrailingSlash('$(ExtractedFolder)')" >$(ExtractedFolder)\</ExtractedFolder >
12
12
</PropertyGroup >
13
13
14
+ <PropertyGroup Condition =" '$(GDKEditionNumber)' < '220300'" >
15
+ <_PCNuGetPackage >Microsoft.PGDK</_PCNuGetPackage >
16
+ <_XboxNuGetPackage >Microsoft.GDK</_XboxNuGetPackage >
17
+ </PropertyGroup >
18
+
19
+ <PropertyGroup Condition =" '$(GDKEditionNumber)' > = '220300'" >
20
+ <_PCNuGetPackage >Microsoft.GDK.PC</_PCNuGetPackage >
21
+ <_XboxNuGetPackage >Microsoft.GDK.Xbox</_XboxNuGetPackage >
22
+ </PropertyGroup >
23
+
24
+ <PropertyGroup Condition =" '$(GDKEditionNumber)' < '241000'" >
25
+ <_PCNuGetPackage >$(_PCNuGetPackage).$(GDKEditionNumber)</_PCNuGetPackage >
26
+ <_XboxNuGetPackage >$(_XboxNuGetPackage).$(GDKEditionNumber)</_XboxNuGetPackage >
27
+ </PropertyGroup >
28
+
14
29
<!--
15
30
A list of VCTargets folders that we expect to exist after copying the BWOI VS files
16
31
If any of these folders is not present then we assume that the VCTargets has not been setup
@@ -80,10 +95,10 @@ SixtyFourBit = (IntPtr.Size == 8) ? true : false;
80
95
Condition =" '@(_MissingBWOIVCFolders)' != ''" >
81
96
<Error Condition =" '$(GDKEditionNumber)'==''"
82
97
Text =" GDKEditionNumber property is required" />
83
- <Error Condition =" !Exists('$(ExtractedFolder)GDK\Microsoft.GDK.PC.$(GDKEditionNumber )')"
84
- Text =" NuGet package Microsoft.GDK.PC.$(GDKEditionNumber ) not found in $(ExtractedFolder)GDK " />
85
- <Error Condition =" !Exists('$(ExtractedFolder)GDK\Microsoft.GDK.Xbox.$(GDKEditionNumber )')"
86
- Text =" NuGet package Microsoft.GDK.Xbox.$(GDKEditionNumber ) not found in $(ExtractedFolder)GDK " />
98
+ <Error Condition =" !Exists('$(ExtractedFolder)$(_PCNuGetPackage )')"
99
+ Text =" NuGet package $(_PCNuGetPackage ) not found in $(ExtractedFolder)" />
100
+ <Error Condition =" !Exists('$(ExtractedFolder)$(_XboxNuGetPackage )')"
101
+ Text =" NuGet package $(_XboxNuGetPackage ) not found in $(ExtractedFolder)" />
87
102
88
103
<PropertyGroup >
89
104
<_VSFolder Condition =" '$(VisualStudioVersion)' == '17.0'" >VS2022</_VSFolder >
@@ -99,8 +114,8 @@ SixtyFourBit = (IntPtr.Size == 8) ? true : false;
99
114
</ItemGroup >
100
115
101
116
<ItemGroup Condition =" '$(GDKEditionNumber)' < '241000'" >
102
- <GDKVCTargetsFilesV150 Include =" $(ExtractedFolder)GDK\Microsoft.GDK.PC.$(GDKEditionNumber )\native\$(GDKEditionNumber)\GRDK\$(_VSFolder)\flatDeployment\MSBuild\Microsoft\VC\v150\**" />
103
- <GDKVCTargetsFilesV150 Include =" $(ExtractedFolder)GDK\Microsoft.GDK.Xbox.$(GDKEditionNumber )\native\$(GDKEditionNumber)\GXDK\$(_VSFolder)\flatDeployment\MSBuild\Microsoft\VC\v150\**" />
117
+ <GDKVCTargetsFilesV150 Include =" $(ExtractedFolder)$(_PCNuGetPackage )\native\$(GDKEditionNumber)\GRDK\$(_VSFolder)\flatDeployment\MSBuild\Microsoft\VC\v150\**" />
118
+ <GDKVCTargetsFilesV150 Include =" $(ExtractedFolder)$(_XboxNuGetPackage )\native\$(GDKEditionNumber)\GXDK\$(_VSFolder)\flatDeployment\MSBuild\Microsoft\VC\v150\**" />
104
119
</ItemGroup >
105
120
106
121
<Copy Condition =" '$(GDKEditionNumber)' < '241000'" SkipUnchangedFiles =" true" SourceFiles =" @(SourceVCTargetsFilesV150)" DestinationFolder =" $(ExtractedFolder)VCTargets150\%(RecursiveDir)/" />
@@ -112,8 +127,8 @@ SixtyFourBit = (IntPtr.Size == 8) ? true : false;
112
127
</ItemGroup >
113
128
114
129
<ItemGroup >
115
- <GDKVCTargetsFilesV160 Include =" $(ExtractedFolder)GDK\Microsoft.GDK.PC.$(GDKEditionNumber )\native\$(GDKEditionNumber)\GRDK\$(_VSFolder)\flatDeployment\MSBuild\Microsoft\VC\v160\**" />
116
- <GDKVCTargetsFilesV160 Include =" $(ExtractedFolder)GDK\Microsoft.GDK.Xbox.$(GDKEditionNumber )\native\$(GDKEditionNumber)\GXDK\$(_VSFolder)\flatDeployment\MSBuild\Microsoft\VC\v160\**" />
130
+ <GDKVCTargetsFilesV160 Include =" $(ExtractedFolder)$(_PCNuGetPackage )\native\$(GDKEditionNumber)\GRDK\$(_VSFolder)\flatDeployment\MSBuild\Microsoft\VC\v160\**" />
131
+ <GDKVCTargetsFilesV160 Include =" $(ExtractedFolder)$(_XboxNuGetPackage )\native\$(GDKEditionNumber)\GXDK\$(_VSFolder)\flatDeployment\MSBuild\Microsoft\VC\v160\**" />
117
132
</ItemGroup >
118
133
119
134
<Copy SkipUnchangedFiles =" true" SourceFiles =" @(SourceVCTargetsFilesV160)" DestinationFolder =" $(ExtractedFolder)VCTargets160\%(RecursiveDir)/" />
@@ -125,8 +140,8 @@ SixtyFourBit = (IntPtr.Size == 8) ? true : false;
125
140
</ItemGroup >
126
141
127
142
<ItemGroup Condition =" '$(VisualStudioVersion)' == '17.0'" >
128
- <GDKVCTargetsFilesV170 Include =" $(ExtractedFolder)GDK\Microsoft.GDK.PC.$(GDKEditionNumber )\native\$(GDKEditionNumber)\GRDK\$(_VSFolder)\flatDeployment\MSBuild\Microsoft\VC\v170\**" />
129
- <GDKVCTargetsFilesV170 Include =" $(ExtractedFolder)GDK\Microsoft.GDK.Xbox.$(GDKEditionNumber )\native\$(GDKEditionNumber)\GXDK\$(_VSFolder)\flatDeployment\MSBuild\Microsoft\VC\v170\**" />
143
+ <GDKVCTargetsFilesV170 Include =" $(ExtractedFolder)$(_PCNuGetPackage )\native\$(GDKEditionNumber)\GRDK\$(_VSFolder)\flatDeployment\MSBuild\Microsoft\VC\v170\**" />
144
+ <GDKVCTargetsFilesV170 Include =" $(ExtractedFolder)$(_XboxNuGetPackage )\native\$(GDKEditionNumber)\GXDK\$(_VSFolder)\flatDeployment\MSBuild\Microsoft\VC\v170\**" />
130
145
</ItemGroup >
131
146
132
147
<Copy SkipUnchangedFiles =" true" SourceFiles =" @(SourceVCTargetsFilesV170)" DestinationFolder =" $(ExtractedFolder)VCTargets170\%(RecursiveDir)/" />
0 commit comments