From ac23150af3207c85b7c7f19a28444dfcb9fc6e5c Mon Sep 17 00:00:00 2001 From: Daniel Plaisted Date: Wed, 24 Oct 2018 16:05:02 -0700 Subject: [PATCH] Include DesktopUI shared framework and toolset in redist layout --- src/redist/redist.csproj | 1 + src/redist/targets/BundledComponents.targets | 50 +++++++++++++++++--- src/redist/targets/Versions.targets | 50 ++++++++++++++++++++ 3 files changed, 95 insertions(+), 6 deletions(-) create mode 100644 src/redist/targets/Versions.targets diff --git a/src/redist/redist.csproj b/src/redist/redist.csproj index 980d8a938..18b776f5e 100644 --- a/src/redist/redist.csproj +++ b/src/redist/redist.csproj @@ -6,6 +6,7 @@ + diff --git a/src/redist/targets/BundledComponents.targets b/src/redist/targets/BundledComponents.targets index c73c3361b..5c4610240 100644 --- a/src/redist/targets/BundledComponents.targets +++ b/src/redist/targets/BundledComponents.targets @@ -1,7 +1,8 @@ - + https://dotnetcli.azureedge.net/dotnet/ + https://dotnetcli.blob.core.windows.net/dotnet/ $(HostRid) $(HostMonikerRid) @@ -101,6 +102,13 @@ $(DownloadedHostFxrInstallerFileName) $(CoreSetupBlobAccessTokenParam) + + + $(CoreSetupBlobRootUrl)Toolset/$(ToolsetVersion) + dotnet-toolset-internal-$(ToolsetVersion).zip + $(CoreSetupBlobAccessTokenParam) + sdk/$(SdkVersion) + @@ -126,11 +134,31 @@ $(CoreSetupBlobAccessTokenParam) + + + true + false + + + + + $(WinFormsAndWpfSharedFxRootUrl)$(MicrosoftDesktopUIPackageVersion) + $(WinFormsAndWpfSharedFxArchiveFileName) + $(CoreSetupBlobAccessTokenParam) + shared + + + + $(WinFormsAndWpfSharedFxRootUrl)$(MicrosoftDesktopUIPackageVersion) + $(DownloadedWinFormsAndWpfSharedFrameworkInstallerFileName) + $(CoreSetupBlobAccessTokenParam) + + - + $(IntermediateOutputPath)downloads\%(DownloadFileName) @@ -147,9 +175,19 @@ Uri="%(ComponentToDownload.BaseUrl)/%(ComponentToDownload.DownloadFileName)" DestinationPath="%(ComponentToDownload.DownloadDestination)" /> + + + + + + + + + + - - + DestinationDirectory="$(PublishDir)/%(BundledLayoutComponent.RelativeLayoutPath)" /> + diff --git a/src/redist/targets/Versions.targets b/src/redist/targets/Versions.targets new file mode 100644 index 000000000..c0d4fb9eb --- /dev/null +++ b/src/redist/targets/Versions.targets @@ -0,0 +1,50 @@ + + + 3 + 0 + 100 + alpha1 + + + + + + + + + + + + + $(GitCommitCount.PadLeft(6,'0')) + + + + + + $(VersionMajor).$(VersionMinor) + $(VersionMajor).$(VersionMinor).$(VersionPatch) + $(CliVersionNoSuffix)-$(ReleaseSuffix) + $(CliVersionNoSuffix) - $(ReleaseSuffix) + $(CliVersionNoSuffix) + $(CliVersionNoSuffix).$(GitCommitCount) + $(CliVersionNoSuffix) + + $(ReleaseSuffix)-$(GitCommitCount) + + $(CliVersionNoSuffix)-$(ReleaseSuffix)-$(GitCommitCount) + + $(FullNugetVersion) + $(CliVersionNoSuffix) + + $(NugetVersion) + $(NugetVersion) + + + + +