Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNate McMaster <natemcmaster@users.noreply.github.com>2018-11-20 22:34:53 +0300
committerGitHub <noreply@github.com>2018-11-20 22:34:53 +0300
commit71ca1faa6bd4e3fbac7b8678c54fbd3e437ce7b9 (patch)
tree78290c5a8af6d8e7053c76ba512edc44d672f064 /run.ps1
parent33095908b91188590c11c667c27abc68d6287f8a (diff)
React to MSBuild breaking changes and remove ProdCon v1 variables (#4161)
This should unblock the consumption of the latest .NET Core SDK, which includes breaking changes in MSBuild. We don't _really_ need the MSBuild APIs which were broken because ProdCon v1 is dead. This removes the unused ProdCon v1 tasks and targets.
Diffstat (limited to 'run.ps1')
-rw-r--r--run.ps144
1 files changed, 0 insertions, 44 deletions
diff --git a/run.ps1 b/run.ps1
index 6b7e36c6cf..aa08c6485b 100644
--- a/run.ps1
+++ b/run.ps1
@@ -38,21 +38,6 @@ The path to the configuration file that stores values. Defaults to korebuild.jso
.PARAMETER CI
Sets up CI specific settings and variables.
-.PARAMETER PackageVersionPropsUrl
-(optional) the url of the package versions props path containing dependency versions.
-
-.PARAMETER AssetRootUrl
-(optional) the base url for acquiring build assets from an orchestrated build
-
-.PARAMETER AccessTokenSuffix
-(optional) the query string to append to any blob store access for PackageVersionPropsUrl, if any.
-
-.PARAMETER RestoreSources
-(optional) Semi-colon delimited list of additional NuGet feeds to use as part of restore.
-
-.PARAMETER ProductBuildId
-(optional) The product build ID for correlation with orchestrated builds.
-
.PARAMETER MSBuildArguments
Additional MSBuild arguments to be passed through.
@@ -90,11 +75,6 @@ param(
[switch]$Reinstall,
[string]$ConfigFile = $null,
[switch]$CI,
- [string]$PackageVersionPropsUrl = $null,
- [string]$AccessTokenSuffix = $null,
- [string]$RestoreSources = $null,
- [string]$AssetRootUrl = $null,
- [string]$ProductBuildId = $null,
[Parameter(ValueFromRemainingArguments = $true)]
[string[]]$MSBuildArguments
)
@@ -213,30 +193,6 @@ if (!$LockFile) { $LockFile = Join-Path $Path 'korebuild-lock.txt' }
if (!$Channel) { $Channel = 'master' }
if (!$ToolsSource) { $ToolsSource = 'https://aspnetcore.blob.core.windows.net/buildtools' }
-if ($PackageVersionPropsUrl) {
- $IntermediateDir = Join-Path $PSScriptRoot 'obj'
- $PropsFilePath = Join-Path $IntermediateDir 'external-dependencies.props'
- New-Item -ItemType Directory $IntermediateDir -ErrorAction Ignore | Out-Null
- Get-RemoteFile "${PackageVersionPropsUrl}${AccessTokenSuffix}" $PropsFilePath
- $MSBuildArguments += "-p:DotNetPackageVersionPropsPath=$PropsFilePath"
-}
-
-if ($RestoreSources) {
- $MSBuildArguments += "-p:DotNetAdditionalRestoreSources=$RestoreSources"
-}
-
-if ($AssetRootUrl) {
- $MSBuildArguments += "-p:DotNetAssetRootUrl=$AssetRootUrl"
-}
-
-if ($AccessTokenSuffix) {
- $MSBuildArguments += "-p:DotNetAssetRootAccessTokenSuffix=$AccessTokenSuffix"
-}
-
-if ($ProductBuildId) {
- $MSBuildArguments += "-p:DotNetProductBuildId=$ProductBuildId"
-}
-
# Execute
$korebuildPath = Get-KoreBuild