* Update dependencies from https://github.com/dotnet/arcade build
20191222.1
- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19622.1
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.19622.1
* Update dependencies from https://github.com/dotnet/arcade build
20191229.1
- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19629.1
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.19629.1
<Uri>https://github.com/dotnet/command-line-api</Uri>
<Sha>166610c56ff732093f0145a2911d4f6c40b786da</Sha>
</Dependency>
- <Dependency Name="Microsoft.DotNet.RemoteExecutor" Version="5.0.0-beta.19615.1">
+ <Dependency Name="Microsoft.DotNet.RemoteExecutor" Version="5.0.0-beta.19629.1">
<Uri>https://github.com/dotnet/arcade</Uri>
- <Sha>77698ebba1ab096ad9580a5d9ebefe0499ba00ce</Sha>
+ <Sha>f40849c5bbdfd1f1b99801f5a40343f8d4a192c9</Sha>
</Dependency>
</ProductDependencies>
<ToolsetDependencies>
- <Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="5.0.0-beta.19615.1">
+ <Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="5.0.0-beta.19629.1">
<Uri>https://github.com/dotnet/arcade</Uri>
- <Sha>77698ebba1ab096ad9580a5d9ebefe0499ba00ce</Sha>
+ <Sha>f40849c5bbdfd1f1b99801f5a40343f8d4a192c9</Sha>
</Dependency>
<Dependency Name="Microsoft.NETCore.App" Version="5.0.0-alpha.1.19564.1">
<Uri>https://github.com/dotnet/core-setup</Uri>
<SystemMemoryVersion>4.5.3</SystemMemoryVersion>
<XUnitVersion>2.4.1</XUnitVersion>
<XUnitAbstractionsVersion>2.0.3</XUnitAbstractionsVersion>
- <MicrosoftDotNetRemoteExecutorVersion>5.0.0-beta.19615.1</MicrosoftDotNetRemoteExecutorVersion>
+ <MicrosoftDotNetRemoteExecutorVersion>5.0.0-beta.19629.1</MicrosoftDotNetRemoteExecutorVersion>
<cdbsosversion>10.0.18362</cdbsosversion>
</PropertyGroup>
<PropertyGroup>
inputs:
PathtoPublish: '$(Build.SourcesDirectory)/PostBuildLogs'
PublishLocation: Container
- ArtifactName: PostBuilLogs
+ ArtifactName: PostBuildLogs
continueOnError: true
condition: always()
}
}
+# createSdkLocationFile parameter enables a file being generated under the toolset directory
+# which writes the sdk's location into. This is only necessary for cmd --> powershell invocations
+# as dot sourcing isn't possible.
function InitializeDotNetCli([bool]$install, [bool]$createSdkLocationFile) {
if (Test-Path variable:global:_DotNetInstallDir) {
return $global:_DotNetInstallDir
}
$env:DOTNET_INSTALL_DIR = $dotnetRoot
+ }
- if ($createSdkLocationFile) {
- # Create a temporary file under the toolset dir and rename it to sdk.txt to avoid races.
- do {
- $sdkCacheFileTemp = Join-Path $ToolsetDir $([System.IO.Path]::GetRandomFileName())
- }
- until (!(Test-Path $sdkCacheFileTemp))
- Set-Content -Path $sdkCacheFileTemp -Value $dotnetRoot
-
- try {
- Rename-Item -Force -Path $sdkCacheFileTemp 'sdk.txt'
- } catch {
- # Somebody beat us
- Remove-Item -Path $sdkCacheFileTemp
- }
+ # Creates a temporary file under the toolset dir.
+ # The following code block is protecting against concurrent access so that this function can
+ # be called in parallel.
+ if ($createSdkLocationFile) {
+ do {
+ $sdkCacheFileTemp = Join-Path $ToolsetDir $([System.IO.Path]::GetRandomFileName())
+ }
+ until (!(Test-Path $sdkCacheFileTemp))
+ Set-Content -Path $sdkCacheFileTemp -Value $dotnetRoot
+
+ try {
+ Rename-Item -Force -Path $sdkCacheFileTemp 'sdk.txt'
+ } catch {
+ # Somebody beat us
+ Remove-Item -Path $sdkCacheFileTemp
}
}
"dotnet": "3.0.101"
},
"msbuild-sdks": {
- "Microsoft.DotNet.Arcade.Sdk": "5.0.0-beta.19615.1"
+ "Microsoft.DotNet.Arcade.Sdk": "5.0.0-beta.19629.1"
}
}