Bump .NET core framework to 3.1-preview.2 (#10993)

This commit is contained in:
Aditya Patwardhan 2019-11-07 11:45:17 -08:00 committed by GitHub
parent d58a82ad19
commit 08e120ca2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 38 additions and 29 deletions

View File

@ -3,7 +3,7 @@
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
#-------------------------------------------------------------------------------------------------------------
FROM mcr.microsoft.com/dotnet/core/sdk:3.1.100-preview1
FROM mcr.microsoft.com/dotnet/core/sdk:3.1.100-preview2
# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive

View File

@ -3062,9 +3062,6 @@
<Component Id="cmpF6FDA6202E9D4CEF9F21A23D32571BFC" Guid="{e0776aa4-b3aa-4a15-a497-697b510fba8c}">
<File Id="fil9120D0A4381F4B34B80AB37D2EFBCF7D" KeyPath="yes" Source="$(env.ProductSourcePath)\InstallPSCorePolicyDefinitions.ps1" />
</Component>
<Component Id="cmpEC42F4F98D70437BB0E290A0E0FE1775" Guid="{5483092a-12c2-4e6c-b730-be491b8909c0}">
<File Id="filBE60A48C75214B7B810D695039AC47B5" KeyPath="yes" Source="$(env.ProductSourcePath)\mscordaccore_$(var.FileArchitecture)_$(var.FileArchitecture)_4.700.19.50403.dll" />
</Component>
<Component Id="cmp73A4CC8E2C9E4594A3D8258C9E00D7E6" Guid="{0aba3675-b1b5-4464-b8ed-937d3b9ea9ed}">
<File Id="fil8DBDCAE679714880A535D26FFE95A8F9" KeyPath="yes" Source="$(env.ProductSourcePath)\Microsoft.PowerShell.GraphicalHost.dll.config" />
</Component>
@ -3074,6 +3071,9 @@
<Component Id="cmp2E32A6E773F543F0A150B972F8D3E23A" Guid="{a43d0117-1193-4316-a0f6-fef892870f38}">
<File Id="fil66411B8941CA492E93BF262EA72C6BE6" KeyPath="yes" Source="$(env.ProductSourcePath)\Microsoft.PowerShell.GraphicalHost.xml" />
</Component>
<Component Id="cmpCD1095120697449FA27BE5759D83F618" Guid="{dac64ea2-13b9-409a-b215-974201244c9f}">
<File Id="filA48D09FB0F0C40E982B626C101698232" KeyPath="yes" Source="$(env.ProductSourcePath)\mscordaccore_$(var.FileArchitecture)_$(var.FileArchitecture)_4.700.19.52202.dll" />
</Component>
</DirectoryRef>
</Fragment>
<Fragment>
@ -3914,12 +3914,12 @@
<ComponentRef Id="cmp34649490F5B04041A08E73D7A86D5A5A" />
<ComponentRef Id="cmpB3116053008E492C9B36C89BF682B8F7" />
<ComponentRef Id="cmp859A3876902946E7B5B4965F90664C5D" />
<ComponentRef Id="cmpEC42F4F98D70437BB0E290A0E0FE1775" />
<ComponentRef Id="cmpF1B0E6DCC3BD4797B206C879EF270062" />
<ComponentRef Id="cmp73A4CC8E2C9E4594A3D8258C9E00D7E6" />
<ComponentRef Id="cmpAC984FA3A67247BC996F60290C87D0A1" />
<ComponentRef Id="cmp2E32A6E773F543F0A150B972F8D3E23A" />
<ComponentRef Id="cmp25A144CC34E545378735B06794A02F90" />
<ComponentRef Id="cmpCD1095120697449FA27BE5759D83F618" />
</ComponentGroup>
</Fragment>
</Wix>

View File

@ -1,5 +1,5 @@
{
"sdk": {
"version": "3.1.100-preview1-014459"
"version": "3.1.100-preview2-014569"
}
}

View File

@ -47,7 +47,7 @@
<ItemGroup>
<!-- the following package(s) are from https://github.com/dotnet/corefx -->
<PackageReference Include="System.ServiceProcess.ServiceController" Version="4.7.0-preview1.19504.10" />
<PackageReference Include="System.ServiceProcess.ServiceController" Version="4.7.0-preview2.19523.17" />
</ItemGroup>
</Project>

View File

@ -32,8 +32,8 @@
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.3.1" />
<PackageReference Include="System.Threading.AccessControl" Version="4.7.0-preview1.19504.10" />
<PackageReference Include="System.Drawing.Common" Version="4.7.0-preview1.19504.10" />
<PackageReference Include="System.Threading.AccessControl" Version="4.7.0-preview2.19523.17" />
<PackageReference Include="System.Drawing.Common" Version="4.7.0-preview2.19523.17" />
<PackageReference Include="NJsonSchema" Version="10.0.27" />
</ItemGroup>

View File

@ -381,6 +381,15 @@ namespace Microsoft.PowerShell.Commands
// Increment byteIndex to the next block of bytes in the input buffer, if any, to convert.
byteIndex += bytesUsed;
// The behavior of decoder.Convert changed start .NET 3.1-preview2.
// The change was made in https://github.com/dotnet/coreclr/pull/27229
// The recommendation from .NET team is to not check for 'completed' if 'flush' is false.
// Break out of the loop if all bytes have been read.
if (!flush && bytesRead == byteIndex)
{
break;
}
}
} while (bytesRead != 0);

View File

@ -8,7 +8,7 @@
<ItemGroup>
<!-- the following package(s) are from https://github.com/dotnet/corefx -->
<PackageReference Include="System.Diagnostics.EventLog" Version="4.7.0-preview1.19504.10" />
<PackageReference Include="System.Diagnostics.EventLog" Version="4.7.0-preview2.19523.17" />
</ItemGroup>
</Project>

View File

@ -18,9 +18,9 @@
<!-- the following package(s) are from https://github.com/dotnet/fxdac -->
<PackageReference Include="System.Data.SqlClient" Version="4.8.0-preview1.19504.10" />
<!-- the following package(s) are from https://github.com/dotnet/corefx -->
<PackageReference Include="System.IO.Packaging" Version="4.7.0-preview1.19504.10" />
<PackageReference Include="System.Net.Http.WinHttpHandler" Version="4.7.0-preview1.19504.10" />
<PackageReference Include="System.Text.Encodings.Web" Version="4.7.0-preview1.19504.10" />
<PackageReference Include="System.IO.Packaging" Version="4.7.0-preview2.19523.17" />
<PackageReference Include="System.Net.Http.WinHttpHandler" Version="4.7.0-preview2.19523.17" />
<PackageReference Include="System.Text.Encodings.Web" Version="4.7.0-preview2.19523.17" />
<!-- the following package(s) are from https://github.com/dotnet/wcf -->
<PackageReference Include="System.ServiceModel.Duplex" Version="4.7.0-preview1.final" />
<PackageReference Include="System.ServiceModel.Http" Version="4.7.0-preview1.final" />

View File

@ -9,7 +9,7 @@
<ProjectReference Include="..\System.Management.Automation\System.Management.Automation.csproj" />
<ProjectReference Include="..\Microsoft.WSMan.Runtime\Microsoft.WSMan.Runtime.csproj" />
<!-- the following package(s) are from https://github.com/dotnet/corefx -->
<PackageReference Include="System.ServiceProcess.ServiceController" Version="4.7.0-preview1.19504.10" />
<PackageReference Include="System.ServiceProcess.ServiceController" Version="4.7.0-preview2.19523.17" />
</ItemGroup>
<PropertyGroup>

View File

@ -16,16 +16,16 @@
<!-- the Application Insights package -->
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.11.0" />
<!-- the following package(s) are from https://github.com/dotnet/corefx -->
<PackageReference Include="Microsoft.Win32.Registry.AccessControl" Version="4.7.0-preview1.19504.10" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.7.0-preview1.19504.10" />
<PackageReference Include="System.DirectoryServices" Version="4.7.0-preview1.19504.10" />
<PackageReference Include="System.IO.FileSystem.AccessControl" Version="4.7.0-preview1.19504.10" />
<PackageReference Include="System.Management" Version="4.7.0-preview1.19504.10" />
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.7.0-preview1.19504.10" />
<PackageReference Include="System.Security.AccessControl" Version="4.7.0-preview1.19504.10" />
<PackageReference Include="System.Security.Cryptography.Pkcs" Version="4.7.0-preview1.19504.10" />
<PackageReference Include="System.Security.Permissions" Version="4.7.0-preview1.19504.10" />
<PackageReference Include="System.Text.Encoding.CodePages" Version="4.7.0-preview1.19504.10" />
<PackageReference Include="Microsoft.Win32.Registry.AccessControl" Version="4.7.0-preview2.19523.17" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.7.0-preview2.19523.17" />
<PackageReference Include="System.DirectoryServices" Version="4.7.0-preview2.19523.17" />
<PackageReference Include="System.IO.FileSystem.AccessControl" Version="4.7.0-preview2.19523.17" />
<PackageReference Include="System.Management" Version="4.7.0-preview2.19523.17" />
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.7.0-preview2.19523.17" />
<PackageReference Include="System.Security.AccessControl" Version="4.7.0-preview2.19523.17" />
<PackageReference Include="System.Security.Cryptography.Pkcs" Version="4.7.0-preview2.19523.17" />
<PackageReference Include="System.Security.Permissions" Version="4.7.0-preview2.19523.17" />
<PackageReference Include="System.Text.Encoding.CodePages" Version="4.7.0-preview2.19523.17" />
<!-- the following package(s) are from the powershell org -->
<PackageReference Include="Microsoft.Management.Infrastructure" Version="2.0.0-preview.2" />
<PackageReference Include="Microsoft.PowerShell.Native" Version="7.0.0-preview.3" />

View File

@ -7,8 +7,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.0-preview1.19508.20" />
<PackageReference Include="System.Text.Encoding.CodePages" Version="4.7.0-preview1.19504.10" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.0-preview2.19528.8" />
<PackageReference Include="System.Text.Encoding.CodePages" Version="4.7.0-preview2.19523.17" />
</ItemGroup>
<ItemGroup>

View File

@ -14,6 +14,6 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="12.0.2" />
<PackageReference Include="System.Security.AccessControl" Version="4.7.0-preview1.19504.10" />
<PackageReference Include="System.Security.AccessControl" Version="4.7.0-preview2.19523.17" />
</ItemGroup>
</Project>

View File

@ -9,7 +9,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Management.Infrastructure" Version="1.0.0" />
<PackageReference Include="System.Security.AccessControl" Version="4.7.0-preview1.19504.10" />
<PackageReference Include="System.Security.Principal.Windows" Version="4.7.0-preview1.19504.10" />
<PackageReference Include="System.Security.AccessControl" Version="4.7.0-preview2.19523.17" />
<PackageReference Include="System.Security.Principal.Windows" Version="4.7.0-preview2.19523.17" />
</ItemGroup>
</Project>