diff --git a/build/Microsoft.DotNet.Cli.BundledRuntimes.props b/build/Microsoft.DotNet.Cli.BundledRuntimes.props
new file mode 100644
index 000000000..449aaaf67
--- /dev/null
+++ b/build/Microsoft.DotNet.Cli.BundledRuntimes.props
@@ -0,0 +1,115 @@
+
+
+
+
+ dotnet-host-$(ProductMonikerRid).$(SharedHostVersion)$(InstallerExtension)
+ $(PackagesDirectory)/$(DownloadedSharedHostInstallerFileName)
+
+ dotnet-hostfxr-$(ProductMonikerRid).$(HostFxrVersion)$(InstallerExtension)
+ $(PackagesDirectory)/$(DownloadedHostFxrInstallerFileName)
+
+ dotnet-sharedframework-$(ProductMonikerRid).$(SharedFrameworkVersion)$(InstallerExtension)
+ $(PackagesDirectory)/$(DownloadedSharedFrameworkInstallerFileName)
+
+ dotnet-$(ProductMonikerRid).$(SharedFrameworkVersion)$(ArchiveExtension)
+
+
+
+
+ preview
+ 1.0.3
+ 1.0.1
+ 1.0.1
+
+
+ dotnet-host-$(ProductMonikerRid).$(AdditionalSharedHostVersion)$(InstallerExtension)
+ $(PackagesDirectory)/$(AdditionalDownloadedSharedHostInstallerFileName)
+
+ dotnet-hostfxr-$(ProductMonikerRid).$(AdditionalHostFxrVersion)$(InstallerExtension)
+ $(PackagesDirectory)/$(AdditionalDownloadedHostFxrInstallerFileName)
+
+ dotnet-sharedframework-$(ProductMonikerRid).$(AdditionalSharedFrameworkVersion)$(InstallerExtension)
+ $(PackagesDirectory)/$(AdditionalDownloadedSharedFrameworkInstallerFileName)
+
+ dotnet-$(ProductMonikerRid).$(AdditionalSharedFrameworkVersion)$(ArchiveExtension)
+
+
+ https://dotnetcli.azureedge.net/dotnet/
+ $(CoreSetupBlobRootUrl)$(CoreSetupChannel)
+ $(CoreSetupBlobRootUrlWithChannel)/Binaries/$(SharedFrameworkVersion)
+ $(CoreSetupBlobRootUrlWithChannel)/Installers
+ $(IntermediateDirectory)/coreSetupDownload/$(SharedFrameworkVersion)
+ $(CoreSetupDownloadDirectory)/combinedSharedHostAndFrameworkArchive
+
+
+
+ <_DownloadAndExtractItem Include="CombinedSharedHostAndFrameworkArchive"
+ Condition="!Exists('$(CombinedSharedHostAndFrameworkArchive)')">
+ $(SharedFrameworkArchiveBlobRootUrl)/$(CombinedFrameworkHostCompressedFileName)
+ $(CombinedSharedHostAndFrameworkArchive)
+ $(SharedFrameworkPublishDirectory)
+
+
+ <_DownloadAndExtractItem Include="DownloadedSharedFrameworkInstallerFile"
+ Condition="'$(SkipBuildingInstallers)' != 'true' And !Exists('$(DownloadedSharedFrameworkInstallerFile)') And '$(InstallerExtension)' != ''">
+ $(CoreSetupInstallerBlobRootUrl)/$(SharedFrameworkVersion)/$(DownloadedSharedFrameworkInstallerFileName)
+ $(DownloadedSharedFrameworkInstallerFile)
+
+
+
+ <_DownloadAndExtractItem Include="DownloadedSharedHostInstallerFile"
+ Condition="'$(SkipBuildingInstallers)' != 'true' And !Exists('$(DownloadedSharedHostInstallerFile)') And '$(InstallerExtension)' != ''">
+ $(CoreSetupInstallerBlobRootUrl)/$(SharedHostVersion)/$(DownloadedSharedHostInstallerFileName)
+ $(DownloadedSharedHostInstallerFile)
+
+
+
+ <_DownloadAndExtractItem Include="DownloadedHostFxrInstallerFile"
+ Condition="'$(SkipBuildingInstallers)' != 'true' And !Exists('$(DownloadedHostFxrInstallerFile)') And '$(InstallerExtension)' != ''">
+ $(CoreSetupInstallerBlobRootUrl)/$(HostFxrVersion)/$(DownloadedHostFxrInstallerFileName)
+ $(DownloadedHostFxrInstallerFile)
+
+
+
+
+
+
+ $(CoreSetupBlobRootUrl)$(AdditionalCoreSetupChannel)
+ $(AdditionalCoreSetupBlobRootUrlWithChannel)/Binaries/$(AdditionalSharedFrameworkVersion)
+ $(AdditionalCoreSetupBlobRootUrlWithChannel)/Installers
+ $(IntermediateDirectory)/coreSetupDownload/$(AdditionalSharedFrameworkVersion)
+ $(AdditionalCoreSetupDownloadDirectory)/combinedSharedHostAndFrameworkArchive
+
+
+
+ <_DownloadAndExtractItem Include="AdditionalCombinedSharedHostAndFrameworkArchive"
+ Condition="!Exists('$(AdditionalCombinedSharedHostAndFrameworkArchive)')">
+ $(AdditionalSharedFrameworkArchiveBlobRootUrl)/$(AdditionalCombinedFrameworkHostCompressedFileName)
+ $(AdditionalCombinedSharedHostAndFrameworkArchive)
+ $(SharedFrameworkPublishDirectory)
+
+ False
+
+
+ <_DownloadAndExtractItem Include="AdditionalDownloadedSharedFrameworkInstallerFile"
+ Condition="'$(SkipBuildingInstallers)' != 'true' And !Exists('$(AdditionalDownloadedSharedFrameworkInstallerFile)') And '$(InstallerExtension)' != ''">
+ $(AdditionalCoreSetupInstallerBlobRootUrl)/$(AdditionalSharedFrameworkVersion)/$(AdditionalDownloadedSharedFrameworkInstallerFileName)
+ $(AdditionalDownloadedSharedFrameworkInstallerFile)
+
+
+
+ <_DownloadAndExtractItem Include="AdditionalDownloadedSharedHostInstallerFile"
+ Condition="'$(SkipBuildingInstallers)' != 'true' And !Exists('$(AdditionalDownloadedSharedHostInstallerFile)') And '$(InstallerExtension)' != ''">
+ $(AdditionalCoreSetupInstallerBlobRootUrl)/$(AdditionalSharedHostVersion)/$(AdditionalDownloadedSharedHostInstallerFileName)
+ $(AdditionalDownloadedSharedHostInstallerFile)
+
+
+
+ <_DownloadAndExtractItem Include="AdditionalDownloadedHostFxrInstallerFile"
+ Condition="'$(SkipBuildingInstallers)' != 'true' And !Exists('$(AdditionalDownloadedHostFxrInstallerFile)') And '$(InstallerExtension)' != ''">
+ $(AdditionalCoreSetupInstallerBlobRootUrl)/$(AdditionalHostFxrVersion)/$(AdditionalDownloadedHostFxrInstallerFileName)
+ $(AdditionalDownloadedHostFxrInstallerFile)
+
+
+
+
diff --git a/build/Microsoft.DotNet.Cli.Prepare.targets b/build/Microsoft.DotNet.Cli.Prepare.targets
index de5999c24..cd8954107 100644
--- a/build/Microsoft.DotNet.Cli.Prepare.targets
+++ b/build/Microsoft.DotNet.Cli.Prepare.targets
@@ -9,140 +9,17 @@
DependsOnTargets="Init;DownloadHostAndSharedFxArtifacts;RestoreSrcPackages;RestoreToolsPackages" />
-
-
-
-
-
-
-
- dotnet-host-$(ProductMonikerRid).$(SharedHostVersion)$(InstallerExtension)
- $(PackagesDirectory)/$(DownloadedSharedHostInstallerFileName)
-
- dotnet-hostfxr-$(ProductMonikerRid).$(HostFxrVersion)$(InstallerExtension)
- $(PackagesDirectory)/$(DownloadedHostFxrInstallerFileName)
-
- dotnet-sharedframework-$(ProductMonikerRid).$(SharedFrameworkVersion)$(InstallerExtension)
- $(PackagesDirectory)/$(DownloadedSharedFrameworkInstallerFileName)
-
- dotnet-$(ProductMonikerRid).$(SharedFrameworkVersion)$(ArchiveExtension)
-
-
-
-
- preview
- 1.0.3
- 1.0.1
- 1.0.1
-
-
- dotnet-host-$(ProductMonikerRid).$(AdditionalSharedHostVersion)$(InstallerExtension)
- $(PackagesDirectory)/$(AdditionalDownloadedSharedHostInstallerFileName)
-
- dotnet-hostfxr-$(ProductMonikerRid).$(AdditionalHostFxrVersion)$(InstallerExtension)
- $(PackagesDirectory)/$(AdditionalDownloadedHostFxrInstallerFileName)
-
- dotnet-sharedframework-$(ProductMonikerRid).$(AdditionalSharedFrameworkVersion)$(InstallerExtension)
- $(PackagesDirectory)/$(AdditionalDownloadedSharedFrameworkInstallerFileName)
-
- dotnet-$(ProductMonikerRid).$(AdditionalSharedFrameworkVersion)$(ArchiveExtension)
-
-
-
-
-
-
- https://dotnetcli.azureedge.net/dotnet/
- $(CoreSetupBlobRootUrl)$(CoreSetupChannel)
- $(CoreSetupBlobRootUrlWithChannel)/Binaries/$(SharedFrameworkVersion)
- $(CoreSetupBlobRootUrlWithChannel)/Installers
- $(IntermediateDirectory)/coreSetupDownload/$(SharedFrameworkVersion)
- $(CoreSetupDownloadDirectory)/combinedSharedHostAndFrameworkArchive
-
-
-
- <_DownloadAndExtractItem Include="CombinedSharedHostAndFrameworkArchive"
- Condition="!Exists('$(CombinedSharedHostAndFrameworkArchive)')">
- $(SharedFrameworkArchiveBlobRootUrl)/$(CombinedFrameworkHostCompressedFileName)
- $(CombinedSharedHostAndFrameworkArchive)
- $(SharedFrameworkPublishDirectory)
-
-
- <_DownloadAndExtractItem Include="DownloadedSharedFrameworkInstallerFile"
- Condition="'$(SkipBuildingInstallers)' != 'true' And !Exists('$(DownloadedSharedFrameworkInstallerFile)') And '$(InstallerExtension)' != ''">
- $(CoreSetupInstallerBlobRootUrl)/$(SharedFrameworkVersion)/$(DownloadedSharedFrameworkInstallerFileName)
- $(DownloadedSharedFrameworkInstallerFile)
-
-
-
- <_DownloadAndExtractItem Include="DownloadedSharedHostInstallerFile"
- Condition="'$(SkipBuildingInstallers)' != 'true' And !Exists('$(DownloadedSharedHostInstallerFile)') And '$(InstallerExtension)' != ''">
- $(CoreSetupInstallerBlobRootUrl)/$(SharedHostVersion)/$(DownloadedSharedHostInstallerFileName)
- $(DownloadedSharedHostInstallerFile)
-
-
-
- <_DownloadAndExtractItem Include="DownloadedHostFxrInstallerFile"
- Condition="'$(SkipBuildingInstallers)' != 'true' And !Exists('$(DownloadedHostFxrInstallerFile)') And '$(InstallerExtension)' != ''">
- $(CoreSetupInstallerBlobRootUrl)/$(HostFxrVersion)/$(DownloadedHostFxrInstallerFileName)
- $(DownloadedHostFxrInstallerFile)
-
-
-
-
-
-
- $(CoreSetupBlobRootUrl)$(AdditionalCoreSetupChannel)
- $(AdditionalCoreSetupBlobRootUrlWithChannel)/Binaries/$(AdditionalSharedFrameworkVersion)
- $(AdditionalCoreSetupBlobRootUrlWithChannel)/Installers
- $(IntermediateDirectory)/coreSetupDownload/$(AdditionalSharedFrameworkVersion)
- $(AdditionalCoreSetupDownloadDirectory)/combinedSharedHostAndFrameworkArchive
-
-
-
- <_DownloadAndExtractItem Include="AdditionalCombinedSharedHostAndFrameworkArchive"
- Condition="!Exists('$(AdditionalCombinedSharedHostAndFrameworkArchive)')">
- $(AdditionalSharedFrameworkArchiveBlobRootUrl)/$(AdditionalCombinedFrameworkHostCompressedFileName)
- $(AdditionalCombinedSharedHostAndFrameworkArchive)
- $(SharedFrameworkPublishDirectory)
-
- False
-
-
- <_DownloadAndExtractItem Include="AdditionalDownloadedSharedFrameworkInstallerFile"
- Condition="'$(SkipBuildingInstallers)' != 'true' And !Exists('$(AdditionalDownloadedSharedFrameworkInstallerFile)') And '$(InstallerExtension)' != ''">
- $(AdditionalCoreSetupInstallerBlobRootUrl)/$(AdditionalSharedFrameworkVersion)/$(AdditionalDownloadedSharedFrameworkInstallerFileName)
- $(AdditionalDownloadedSharedFrameworkInstallerFile)
-
-
-
- <_DownloadAndExtractItem Include="AdditionalDownloadedSharedHostInstallerFile"
- Condition="'$(SkipBuildingInstallers)' != 'true' And !Exists('$(AdditionalDownloadedSharedHostInstallerFile)') And '$(InstallerExtension)' != ''">
- $(AdditionalCoreSetupInstallerBlobRootUrl)/$(AdditionalSharedHostVersion)/$(AdditionalDownloadedSharedHostInstallerFileName)
- $(AdditionalDownloadedSharedHostInstallerFile)
-
-
-
- <_DownloadAndExtractItem Include="AdditionalDownloadedHostFxrInstallerFile"
- Condition="'$(SkipBuildingInstallers)' != 'true' And !Exists('$(AdditionalDownloadedHostFxrInstallerFile)') And '$(InstallerExtension)' != ''">
- $(AdditionalCoreSetupInstallerBlobRootUrl)/$(AdditionalHostFxrVersion)/$(AdditionalDownloadedHostFxrInstallerFileName)
- $(AdditionalDownloadedHostFxrInstallerFile)
-
-
-
-
-
-
+
%(_DownloadAndExtractItem.OverwriteDestination)
diff --git a/build/prepare/CheckPrereqs.targets b/build/prepare/CheckPrereqs.targets
index 0dfbe5bcf..71faacc8e 100644
--- a/build/prepare/CheckPrereqs.targets
+++ b/build/prepare/CheckPrereqs.targets
@@ -5,8 +5,7 @@
diff --git a/dir.props b/dir.props
index be733b87a..6bbde4f9b 100644
--- a/dir.props
+++ b/dir.props
@@ -20,6 +20,7 @@
+
$(NUGET_PACKAGES)