-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[master] Update dependencies from aspnet/Extensions dotnet/arcade (#1…
…6123) * Update dependencies from https://github.com/aspnet/Extensions build 20190616.2 - Microsoft.Extensions.DependencyInjection - 3.0.0-preview7.19316.2 - Microsoft.Extensions.Configuration.Json - 3.0.0-preview7.19316.2 - Microsoft.Extensions.Configuration.EnvironmentVariables - 3.0.0-preview7.19316.2 - Microsoft.Extensions.Configuration - 3.0.0-preview7.19316.2 - Microsoft.Extensions.Caching.Memory - 3.0.0-preview7.19316.2 - Microsoft.Extensions.HostFactoryResolver.Sources - 3.0.0-preview7.19316.2 - Microsoft.Extensions.Logging - 3.0.0-preview7.19316.2 * Update dependencies from https://github.com/dotnet/arcade build 20190615.2 - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19315.2 * Dependency coherency updates - Microsoft.NETCore.App.Runtime.win-x64 - 3.0.0-preview7-27816-03 (parent: Microsoft.Extensions.Logging) - Microsoft.DotNet.PlatformAbstractions - 3.0.0-preview7-27816-03 (parent: Microsoft.Extensions.Logging) - Microsoft.Extensions.DependencyModel - 3.0.0-preview7-27816-03 (parent: Microsoft.Extensions.Logging) - Microsoft.NETCore.App.Runtime.win-x64 - 3.0.0-preview7-27816-03 (parent: Microsoft.Extensions.Logging) - Microsoft.NETCore.App.Ref - 3.0.0-preview7-27816-03 (parent: Microsoft.Extensions.Logging) - NETStandard.Library.Ref - 2.1.0-preview7-27816-03 (parent: Microsoft.Extensions.Logging) - Microsoft.NETCore.App.Runtime.win-x64 - 3.0.0-preview7-27816-03 (parent: Microsoft.Extensions.Logging) - Microsoft.NETCore.App.Runtime.win-x64 - 3.0.0-preview7-27816-03 (parent: Microsoft.Extensions.Logging) - Microsoft.NETCore.App.Runtime.win-x64 - 3.0.0-preview7-27816-03 (parent: Microsoft.Extensions.Logging)
- Loading branch information
1 parent
f9d1df4
commit f313600
Showing
19 changed files
with
1,107 additions
and
195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
#!/usr/bin/env bash | ||
|
||
function Write-PipelineTelemetryError { | ||
local telemetry_category='' | ||
local function_args=() | ||
local message='' | ||
while [[ $# -gt 0 ]]; do | ||
opt="$(echo "${1/#--/-}" | awk '{print tolower($0)}')" | ||
case "$opt" in | ||
-category|-c) | ||
telemetry_category=$2 | ||
shift | ||
;; | ||
-*) | ||
function_args+=("$1 $2") | ||
shift | ||
;; | ||
*) | ||
message=$* | ||
;; | ||
esac | ||
shift | ||
done | ||
|
||
if [[ "$ci" != true ]]; then | ||
echo "$message" >&2 | ||
return | ||
fi | ||
|
||
message="(NETCORE_ENGINEERING_TELEMETRY=$telemetry_category) $message" | ||
function_args+=("$message") | ||
|
||
Write-PipelineTaskError $function_args | ||
} | ||
|
||
function Write-PipelineTaskError { | ||
if [[ "$ci" != true ]]; then | ||
echo "$@" >&2 | ||
return | ||
fi | ||
|
||
message_type="error" | ||
sourcepath='' | ||
linenumber='' | ||
columnnumber='' | ||
error_code='' | ||
|
||
while [[ $# -gt 0 ]]; do | ||
opt="$(echo "${1/#--/-}" | awk '{print tolower($0)}')" | ||
case "$opt" in | ||
-type|-t) | ||
message_type=$2 | ||
shift | ||
;; | ||
-sourcepath|-s) | ||
sourcepath=$2 | ||
shift | ||
;; | ||
-linenumber|-ln) | ||
linenumber=$2 | ||
shift | ||
;; | ||
-columnnumber|-cn) | ||
columnnumber=$2 | ||
shift | ||
;; | ||
-errcode|-e) | ||
error_code=$2 | ||
shift | ||
;; | ||
*) | ||
break | ||
;; | ||
esac | ||
|
||
shift | ||
done | ||
|
||
message="##vso[task.logissue" | ||
|
||
message="$message type=$message_type" | ||
|
||
if [ -n "$sourcepath" ]; then | ||
message="$message;sourcepath=$sourcepath" | ||
fi | ||
|
||
if [ -n "$linenumber" ]; then | ||
message="$message;linenumber=$linenumber" | ||
fi | ||
|
||
if [ -n "$columnnumber" ]; then | ||
message="$message;columnnumber=$columnnumber" | ||
fi | ||
|
||
if [ -n "$error_code" ]; then | ||
message="$message;code=$error_code" | ||
fi | ||
|
||
message="$message]$*" | ||
echo "$message" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
param ( | ||
$dotnetsymbolVersion = $null | ||
) | ||
|
||
$ErrorActionPreference = "Stop" | ||
Set-StrictMode -Version 2.0 | ||
|
||
. $PSScriptRoot\..\tools.ps1 | ||
|
||
$verbosity = "minimal" | ||
|
||
function Installdotnetsymbol ($dotnetsymbolVersion) { | ||
$dotnetsymbolPackageName = "dotnet-symbol" | ||
|
||
$dotnetRoot = InitializeDotNetCli -install:$true | ||
$dotnet = "$dotnetRoot\dotnet.exe" | ||
$toolList = & "$dotnet" tool list --global | ||
|
||
if (($toolList -like "*$dotnetsymbolPackageName*") -and ($toolList -like "*$dotnetsymbolVersion*")) { | ||
Write-Host "dotnet-symbol version $dotnetsymbolVersion is already installed." | ||
} | ||
else { | ||
Write-Host "Installing dotnet-symbol version $dotnetsymbolVersion..." | ||
Write-Host "You may need to restart your command window if this is the first dotnet tool you have installed." | ||
& "$dotnet" tool install $dotnetsymbolPackageName --version $dotnetsymbolVersion --verbosity $verbosity --global | ||
} | ||
} | ||
|
||
Installdotnetsymbol $dotnetsymbolVersion |
Oops, something went wrong.