From 2cd777f06183bf5639578ff3a4162cd3f576e989 Mon Sep 17 00:00:00 2001 From: John Luo Date: Fri, 22 Jun 2018 10:26:49 -0700 Subject: [PATCH] Bust MSBuild cache on retries --- build/PackageArchive.targets | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/build/PackageArchive.targets b/build/PackageArchive.targets index ecf9c0978406..80b3e2dd1518 100644 --- a/build/PackageArchive.targets +++ b/build/PackageArchive.targets @@ -31,6 +31,8 @@ <_FallbackArchiveRestoreSources Include="$(RestoreSources)" /> + + <_FallbackArchiveRestoreSources Include="https://api.nuget.org/v3/index.json" /> <_FallbackArchiveRestoreSources Include="$(BuildDir)" Condition="Exists($(BuildDir))" /> <_FallbackArchiveRestoreSources Include="$(MetapackageRestoreSource)" Condition="Exists($(MetapackageRestoreSource))" /> @@ -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" /> @@ -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" /> @@ -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" /> @@ -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" />