Update dependencies from https://github.com/dotnet/arcade build 20190517.7
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19267.7
This commit is contained in:
parent
c8d671d46f
commit
9866df1740
4 changed files with 15 additions and 6 deletions
|
@ -72,9 +72,9 @@
|
||||||
</Dependency>
|
</Dependency>
|
||||||
</ProductDependencies>
|
</ProductDependencies>
|
||||||
<ToolsetDependencies>
|
<ToolsetDependencies>
|
||||||
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="1.0.0-beta.19266.4">
|
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="1.0.0-beta.19267.7">
|
||||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||||
<Sha>61cc7d4d347300835925ce5245bfc3ecb6b621d7</Sha>
|
<Sha>55ce2900743cb609e51e2c6487e87e42eb627880</Sha>
|
||||||
</Dependency>
|
</Dependency>
|
||||||
</ToolsetDependencies>
|
</ToolsetDependencies>
|
||||||
</Dependencies>
|
</Dependencies>
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
[CmdletBinding(PositionalBinding=$false)]
|
[CmdletBinding(PositionalBinding=$false)]
|
||||||
Param(
|
Param(
|
||||||
[string][Alias('c')]$configuration = "Debug",
|
[string][Alias('c')]$configuration = "Debug",
|
||||||
|
[string]$platform = $null,
|
||||||
[string] $projects,
|
[string] $projects,
|
||||||
[string][Alias('v')]$verbosity = "minimal",
|
[string][Alias('v')]$verbosity = "minimal",
|
||||||
[string] $msbuildEngine = $null,
|
[string] $msbuildEngine = $null,
|
||||||
|
@ -29,6 +30,7 @@ Param(
|
||||||
function Print-Usage() {
|
function Print-Usage() {
|
||||||
Write-Host "Common settings:"
|
Write-Host "Common settings:"
|
||||||
Write-Host " -configuration <value> Build configuration: 'Debug' or 'Release' (short: -c)"
|
Write-Host " -configuration <value> Build configuration: 'Debug' or 'Release' (short: -c)"
|
||||||
|
Write-Host " -platform <value> Platform configuration: 'x86', 'x64' or any valid Platform value to pass to msbuild"
|
||||||
Write-Host " -verbosity <value> Msbuild verbosity: q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic] (short: -v)"
|
Write-Host " -verbosity <value> Msbuild verbosity: q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic] (short: -v)"
|
||||||
Write-Host " -binaryLog Output binary log (short: -bl)"
|
Write-Host " -binaryLog Output binary log (short: -bl)"
|
||||||
Write-Host " -help Print help and exit"
|
Write-Host " -help Print help and exit"
|
||||||
|
@ -77,6 +79,7 @@ function Build {
|
||||||
InitializeCustomToolset
|
InitializeCustomToolset
|
||||||
|
|
||||||
$bl = if ($binaryLog) { "/bl:" + (Join-Path $LogDir "Build.binlog") } else { "" }
|
$bl = if ($binaryLog) { "/bl:" + (Join-Path $LogDir "Build.binlog") } else { "" }
|
||||||
|
$platformArg = if ($platform) { "/p:Platform=$platform" } else { "" }
|
||||||
|
|
||||||
if ($projects) {
|
if ($projects) {
|
||||||
# Re-assign properties to a new variable because PowerShell doesn't let us append properties directly for unclear reasons.
|
# Re-assign properties to a new variable because PowerShell doesn't let us append properties directly for unclear reasons.
|
||||||
|
@ -88,6 +91,7 @@ function Build {
|
||||||
|
|
||||||
MSBuild $toolsetBuildProj `
|
MSBuild $toolsetBuildProj `
|
||||||
$bl `
|
$bl `
|
||||||
|
$platformArg `
|
||||||
/p:Configuration=$configuration `
|
/p:Configuration=$configuration `
|
||||||
/p:RepoRoot=$RepoRoot `
|
/p:RepoRoot=$RepoRoot `
|
||||||
/p:Restore=$restore `
|
/p:Restore=$restore `
|
||||||
|
|
9
eng/common/dotnet-install.ps1
vendored
9
eng/common/dotnet-install.ps1
vendored
|
@ -8,9 +8,14 @@ Param(
|
||||||
|
|
||||||
. $PSScriptRoot\tools.ps1
|
. $PSScriptRoot\tools.ps1
|
||||||
|
|
||||||
try {
|
|
||||||
$dotnetRoot = Join-Path $RepoRoot ".dotnet"
|
$dotnetRoot = Join-Path $RepoRoot ".dotnet"
|
||||||
InstallDotNet $dotnetRoot $version $architecture $runtime $true
|
|
||||||
|
$installdir = $dotnetRoot
|
||||||
|
try {
|
||||||
|
if ($architecture -and $architecture.Trim() -eq "x86") {
|
||||||
|
$installdir = Join-Path $installdir "x86"
|
||||||
|
}
|
||||||
|
InstallDotNet $installdir $version $architecture $runtime $true
|
||||||
}
|
}
|
||||||
catch {
|
catch {
|
||||||
Write-Host $_
|
Write-Host $_
|
||||||
|
|
|
@ -3,6 +3,6 @@
|
||||||
"dotnet": "3.0.100-preview5-011568"
|
"dotnet": "3.0.100-preview5-011568"
|
||||||
},
|
},
|
||||||
"msbuild-sdks": {
|
"msbuild-sdks": {
|
||||||
"Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19266.4"
|
"Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19267.7"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue