Update dependencies from https://github.com/dotnet/arcade build 20190509.9 (#1934)

- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19259.9
This commit is contained in:
dotnet-maestro[bot] 2019-05-10 12:25:59 +00:00 committed by GitHub
parent a39b10e2ba
commit 1eb1c5e04d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 10 deletions

View file

@ -72,9 +72,9 @@
</Dependency>
</ProductDependencies>
<ToolsetDependencies>
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="1.0.0-beta.19258.5">
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="1.0.0-beta.19259.9">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>9005cee9510d23535c09bd9b6be7c426e526c067</Sha>
<Sha>155080ecb738e189db75f8f2461ebad75d955aa7</Sha>
</Dependency>
</ToolsetDependencies>
</Dependencies>

View file

@ -358,7 +358,7 @@ function InitializeBuildTool() {
ExitWithExitCode 1
}
$buildTool = @{ Path = Join-Path $dotnetRoot "dotnet.exe"; Command = "msbuild" }
$buildTool = @{ Path = Join-Path $dotnetRoot "dotnet.exe"; Command = "msbuild"; Tool = "dotnet"; Framework = "netcoreapp2.1" }
} elseif ($msbuildEngine -eq "vs") {
try {
$msbuildPath = InitializeVisualStudioMSBuild -install:$restore
@ -367,7 +367,7 @@ function InitializeBuildTool() {
ExitWithExitCode 1
}
$buildTool = @{ Path = $msbuildPath; Command = "" }
$buildTool = @{ Path = $msbuildPath; Command = ""; Tool = "vs"; Framework = "net472" }
} else {
Write-Host "Unexpected value of -msbuildEngine: '$msbuildEngine'." -ForegroundColor Red
ExitWithExitCode 1
@ -478,11 +478,11 @@ function Stop-Processes() {
# Terminates the script if the build fails.
#
function MSBuild() {
if ($pipelinesLog -and $msbuildEngine) {
if ($pipelinesLog) {
$buildTool = InitializeBuildTool
$toolsetBuildProject = InitializeToolset
$tf = if ($msbuildEngine -eq "dotnet") { "netcoreapp2.1" } else { "net472" }
$path = Split-Path -parent $toolsetBuildProject
$path = Join-Path $path "$tf\Microsoft.DotNet.Arcade.Sdk.dll"
$path = Join-Path $path (Join-Path $buildTool.Framework "Microsoft.DotNet.Arcade.Sdk.dll")
$args += "/logger:$path"
}

View file

@ -165,11 +165,11 @@ function InstallDotNet {
local install_script=$_GetDotNetInstallScript
local archArg=''
if [[ "$#" -ge "3" ]]; then
if [[ -n "${3:-}" ]]; then
archArg="--architecture $3"
fi
local runtimeArg=''
if [[ "$#" -ge "4" ]]; then
if [[ -n "${4:-}" ]]; then
runtimeArg="--runtime $4"
fi

View file

@ -3,6 +3,6 @@
"dotnet": "3.0.100-preview4-011223"
},
"msbuild-sdks": {
"Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19258.5"
"Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19259.9"
}
}