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>2017-12-01 02:03:51 +0300
committerGitHub <noreply@github.com>2017-12-01 02:03:51 +0300
commit1db6eb082336f1ce4b656b988bbb1c299fb3b378 (patch)
treec8ec0cd22f602fefbe414d9a019fa8a77f9c92f9 /run.ps1
parent740b81e989a26cbfeadbeac9ea182d79e70b6b91 (diff)
Add support for automatically installing new versions of the 2.1 runtime (#676)
Diffstat (limited to 'run.ps1')
-rw-r--r--run.ps113
1 files changed, 12 insertions, 1 deletions
diff --git a/run.ps1 b/run.ps1
index e46d790b60..f28cbf2f07 100644
--- a/run.ps1
+++ b/run.ps1
@@ -32,6 +32,9 @@ The path to the configuration file that stores values. Defaults to korebuild.jso
.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.
@@ -198,7 +201,15 @@ if ($PackageVersionPropsUrl) {
}
if ($RestoreSources) {
- $MSBuildArguments = "-p:DotNetRestoreSources=$RestoreSources"
+ $MSBuildArguments += "-p:DotNetRestoreSources=$RestoreSources"
+}
+
+if ($AssetRootUrl) {
+ $MSBuildArguments += "-p:DotNetAssetRootUrl=$AssetRootUrl"
+}
+
+if ($AccessTokenSuffix) {
+ $MSBuildArguments += "-p:DotNetAssetRootAccessTokenSuffix=$AccessTokenSuffix"
}
# Execute