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:
authorJohn Luo <johluo@microsoft.com>2018-06-22 20:26:49 +0300
committerJohn Luo <johluo@microsoft.com>2018-06-22 20:26:49 +0300
commit2cd777f06183bf5639578ff3a4162cd3f576e989 (patch)
tree9fb4b10c969cfe09c2afff106ffa0d52802fd296
parenta296fe4cdf029c8a7571cc25c7d01a8fdf90c48d (diff)
Bust MSBuild cache on retries2.1.2
-rw-r--r--build/PackageArchive.targets10
1 files changed, 6 insertions, 4 deletions
diff --git a/build/PackageArchive.targets b/build/PackageArchive.targets
index ecf9c09784..80b3e2dd15 100644
--- a/build/PackageArchive.targets
+++ b/build/PackageArchive.targets
@@ -31,6 +31,8 @@
<ItemGroup>
<_FallbackArchiveRestoreSources Include="$(RestoreSources)" />
+ <!-- Add nuget to restore released packages (i.e. pinned runtimes/metapackages) -->
+ <_FallbackArchiveRestoreSources Include="https://api.nuget.org/v3/index.json" />
<_FallbackArchiveRestoreSources Include="$(BuildDir)" Condition="Exists($(BuildDir))" />
<_FallbackArchiveRestoreSources Include="$(MetapackageRestoreSource)" Condition="Exists($(MetapackageRestoreSource))" />
</ItemGroup>
@@ -59,7 +61,7 @@
Condition="'$(RestorePassed)' == 'false'"
Projects="$(_WorkRoot)Archive.csproj"
Targets="Restore"
- Properties="RestorePackagesPath=$(FallbackStagingDir);RuntimeFrameworkVersion=$(LZMAMicrosoftNETCoreApp21PackageVersion);DotNetRestoreSourcePropsPath=$(GeneratedFallbackRestoreSourcesPropsPath);DotNetBuildOffline=true;AspNetUniverseBuildOffline=true" />
+ Properties="RestorePackagesPath=$(FallbackStagingDir);RuntimeFrameworkVersion=$(LZMAMicrosoftNETCoreApp21PackageVersion);DotNetRestoreSourcePropsPath=$(GeneratedFallbackRestoreSourcesPropsPath);DotNetBuildOffline=true;AspNetUniverseBuildOffline=true;_Target=Restore2" />
<!-- Retry if restore failed -->
<PropertyGroup>
@@ -71,7 +73,7 @@
Condition="'$(RestorePassed)' == 'false'"
Projects="$(_WorkRoot)Archive.csproj"
Targets="Restore"
- Properties="RestorePackagesPath=$(FallbackStagingDir);RuntimeFrameworkVersion=$(LZMAMicrosoftNETCoreApp21PackageVersion);DotNetRestoreSourcePropsPath=$(GeneratedFallbackRestoreSourcesPropsPath);DotNetBuildOffline=true;AspNetUniverseBuildOffline=true" />
+ Properties="RestorePackagesPath=$(FallbackStagingDir);RuntimeFrameworkVersion=$(LZMAMicrosoftNETCoreApp21PackageVersion);DotNetRestoreSourcePropsPath=$(GeneratedFallbackRestoreSourcesPropsPath);DotNetBuildOffline=true;AspNetUniverseBuildOffline=true;_Target=Restore3" />
<!-- Retry if restore failed -->
<PropertyGroup>
@@ -83,7 +85,7 @@
Condition="'$(RestorePassed)' == 'false'"
Projects="$(_WorkRoot)Archive.csproj"
Targets="Restore"
- Properties="RestorePackagesPath=$(FallbackStagingDir);RuntimeFrameworkVersion=$(LZMAMicrosoftNETCoreApp21PackageVersion);DotNetRestoreSourcePropsPath=$(GeneratedFallbackRestoreSourcesPropsPath);DotNetBuildOffline=true;AspNetUniverseBuildOffline=true" />
+ Properties="RestorePackagesPath=$(FallbackStagingDir);RuntimeFrameworkVersion=$(LZMAMicrosoftNETCoreApp21PackageVersion);DotNetRestoreSourcePropsPath=$(GeneratedFallbackRestoreSourcesPropsPath);DotNetBuildOffline=true;AspNetUniverseBuildOffline=true;_Target=Restore4" />
<!-- Retry if restore failed -->
<PropertyGroup>
@@ -94,7 +96,7 @@
Condition="'$(RestorePassed)' == 'false'"
Projects="$(_WorkRoot)Archive.csproj"
Targets="Restore"
- Properties="RestorePackagesPath=$(FallbackStagingDir);RuntimeFrameworkVersion=$(LZMAMicrosoftNETCoreApp21PackageVersion);DotNetRestoreSourcePropsPath=$(GeneratedFallbackRestoreSourcesPropsPath);DotNetBuildOffline=true;AspNetUniverseBuildOffline=true" />
+ Properties="RestorePackagesPath=$(FallbackStagingDir);RuntimeFrameworkVersion=$(LZMAMicrosoftNETCoreApp21PackageVersion);DotNetRestoreSourcePropsPath=$(GeneratedFallbackRestoreSourcesPropsPath);DotNetBuildOffline=true;AspNetUniverseBuildOffline=true;_Target=Restore5" />
<!-- Create the archive -->
<RepoTasks.CreateLzma OutputPath="$(FallbackOutputPath)" Sources="$(FallbackStagingDir)" />