Skip to content

Commit

Permalink
Merge pull request #2 from KovtunovSergey/master
Browse files Browse the repository at this point in the history
update fork
  • Loading branch information
Fasjeit committed Jun 26, 2018
2 parents 803fb9b + a6e0d32 commit c3f754f
Show file tree
Hide file tree
Showing 87 changed files with 2,197 additions and 1,149 deletions.
2 changes: 1 addition & 1 deletion BuildToolsVersion.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.2.0-preview1-02823-01
2.2.0-preview1-02824-02
2 changes: 1 addition & 1 deletion buildpipeline/windows.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ simpleNode('Windows_NT','latest') {
{
targetHelixQueues = ['Windows.7.Amd64.Open',
'Windows.81.Amd64.Open',
'Windows.10.Amd64.ClientRS3.ES.Open',]
'Windows.10.Amd64.ClientRS4.ES.Open',]
if (params.AGroup == 'x64') {
targetHelixQueues += ['Windows.10.Nano.Amd64.Open']
}
Expand Down
34 changes: 17 additions & 17 deletions dependencies.props
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
These ref versions are pulled from https://github.com/dotnet/versions.
-->
<PropertyGroup>
<CoreFxCurrentRef>19eac6016521652b274e5c842e9d99f5dfb17197</CoreFxCurrentRef>
<CoreClrCurrentRef>19eac6016521652b274e5c842e9d99f5dfb17197</CoreClrCurrentRef>
<CoreSetupCurrentRef>19eac6016521652b274e5c842e9d99f5dfb17197</CoreSetupCurrentRef>
<CoreFxCurrentRef>c617965b6bc1ba3a119fc1a26d21200eabd2eb3e</CoreFxCurrentRef>
<CoreClrCurrentRef>c617965b6bc1ba3a119fc1a26d21200eabd2eb3e</CoreClrCurrentRef>
<CoreSetupCurrentRef>c617965b6bc1ba3a119fc1a26d21200eabd2eb3e</CoreSetupCurrentRef>
<ExternalCurrentRef>96dc7805f5df4a70a55783964ce69dcd91bfca80</ExternalCurrentRef>
<ProjectNTfsCurrentRef>ce50acbed32c03faa79e2ea6c6057775b68c7656</ProjectNTfsCurrentRef>
<ProjectNTfsTestILCCurrentRef>ce50acbed32c03faa79e2ea6c6057775b68c7656</ProjectNTfsTestILCCurrentRef>
<ProjectNTfsCurrentRef>9815f350c07e5d968ed597a0e36f2f8eacaba513</ProjectNTfsCurrentRef>
<ProjectNTfsTestILCCurrentRef>9815f350c07e5d968ed597a0e36f2f8eacaba513</ProjectNTfsTestILCCurrentRef>
<SniCurrentRef>8bd1ec5fac9f0eec34ff6b34b1d878b4359e02dd</SniCurrentRef>
<StandardCurrentRef>270a80f37f01e09111b7b12858f1d0424bf9983b</StandardCurrentRef>
<BuildToolsCurrentRef>ce50acbed32c03faa79e2ea6c6057775b68c7656</BuildToolsCurrentRef>
<BuildToolsCurrentRef>9815f350c07e5d968ed597a0e36f2f8eacaba513</BuildToolsCurrentRef>
</PropertyGroup>

<!-- Product dependency versions. -->
Expand All @@ -31,23 +31,23 @@

<!-- Tests/infrastructure dependency versions. -->
<PropertyGroup>
<CoreFxExpectedPrerelease>preview1-26524-01</CoreFxExpectedPrerelease>
<MicrosoftNETCorePlatformsPackageVersion>2.2.0-preview1-26524-01</MicrosoftNETCorePlatformsPackageVersion>
<MicrosoftNETCoreRuntimeCoreCLRPackageVersion>2.2.0-preview1-26524-01</MicrosoftNETCoreRuntimeCoreCLRPackageVersion>
<ProjectNTfsExpectedPrerelease>beta-26523-00</ProjectNTfsExpectedPrerelease>
<ProjectNTfsTestILCExpectedPrerelease>beta-26523-00</ProjectNTfsTestILCExpectedPrerelease>
<ProjectNTfsTestILCPackageVersion>1.0.0-beta-26523-00</ProjectNTfsTestILCPackageVersion>
<MicrosoftNETCoreDotNetHostPackageVersion>2.2.0-preview1-26523-05</MicrosoftNETCoreDotNetHostPackageVersion>
<MicrosoftNETCoreDotNetHostPolicyPackageVersion>2.2.0-preview1-26523-05</MicrosoftNETCoreDotNetHostPolicyPackageVersion>
<MicrosoftNETCoreAppPackageVersion>2.2.0-preview1-26523-05</MicrosoftNETCoreAppPackageVersion>
<CoreFxExpectedPrerelease>preview1-26526-03</CoreFxExpectedPrerelease>
<MicrosoftNETCorePlatformsPackageVersion>2.2.0-preview1-26526-03</MicrosoftNETCorePlatformsPackageVersion>
<MicrosoftNETCoreRuntimeCoreCLRPackageVersion>2.2.0-preview1-26526-03</MicrosoftNETCoreRuntimeCoreCLRPackageVersion>
<ProjectNTfsExpectedPrerelease>beta-26525-01</ProjectNTfsExpectedPrerelease>
<ProjectNTfsTestILCExpectedPrerelease>beta-26525-01</ProjectNTfsTestILCExpectedPrerelease>
<ProjectNTfsTestILCPackageVersion>1.0.0-beta-26525-01</ProjectNTfsTestILCPackageVersion>
<MicrosoftNETCoreDotNetHostPackageVersion>2.2.0-preview1-26526-01</MicrosoftNETCoreDotNetHostPackageVersion>
<MicrosoftNETCoreDotNetHostPolicyPackageVersion>2.2.0-preview1-26526-01</MicrosoftNETCoreDotNetHostPolicyPackageVersion>
<MicrosoftNETCoreAppPackageVersion>2.2.0-preview1-26526-01</MicrosoftNETCoreAppPackageVersion>

<!-- CoreFX-built SNI identity package -->
<RuntimeNativeSystemDataSqlClientSniPackageVersion>4.4.0</RuntimeNativeSystemDataSqlClientSniPackageVersion>

<AppXRunnerVersion>1.0.3-prerelease-00921-01</AppXRunnerVersion>
<XunitPerfAnalysisPackageVersion>1.0.0-beta-build0019</XunitPerfAnalysisPackageVersion>
<TraceEventPackageVersion>2.0.5</TraceEventPackageVersion>
<XunitNetcoreExtensionsVersion>2.2.0-preview1-02823-01</XunitNetcoreExtensionsVersion>
<XunitNetcoreExtensionsVersion>2.2.0-preview1-02824-02</XunitNetcoreExtensionsVersion>

<!-- Roslyn optimization data package version -->
<OptimizationDataVersion>2.0.0-rc-61101-17</OptimizationDataVersion>
Expand All @@ -56,7 +56,7 @@
<!-- Package versions used as toolsets -->
<PropertyGroup>
<FeedTasksPackage>Microsoft.DotNet.Build.Tasks.Feed</FeedTasksPackage>
<FeedTasksPackageVersion>2.2.0-preview1-02823-01</FeedTasksPackageVersion>
<FeedTasksPackageVersion>2.2.0-preview1-02824-02</FeedTasksPackageVersion>
</PropertyGroup>

<!-- Publish symbol build task package -->
Expand Down
1 change: 1 addition & 0 deletions external/runtime/runtime.depproj
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
<PropertyGroup>
<SymbolPackagesDir>$(PackagesDir)symbolpackages/</SymbolPackagesDir>
<DotNetAssetRootUrl Condition="'$(DotNetAssetRootUrl)' == ''">https://dotnetfeed.blob.core.windows.net/dotnet-core/assets/</DotNetAssetRootUrl>
<DownloadCoreCLRSymbols Condition="'$(DotNetBuildFromSource)' == 'true'">false</DownloadCoreCLRSymbols>
</PropertyGroup>

<Target Name="CalculateCoreCLRSymbolPackageProperties"
Expand Down
6 changes: 3 additions & 3 deletions external/test-runtime/optional.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"net45": {
"dependencies": {
"Microsoft.DotNet.IBCMerge": "4.6.0-alpha-00001",
"TestILC.amd64ret": "1.0.0-beta-26523-00",
"TestILC.armret": "1.0.0-beta-26523-00",
"TestILC.x86ret": "1.0.0-beta-26523-00"
"TestILC.amd64ret": "1.0.0-beta-26525-01",
"TestILC.armret": "1.0.0-beta-26525-01",
"TestILC.x86ret": "1.0.0-beta-26525-01"
}
}
}
Expand Down
20 changes: 9 additions & 11 deletions init-tools.cmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@if not defined _echo @echo off
setlocal
:: TIMEOUT /T 10 /NOBREAK

set INIT_TOOLS_LOG=%~dp0init-tools.log
if [%PACKAGES_DIR%]==[] set PACKAGES_DIR=%~dp0packages\
if [%TOOLRUNTIME_DIR%]==[] set TOOLRUNTIME_DIR=%~dp0Tools
Expand All @@ -25,7 +25,7 @@ if exist "%BUILD_TOOLS_SEMAPHORE%" (
goto :EOF
)

:: if exist "%TOOLRUNTIME_DIR%" rmdir /S /Q "%TOOLRUNTIME_DIR%"
if exist "%TOOLRUNTIME_DIR%" rmdir /S /Q "%TOOLRUNTIME_DIR%"

if exist "%DotNetBuildToolsDir%" (
echo Using tools from '%DotNetBuildToolsDir%'.
Expand All @@ -45,20 +45,19 @@ if exist "%DotNetBuildToolsDir%" (
echo Running %0 > "%INIT_TOOLS_LOG%"

set /p DOTNET_VERSION=< "%~dp0DotnetCLIVersion.txt"
echo %DOTNET_CMD%
:: TIMEOUT /T 10 /NOBREAK
if exist %DOTNET_CMD% goto :afterdotnetrestore
if exist "%DOTNET_CMD%" goto :afterdotnetrestore

echo Installing dotnet cli...
if NOT exist "%DOTNET_PATH%" mkdir "%DOTNET_PATH%"
set DOTNET_ZIP_NAME=dotnet-sdk-%DOTNET_VERSION%-win-x64.zip
set DOTNET_REMOTE_PATH=https://dotnetcli.azureedge.net/dotnet/Sdk/%DOTNET_VERSION%/%DOTNET_ZIP_NAME%
set DOTNET_LOCAL_PATH=%DOTNET_PATH%%DOTNET_ZIP_NAME%
echo %DOTNET_PATH%%DOTNET_ZIP_NAME%
echo Installing '%DOTNET_REMOTE_PATH%' to '%DOTNET_LOCAL_PATH%' >> "%INIT_TOOLS_LOG%"
:: -NoProfile -ExecutionPolicy unrestricted -Command "$retryCount = 0; $success = $false; $proxyCredentialsRequired = $false; do { try { $wc = New-Object Net.WebClient; if ($proxyCredentialsRequired) { [Net.WebRequest]::DefaultWebProxy.Credentials = [Net.CredentialCache]::DefaultNetworkCredentials; } $wc.DownloadFile('%DOTNET_REMOTE_PATH%', '%DOTNET_LOCAL_PATH%'); $success = $true; } catch { if ($retryCount -ge 6) { throw; } else { $we = $_.Exception.InnerException -as [Net.WebException]; $proxyCredentialsRequired = ($we -ne $null -and ([Net.HttpWebResponse]$we.Response).StatusCode -eq [Net.HttpStatusCode]::ProxyAuthenticationRequired); Start-Sleep -Seconds (5 * $retryCount); $retryCount++; } } } while ($success -eq $false); Add-Type -Assembly 'System.IO.Compression.FileSystem' -ErrorVariable AddTypeErrors; if ($AddTypeErrors.Count -eq 0) { [System.IO.Compression.ZipFile]::ExtractToDirectory('%DOTNET_LOCAL_PATH%', '%DOTNET_PATH%') } else { (New-Object -com shell.application).namespace('%DOTNET_PATH%').CopyHere((new-object -com shell.application).namespace('%DOTNET_LOCAL_PATH%').Items(),16) }" >> "%INIT_TOOLS_LOG%"
:: -NoProfile -ExecutionPolicy unrestricted -Command "$retryCount = 0; $success = $true; Add-Type -Assembly 'System.IO.Compression.FileSystem' -ErrorVariable AddTypeErrors; if ($AddTypeErrors.Count -eq 0) { [System.IO.Compression.ZipFile]::ExtractToDirectory('%DOTNET_LOCAL_PATH%', '%DOTNET_PATH%') }" >> "%INIT_TOOLS_LOG%"

powershell -NoProfile -ExecutionPolicy unrestricted -Command "$retryCount = 0; $success = $false; $proxyCredentialsRequired = $false; do { try { $wc = New-Object Net.WebClient; if ($proxyCredentialsRequired) { [Net.WebRequest]::DefaultWebProxy.Credentials = [Net.CredentialCache]::DefaultNetworkCredentials; } $wc.DownloadFile('%DOTNET_REMOTE_PATH%', '%DOTNET_LOCAL_PATH%'); $success = $true; } catch { if ($retryCount -ge 6) { throw; } else { $we = $_.Exception.InnerException -as [Net.WebException]; $proxyCredentialsRequired = ($we -ne $null -and ([Net.HttpWebResponse]$we.Response).StatusCode -eq [Net.HttpStatusCode]::ProxyAuthenticationRequired); Start-Sleep -Seconds (5 * $retryCount); $retryCount++; } } } while ($success -eq $false); Add-Type -Assembly 'System.IO.Compression.FileSystem' -ErrorVariable AddTypeErrors; if ($AddTypeErrors.Count -eq 0) { [System.IO.Compression.ZipFile]::ExtractToDirectory('%DOTNET_LOCAL_PATH%', '%DOTNET_PATH%') } else { (New-Object -com shell.application).namespace('%DOTNET_PATH%').CopyHere((new-object -com shell.application).namespace('%DOTNET_LOCAL_PATH%').Items(),16) }" >> "%INIT_TOOLS_LOG%"
if NOT exist "%DOTNET_LOCAL_PATH%" (
echo ERROR: Could not install dotnet cli correctly. 1>&2
goto :error
)

:afterdotnetrestore

Expand All @@ -67,7 +66,7 @@ echo Restoring BuildTools version %BUILDTOOLS_VERSION%...
echo Running: "%DOTNET_CMD%" restore "%INIT_TOOLS_RESTORE_PROJECT%" --no-cache --packages %PACKAGES_DIR% --source "%BUILDTOOLS_SOURCE%" /p:BuildToolsPackageVersion=%BUILDTOOLS_VERSION% /p:ToolsDir=%TOOLRUNTIME_DIR% >> "%INIT_TOOLS_LOG%"
call "%DOTNET_CMD%" restore "%INIT_TOOLS_RESTORE_PROJECT%" --no-cache --packages %PACKAGES_DIR% --source "%BUILDTOOLS_SOURCE%" /p:BuildToolsPackageVersion=%BUILDTOOLS_VERSION% /p:ToolsDir=%TOOLRUNTIME_DIR% >> "%INIT_TOOLS_LOG%"
if NOT exist "%BUILD_TOOLS_PATH%init-tools.cmd" (
echo ERROR: Could not restore build tools correctly 1111. 1>&2
echo ERROR: Could not restore build tools correctly. 1>&2
goto :error
)

Expand All @@ -78,7 +77,6 @@ set /p ILASMCOMPILER_VERSION=< "%~dp0tools-local\ILAsmVersion.txt"

echo Initializing BuildTools...
echo Running: "%BUILD_TOOLS_PATH%init-tools.cmd" "%~dp0" "%DOTNET_CMD%" "%TOOLRUNTIME_DIR%" >> "%INIT_TOOLS_LOG%"
echo "%BUILD_TOOLS_PATH%init-tools.cmd" "%~dp0" "%DOTNET_CMD%" "%TOOLRUNTIME_DIR%" >> "%INIT_TOOLS_LOG%"
call "%BUILD_TOOLS_PATH%init-tools.cmd" "%~dp0" "%DOTNET_CMD%" "%TOOLRUNTIME_DIR%" >> "%INIT_TOOLS_LOG%"
set INIT_TOOLS_ERRORLEVEL=%ERRORLEVEL%
if not [%INIT_TOOLS_ERRORLEVEL%]==[0] (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,7 @@
<Compile Include="$(MSBuildThisFileDirectory)System\Runtime\Serialization\OptionalFieldAttribute.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\Runtime\Serialization\SafeSerializationEventArgs.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\Runtime\Serialization\SerializationException.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\Runtime\Serialization\SerializationInfo.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\Runtime\Serialization\SerializationInfoEnumerator.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\Runtime\Serialization\StreamingContext.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\Runtime\Versioning\NonVersionableAttribute.cs" />
Expand Down
Loading

0 comments on commit c3f754f

Please sign in to comment.