Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 671b10b

Browse files
authored
Update UAP System.Private.CoreLib to unblock UAP builds (#27805)
* Update UAP targeting pack To fix the flow from CoreCLR and CoreFX into TFS, update the targeting pack with a version of System.Private.CoreLib that has an updated signature for Stream.WriteAsync. This should be sufficient to re-enable uapaot builds so we can get a new set of uap packages. * Revert "Disable uapaot builds on several projects" This reverts commit ebe1468.
1 parent 2a16087 commit 671b10b

File tree

17 files changed

+34
-24
lines changed

17 files changed

+34
-24
lines changed

dependencies.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<CoreFxExpectedPrerelease>preview2-26308-02</CoreFxExpectedPrerelease>
3535
<MicrosoftNETCorePlatformsPackageVersion>2.1.0-preview2-26308-02</MicrosoftNETCorePlatformsPackageVersion>
3636
<MicrosoftNETCoreRuntimeCoreCLRPackageVersion>2.1.0-preview2-26308-06</MicrosoftNETCoreRuntimeCoreCLRPackageVersion>
37-
<ProjectNTfsExpectedPrerelease>beta-26306-00</ProjectNTfsExpectedPrerelease>
37+
<ProjectNTfsExpectedPrerelease>beta-26306-01</ProjectNTfsExpectedPrerelease>
3838
<ProjectNTfsTestILCExpectedPrerelease>beta-26306-00</ProjectNTfsTestILCExpectedPrerelease>
3939
<ProjectNTfsTestILCPackageVersion>1.0.0-beta-26306-00</ProjectNTfsTestILCPackageVersion>
4040
<MicrosoftNETCoreDotNetHostPackageVersion>2.1.0-preview2-26306-04</MicrosoftNETCoreDotNetHostPackageVersion>

external/test-runtime/XUnit.Runtime.depproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,10 +182,16 @@
182182
SkipUnchangedFiles="true"/>
183183
</Target>
184184

185+
<!--
186+
187+
Disable this check until we get the CoreCLR and TFS versions of System.Private.CoreLib back in sync after recent breaking changes.
188+
https://github.com/dotnet/corefx/issues/27619
189+
185190
<Target Name="VerifyMatchingProjectNVersions"
186191
BeforeTargets="Build">
187192
<Error Condition="'$(ProjectNTfsExpectedPrerelease)' != '$(ProjectNTfsTestILCExpectedPrerelease)'" Text="The versions of ProjectN Targeting pack and TestILC have gone out of sync. Please make sure both of the prerelease versions on dependencies.props match." />
188193
</Target>
194+
-->
189195

190196
<Target Name="CopyTestILCToolsToTestHost"
191197
AfterTargets="RestorePackages"

pkg/Microsoft.Private.CoreFx.NETCoreApp/Microsoft.Private.CoreFx.NETCoreApp.pkgproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@
5050
System.Security.Principal.Windows;
5151
</Value>
5252
</ValidatePackageSuppression>
53+
<!-- Permit missing Inbox since this used to be a shim and it is now OOB -->
54+
<ValidatePackageSuppression Include="PermitMissingInbox">
55+
<Value>
56+
System.ComponentModel.Composition;
57+
</Value>
58+
</ValidatePackageSuppression>
5359
</ItemGroup>
5460

5561
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />

pkg/Microsoft.Private.CoreFx.UAP/Microsoft.Private.CoreFx.UAP.pkgproj

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
<LibBinDir>$(UAPPackageRuntimePath)</LibBinDir>
1313
<LibBinDir Condition="$(PackageTargetRuntime.EndsWith('-aot'))">$(UAPAOTPackageRuntimePath)</LibBinDir>
1414

15-
<!-- <IsFrameworkPackage>true</IsFrameworkPackage> -->
16-
<SkipValidatePackage>true</SkipValidatePackage>
15+
<IsFrameworkPackage>true</IsFrameworkPackage>
1716

1817
<!-- Private packages need symbols -->
1918
<IncludeSymbolsInPackage Condition="'$(IncludeSymbolsInPackage)' == ''">true</IncludeSymbolsInPackage>
@@ -67,6 +66,12 @@
6766
System.Private.Reflection.Metadata.Ecma335;
6867
</Value>
6968
</ValidatePackageSuppression>
69+
<!-- Permit missing Inbox since this used to be a shim and it is now OOB -->
70+
<ValidatePackageSuppression Include="PermitMissingInbox">
71+
<Value>
72+
System.ComponentModel.Composition;
73+
</Value>
74+
</ValidatePackageSuppression>
7075
</ItemGroup>
7176

7277
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />

pkg/Microsoft.Private.PackageBaseline/packageIndex.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4504,7 +4504,6 @@
45044504
"portable45-net45+wp8": "3.9.0.0",
45054505
"portable46-net451+win81": "4.0.0.0",
45064506
"portable46-win81+wp81": "3.9.0.0",
4507-
"uap10.0.16299": "4.0.0.0",
45084507
"win8": "4.0.0.0",
45094508
"wp8": "3.9.0.0",
45104509
"xamarinios10": "Any",
@@ -4540,7 +4539,6 @@
45404539
"net45": "4.0.0.0",
45414540
"portable45-net45+win8": "4.0.0.0",
45424541
"portable46-net451+win81": "4.0.0.0",
4543-
"uap10.0.16299": "4.1.1.0",
45444542
"win8": "4.0.0.0",
45454543
"xamarinios10": "Any",
45464544
"xamarinmac20": "Any",
@@ -4559,7 +4557,6 @@
45594557
"portable45-net45+wp8": "3.9.0.0",
45604558
"portable46-net451+win81": "4.0.0.0",
45614559
"portable46-win81+wp81": "3.9.0.0",
4562-
"uap10.0.16299": "4.1.3.0",
45634560
"win8": "4.0.0.0",
45644561
"wp8": "3.9.0.0",
45654562
"xamarinios10": "Any",
@@ -4585,7 +4582,6 @@
45854582
"net45": "4.0.0.0",
45864583
"portable45-net45+win8": "4.0.0.0",
45874584
"portable46-net451+win81": "4.0.0.0",
4588-
"uap10.0.16299": "4.1.3.0",
45894585
"win8": "4.0.0.0",
45904586
"xamarinios10": "Any",
45914587
"xamarinmac20": "Any",
@@ -4603,7 +4599,6 @@
46034599
"portable45-net45+wp8": "3.9.0.0",
46044600
"portable46-net451+win81": "4.0.0.0",
46054601
"portable46-win81+wp81": "3.9.0.0",
4606-
"uap10.0.16299": "4.2.1.0",
46074602
"win8": "4.0.0.0",
46084603
"wp8": "3.9.0.0",
46094604
"xamarinios10": "Any",
@@ -4627,7 +4622,6 @@
46274622
"portable45-net45+wp8": "3.9.0.0",
46284623
"portable46-net451+win81": "4.0.0.0",
46294624
"portable46-win81+wp81": "3.9.0.0",
4630-
"uap10.0.16299": "4.0.4.0",
46314625
"win8": "4.0.0.0",
46324626
"wp8": "3.9.0.0",
46334627
"xamarinios10": "Any",
@@ -4659,7 +4653,6 @@
46594653
"portable46-win81+wp81+wpa81": "4.0.0.0",
46604654
"portable46-win81+wpa81": "4.0.0.0",
46614655
"portable46-wp81+wpa81": "4.0.0.0",
4662-
"uap10.0.16299": "4.0.0.0",
46634656
"uap10.0.16300": "4.0.0.0",
46644657
"win8": "4.0.0.0",
46654658
"wp8": "2.0.5.0",
@@ -5034,7 +5027,7 @@
50345027
"InboxOn": {
50355028
"netcoreapp2.0": "4.1.1.0",
50365029
"netcoreapp2.1": "4.2.0.0",
5037-
"uap10.0.16300": "4.1.2.0"
5030+
"uap10.0.16300": "4.2.0.0"
50385031
},
50395032
"AssemblyVersionInPackageVersion": {
50405033
"4.0.0.0": "4.0.0",

src/System.Collections/src/Configurations.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
44
<BuildConfigurations>
5-
<!-- uapaot-Windows_NT; -->
5+
uapaot-Windows_NT;
66
netcoreapp-Windows_NT;
77
netcoreapp-Unix;
88
uap-Windows_NT;

src/System.Linq.Expressions/src/Configurations.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<BuildConfigurations>
55
netcoreapp-Unix;
66
netcoreapp-Windows_NT;
7-
<!-- uapaot-Windows_NT; -->
7+
uapaot-Windows_NT;
88
uap-Windows_NT;
99
</BuildConfigurations>
1010
</PropertyGroup>

src/System.Linq.Expressions/tests/Configurations.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<BuildConfigurations>
55
netcoreapp-Unix;
66
netcoreapp-Windows_NT;
7-
<!-- uapaot-Windows_NT; -->
8-
<!-- uap-Windows_NT; -->
7+
uapaot-Windows_NT;
8+
uap-Windows_NT;
99
</BuildConfigurations>
1010
</PropertyGroup>
1111
</Project>

src/System.Runtime.Extensions/src/Configurations.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<BuildConfigurations>
55
netcoreapp-Unix;
66
netcoreapp-Windows_NT;
7-
<!-- uapaot-Windows_NT; -->
7+
uapaot-Windows_NT;
88
uap-Windows_NT;
99
</BuildConfigurations>
1010
</PropertyGroup>

src/System.Runtime.WindowsRuntime/src/Configurations.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<BuildConfigurations>
55
uap-Windows_NT;
6-
<!-- uapaot-Windows_NT; -->
6+
uapaot-Windows_NT;
77
</BuildConfigurations>
88
</PropertyGroup>
99
</Project>

0 commit comments

Comments
 (0)