diff --git a/eng/Build.props b/eng/Build.props index 91b5e653b579..da8835044a54 100644 --- a/eng/Build.props +++ b/eng/Build.props @@ -1,12 +1,6 @@ - - - - - - - + + + + + diff --git a/eng/Signing.props b/eng/Signing.props index dc59b4935f5a..da27b6e54029 100644 --- a/eng/Signing.props +++ b/eng/Signing.props @@ -1,8 +1,7 @@ - - Sdk/$([System.IO.File]::ReadAllText('$(ArtifactsTmpDir)FullNugetVersion.version').Trim()) + Sdk/$([System.IO.File]::ReadAllText('$(ArtifactsTmpDir)FullNugetVersion.version').Trim()) true @@ -89,7 +88,13 @@ PublishFlatContainer="false" /> - + + + + + + + @@ -99,9 +104,6 @@ - - - @@ -110,7 +112,9 @@ + + %(FullPath).sha512 diff --git a/eng/pipelines/templates/stages/vmr-build.yml b/eng/pipelines/templates/stages/vmr-build.yml index a057480d6a15..acea818b3c0f 100644 --- a/eng/pipelines/templates/stages/vmr-build.yml +++ b/eng/pipelines/templates/stages/vmr-build.yml @@ -892,12 +892,30 @@ stages: targetArchitecture: x86 buildPass: 2 reuseBuildArtifactsFrom: + - Windows_x64 + - Windows_x86 + - Windows_arm64 - AzureLinux_x64_Cross_x64 - AzureLinux_x64_Cross_Alpine_x64 - AzureLinux_x64_Cross_arm64 - AzureLinux_x64_Cross_Alpine_arm64 - AzureLinux_x64_Cross_arm - AzureLinux_x64_Cross_Alpine_arm + + - template: ../jobs/vmr-build.yml + parameters: + buildName: Windows + isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }} + vmrBranch: ${{ variables.VmrBranch }} + sign: ${{ variables.signEnabled }} + pool: ${{ parameters.pool_Windows }} + targetOS: windows + targetArchitecture: arm64 + buildPass: 2 + reuseBuildArtifactsFrom: + - Windows_x64 + - Windows_x86 + - Windows_arm64 ### FINAL JOIN ### - ${{ if and(parameters.isBuiltFromVmr, not(parameters.isSourceOnlyBuild), eq(variables['System.TeamProject'], 'internal'), ne(variables['Build.Reason'], 'PullRequest')) }}: diff --git a/src/Installer/redist-installer/Directory.Build.targets b/src/Installer/redist-installer/Directory.Build.targets index 22438f7bda98..959843d4a414 100644 --- a/src/Installer/redist-installer/Directory.Build.targets +++ b/src/Installer/redist-installer/Directory.Build.targets @@ -29,18 +29,28 @@ dotnet-sdk$(PgoTerm)-$(Version)-$(ProductMonikerRid) + + + + + - - + - - - - - - - + + + + + + + + + + diff --git a/src/Installer/redist-installer/redist-installer.proj b/src/Installer/redist-installer/redist-installer.proj index 93541aac3979..0f6fb1bdcffb 100644 --- a/src/Installer/redist-installer/redist-installer.proj +++ b/src/Installer/redist-installer/redist-installer.proj @@ -4,13 +4,18 @@ $(SdkTargetFramework) false true + true - - + + + + + + diff --git a/src/Installer/redist-installer/targets/BundledManifests.targets b/src/Installer/redist-installer/targets/BundledManifests.targets index b7b0582b5189..c5e328dddd84 100644 --- a/src/Installer/redist-installer/targets/BundledManifests.targets +++ b/src/Installer/redist-installer/targets/BundledManifests.targets @@ -52,7 +52,8 @@ + Condition="'$(OS)' == 'Windows_NT' and '$(Architecture)' != 'arm'" + BeforeTargets="GenerateWorkloadManifestsWxs"> $(PkgMicrosoft_DotNet_SignCheck)\tools\Microsoft.DotNet.SignCheck.exe $(ArtifactsLogDir)\workloadmanifestsigncheck.log diff --git a/src/Installer/redist-installer/targets/GenerateLayout.targets b/src/Installer/redist-installer/targets/GenerateLayout.targets index ab57548db0ef..d72b51411f5a 100644 --- a/src/Installer/redist-installer/targets/GenerateLayout.targets +++ b/src/Installer/redist-installer/targets/GenerateLayout.targets @@ -1,324 +1,10 @@ - + - - - -internal - - $(Architecture) - aarch64 - - $(NetRuntimeRid) - $(InstallerTargetArchitecture) - - - - $(MicrosoftAspNetCoreAppRefInternalPackageVersion) - $(MicrosoftNETCorePlatformsPackageVersion) - $(VSRedistCommonWindowsDesktopSharedFrameworkx64100PackageVersion) - $(MicrosoftWindowsDesktopAppRuntimePackageVersion) - 3.0.0 - - x64 - x86 - dotnet-host$(InstallerStartSuffix)-$(SharedHostVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension) - dotnet-hostfxr$(InstallerStartSuffix)-$(HostFxrVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension) - dotnet-runtime$(InstallerStartSuffix)-$(MicrosoftNETCoreAppRuntimePackageVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension) - dotnet-runtime$(InstallerStartSuffix)$(PgoTerm)-$(VSRedistCommonNetCoreSharedFrameworkx64100PackageVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension) - windowsdesktop-runtime-$(MicrosoftWindowsDesktopAppRuntimePackageVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension) - dotnet-targeting-pack-$(MicrosoftNETCoreAppRefPackageVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension) - dotnet-apphost-pack-$(MicrosoftNETCoreAppHostPackageVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension) - dotnet-apphost-pack-$(MicrosoftNETCoreAppHostPackageVersion)-$(SharedFrameworkInstallerFileRid)_$(AlternateArchitecture)$(InstallerExtension) - dotnet-apphost-pack-$(MicrosoftNETCoreAppHostPackageVersion)-$(SharedFrameworkInstallerFileRid)_arm64$(InstallerExtension) - windowsdesktop-targeting-pack-$(MicrosoftWindowsDesktopAppRefPackageVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension) - netstandard-targeting-pack-$(NETStandardLibraryRefPackageVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension) - - netstandard-targeting-pack-$(NETStandardLibraryRefPackageVersion)-osx-x64$(InstallerExtension) - - dotnet-runtime-$(MicrosoftNETCoreAppRuntimePackageVersion)-$(SharedFrameworkRid)$(ArchiveExtension) - dotnet-runtime$(PgoTerm)-$(VSRedistCommonNetCoreSharedFrameworkx64100PackageVersion)-$(SharedFrameworkRid)$(ArchiveExtension) - windowsdesktop-runtime-$(MicrosoftWindowsDesktopAppRuntimePackageVersion)-$(SharedFrameworkRid)$(ArchiveExtension) - - $(SharedFrameworkRid) - $(AspNetCoreInstallerRid) - x64 - aarch64 - - aspnetcore-runtime-$(MicrosoftAspNetCoreAppRuntimePackageVersion)-$(AspNetCoreInstallerRid)$(InstallerExtension) - aspnetcore-runtime-$(VSRedistCommonAspNetCoreSharedFrameworkx64100PackageVersion)-$(AspNetCoreInstallerRid)$(InstallerExtension) - aspnetcore-targeting-pack-$(MicrosoftAspNetCoreAppRefPackageVersion)-$(AspNetCoreInstallerRid)$(InstallerExtension) - aspnetcore-targeting-pack-$(MicrosoftAspNetCoreAppRefInternalPackageVersion)-$(AspNetCoreInstallerRid)$(InstallerExtension) - aspnetcore-targeting-pack-$(MicrosoftAspNetCoreAppRefPackageVersion)-$(AspNetCoreArchiveRid)$(ArchiveExtension) - aspnetcore-runtime-$(MicrosoftAspNetCoreAppRuntimePackageVersion)-$(AspNetCoreArchiveRid)$(ArchiveExtension) - - - true - https://dotnetbuilds.blob.core.windows.net/internal/ - - https://dotnetcli.blob.core.windows.net/dotnet/ - $(OfficialBaseURL) - - $([System.Text.RegularExpressions.Regex]::Replace('$(PublicBaseURL)', '%28file:\/{1,}%29%28.+%29', 'file:///%242')) - - - $(PublicBaseURL)Runtime/$(NetRuntimeBlobVersion) - $(OfficialBaseURL)Runtime/$(NETStandardTargetingPackBlobVersion) - $(PublicBaseURL)aspnetcore/Runtime/$(AspNetCoreBlobVersion) - $(PublicBaseURL)WindowsDesktop/$(WindowsDesktopBlobVersion) - - false - true - false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $(NetRuntimeRootUrl) - $(CombinedFrameworkHostArchiveFileName) - - - - - $(AspNetCoreSharedFxRootUrl) - $(AspNetCoreSharedFxArchiveFileName) - - shared/Microsoft.AspNetCore.App - - - - $(AspNetCoreSharedFxRootUrl) - $(AspNetTargetingPackArchiveFileName) - - - - - $(WinFormsAndWpfSharedFxRootUrl) - $(WinFormsAndWpfSharedFxArchiveFileName) - shared/Microsoft.WindowsDesktop.App - - - - - - - - $(NetRuntimeRootUrl) - $(DownloadedSharedFrameworkInstallerFileName) - - - - $(NetRuntimeRootUrl) - $(DownloadedSharedHostInstallerFileName) - - - - $(NetRuntimeRootUrl) - $(DownloadedHostFxrInstallerFileName) - - - - $(NetRuntimeRootUrl) - $(DownloadedNetCoreAppTargetingPackInstallerFileName) - - - - - $(NetStandardTargetingPackRootUrl) - $(DownloadedNetStandardTargetingPackInstallerFileName) - - - - $(NetRuntimeRootUrl) - $(DownloadedNetCoreAppHostPackInstallerFileName) - - - - - $(NetRuntimeRootUrl) - $(DownloadedAlternateNetCoreAppHostPackInstallerFileName) - - - - - $(NetRuntimeRootUrl) - $(DownloadedArm64NetCoreAppHostPackInstallerFileName) - - - - $(WinFormsAndWpfSharedFxRootUrl) - $(DownloadedWindowsDesktopTargetingPackInstallerFileName) - - - - - - $(AspNetCoreSharedFxRootUrl) - $(DownloadedAspNetTargetingPackInstallerFileName) - - - - $(AspNetCoreSharedFxRootUrl) - $(DownloadedAspNetCoreSharedFxInstallerFileName) - - - - - - $(WinFormsAndWpfSharedFxRootUrl) - $(DownloadedWinFormsAndWpfSharedFrameworkInstallerFileName) - - - - - - - - $(DownloadsFolder)%(DownloadFileName) - - - $(DownloadsFolder)%(DownloadFileName) - - - true - - - %(BaseUrl) - $([System.String]::new('%(ComponentToDownload.PrivateBaseUrl)').Replace('$(PublicBaseURL)', '$(InternalBaseURL)')) - - - - - - %(ComponentToDownload.ShouldDownload) - %(ComponentToDownload.DownloadDestination) - - - - - - - %(ComponentToDownload.ShouldDownload) - %(ComponentToDownload.DownloadDestination) - - - %(ComponentToDownload.ShouldDownload) - %(ComponentToDownload.DownloadDestination) - $(DotNetRuntimeSourceFeedKey) - - - - - - - + - - @@ -389,11 +75,6 @@ - - - @@ -459,7 +140,6 @@ - - - https://netcorenativeassets.blob.core.windows.net/resource-packages/external/windows/wix/Microsoft.Signed.Wix-$(MicrosoftSignedWixVersion).zip - $(ArtifactsDir)Tools/WixTools/$(MicrosoftSignedWixVersion) - $(WixRoot)/WixTools.$(MicrosoftSignedWixVersion).zip - $(WixRoot)/WixDownload.$(MicrosoftSignedWixVersion).sentinel - + + + DownloadBundledComponents; + MsiTargetsSetupInputOutputs; + AcquireWix; + GenerateSdkMsi; + GenerateSdkBundle; + GenerateSdkPlaceholderMsi; + GenerateToolsetNupkg; + GenerateTemplatesNupkgs; + GenerateSdkPlaceholderNupkg; + GenerateRuntimeAnalyzersNupkg + + GenerateSdkBundle + + + DownloadBundledComponents; + AcquireWix; + MsiTargetsSetupInputOutputs; + GenerateWorkloadManifestsWxs + + + $(GenerateSdkBundleDependsOn);GenerateSdkMsi;GenerateTemplatesMsis + + + + + https://netcorenativeassets.blob.core.windows.net/resource-packages/external/windows/wix/Microsoft.Signed.Wix-$(MicrosoftSignedWixVersion).zip + $(ArtifactsDir)Tools/WixTools/$(MicrosoftSignedWixVersion) + $(WixRoot)/WixTools.$(MicrosoftSignedWixVersion).zip + $(WixRoot)/WixDownload.$(MicrosoftSignedWixVersion).sentinel + + + $(ArtifactsTmpDir)/$(ArtifactNameWithVersionCombinedHostHostFxrFrameworkSdk)-engine.exe + + $(MSBuildThisFileDirectory)../packaging/windows + $(SdkPkgSourcesRootDirectory)/generatemsi.ps1 + $(SdkPkgSourcesRootDirectory)/generatesdkplaceholdermsi.ps1 + $(SdkPkgSourcesRootDirectory)/stablefileidforapphosttransform.xslt + $(SdkPkgSourcesRootDirectory)/generatebundle.ps1 + $(SdkPkgSourcesRootDirectory)/generatenupkg.ps1 + + $(ArtifactsBinDir)finalizer/$(Architecture)/$(Configuration)/bin/finalizer.exe + + $(SdkPkgSourcesRootDirectory)/VS.Redist.Common.NetCore.Toolset.nuspec + $(ArtifactsNonShippingPackagesDir)VS.Redist.Common.NetCore.Toolset.$(Architecture).$(FullNugetVersion).nupkg + $(SdkPkgSourcesRootDirectory)/VS.Redist.Common.NetCore.SdkPlaceholder.nuspec + $(ArtifactsNonShippingPackagesDir)VS.Redist.Common.NetCore.SdkPlaceholder.$(Architecture).$(FullNugetVersion).nupkg + + $(ArtifactsBinDir)$(Configuration)\RuntimeAnalyzers + $(SdkPkgSourcesRootDirectory)/VS.Redist.Common.Net.Core.SDK.RuntimeAnalyzers.nuspec + $(ArtifactsNonShippingPackagesDir)VS.Redist.Common.Net.Core.SDK.RuntimeAnalyzers.$(FullNugetVersion).nupkg + $(ArtifactsNonShippingPackagesDir)VS.Redist.Common.Net.Core.SDK.RuntimeAnalyzers.swr + + + $(ArtifactsObjDir)LightCommandPackages + + $(ArtifactsNonShippingPackagesDir) + + + + $(ArtifactsNonShippingPackagesDir)$(SdkMSIInstallerFileName) + + $(DownloadsFolder)$(SdkMSIInstallerFileName) + + Dotnet_CLI + $(ArtifactsNonShippingPackagesDir)dotnet-sdkplaceholder-$(FullNugetVersion)-$(ProductMonikerRid)$(InstallerExtension) + NetCore_SdkPlaceholder + $(ArtifactsShippingPackagesDir)$(ArtifactNameWithVersionCombinedHostHostFxrFrameworkSdk)$(BundleExtension) + + + Dotnet SDK Bundle Installer $(CliProductBandVersion) $(ProductMonikerRid) + + + - $(ArtifactsTmpDir)/$(ArtifactNameWithVersionCombinedHostHostFxrFrameworkSdk)-engine.exe - - $(MSBuildThisFileDirectory)../packaging/windows - $(SdkPkgSourcesRootDirectory)/generatemsi.ps1 - $(SdkPkgSourcesRootDirectory)/generatesdkplaceholdermsi.ps1 - $(SdkPkgSourcesRootDirectory)/stablefileidforapphosttransform.xslt - $(SdkPkgSourcesRootDirectory)/generatebundle.ps1 - $(SdkPkgSourcesRootDirectory)/generatenupkg.ps1 - - $(ArtifactsBinDir)finalizer/$(Architecture)/$(Configuration)/bin/finalizer.exe - - $(SdkPkgSourcesRootDirectory)/VS.Redist.Common.NetCore.Toolset.nuspec - $(ArtifactsNonShippingPackagesDir)VS.Redist.Common.NetCore.Toolset.$(Architecture).$(FullNugetVersion).nupkg - $(SdkPkgSourcesRootDirectory)/VS.Redist.Common.NetCore.SdkPlaceholder.nuspec - $(ArtifactsNonShippingPackagesDir)VS.Redist.Common.NetCore.SdkPlaceholder.$(Architecture).$(FullNugetVersion).nupkg - - $(SdkPkgSourcesRootDirectory)/VS.Redist.Common.Net.Core.SDK.RuntimeAnalyzers.nuspec - $(ArtifactsNonShippingPackagesDir)VS.Redist.Common.Net.Core.SDK.RuntimeAnalyzers.$(FullNugetVersion).nupkg - $(ArtifactsNonShippingPackagesDir)VS.Redist.Common.Net.Core.SDK.RuntimeAnalyzers.swr - - - $(ArtifactsObjDir)/LightCommandPackages - - $(ArtifactsNonShippingPackagesDir) - - - - $(ArtifactsNonShippingPackagesDir)$(ArtifactNameWithVersionSdk)$(InstallerExtension) - Dotnet_CLI - $(ArtifactsNonShippingPackagesDir)dotnet-sdkplaceholder-$(FullNugetVersion)-$(ProductMonikerRid)$(InstallerExtension) - NetCore_SdkPlaceholder - $(ArtifactsShippingPackagesDir)$(ArtifactNameWithVersionCombinedHostHostFxrFrameworkSdk)$(BundleExtension) - - - Dotnet SDK Bundle Installer $(CliProductBandVersion) $(ProductMonikerRid) - $(ProductBandCombinedHostHostFxrFrameworkSdkName) - $([MSBuild]::ValueOrDefault('$(_PatchNumber)', '000000')) @@ -56,16 +86,6 @@ $(FileVersion) - - - - - - - - - - - - - - - - - - - - - @@ -115,8 +120,12 @@ + + + + + @@ -140,6 +150,7 @@ + + + + + + - - + + + + + - + <_Manifests Include="@(BundledManifests)"> $([MSBuild]::NormalizePath($([System.IO.Directory]::GetFiles('%(RestoredMsiNupkgContentPath)/data/', '*$(MsiArchitectureForWorkloadManifests).msi')))) @@ -272,27 +290,32 @@ Overwrite="true" /> - - + @(LatestTemplateInstallerComponent->'%(MSIInstallerFile)') + + $(DownloadsFolder)$(SdkTemplatesMSIInstallerFileName) + $(PkgMicrosoft_DotNet_Build_Tasks_Installers)\build\wix\bundle\upgradePolicies.wxs + + + + - - - + + + + DependsOnTargets="$(GenerateMsisDependsOn)" /> diff --git a/src/Installer/redist-installer/targets/GeneratePKG.targets b/src/Installer/redist-installer/targets/GeneratePKG.targets index 0a66d31acf02..48d7000fb689 100644 --- a/src/Installer/redist-installer/targets/GeneratePKG.targets +++ b/src/Installer/redist-installer/targets/GeneratePKG.targets @@ -118,11 +118,6 @@ - - - - - diff --git a/src/Installer/redist-installer/targets/GenerateRuntimeAnalyzers.targets b/src/Installer/redist-installer/targets/GenerateRuntimeAnalyzers.targets deleted file mode 100644 index e84a36f39ce9..000000000000 --- a/src/Installer/redist-installer/targets/GenerateRuntimeAnalyzers.targets +++ /dev/null @@ -1,7 +0,0 @@ - - - - $(ArtifactsBinDir)$(Configuration)\RuntimeAnalyzers - - - diff --git a/src/Installer/redist-installer/targets/RestoreLayout.targets b/src/Installer/redist-installer/targets/RestoreLayout.targets new file mode 100644 index 000000000000..e943ad4681a0 --- /dev/null +++ b/src/Installer/redist-installer/targets/RestoreLayout.targets @@ -0,0 +1,327 @@ + + + + + -internal + + $(Architecture) + aarch64 + + $(NetRuntimeRid) + $(InstallerTargetArchitecture) + + + + $(MicrosoftAspNetCoreAppRefInternalPackageVersion) + $(MicrosoftNETCorePlatformsPackageVersion) + $(VSRedistCommonWindowsDesktopSharedFrameworkx64100PackageVersion) + $(MicrosoftWindowsDesktopAppRuntimePackageVersion) + 3.0.0 + + x64 + x86 + dotnet-host$(InstallerStartSuffix)-$(SharedHostVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension) + dotnet-hostfxr$(InstallerStartSuffix)-$(HostFxrVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension) + dotnet-runtime$(InstallerStartSuffix)-$(MicrosoftNETCoreAppRuntimePackageVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension) + dotnet-runtime$(InstallerStartSuffix)$(PgoTerm)-$(VSRedistCommonNetCoreSharedFrameworkx64100PackageVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension) + windowsdesktop-runtime-$(MicrosoftWindowsDesktopAppRuntimePackageVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension) + dotnet-targeting-pack-$(MicrosoftNETCoreAppRefPackageVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension) + dotnet-apphost-pack-$(MicrosoftNETCoreAppHostPackageVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension) + dotnet-apphost-pack-$(MicrosoftNETCoreAppHostPackageVersion)-$(SharedFrameworkInstallerFileRid)_$(AlternateArchitecture)$(InstallerExtension) + dotnet-apphost-pack-$(MicrosoftNETCoreAppHostPackageVersion)-$(SharedFrameworkInstallerFileRid)_arm64$(InstallerExtension) + windowsdesktop-targeting-pack-$(MicrosoftWindowsDesktopAppRefPackageVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension) + netstandard-targeting-pack-$(NETStandardLibraryRefPackageVersion)-$(SharedFrameworkInstallerFileRid)$(InstallerExtension) + + netstandard-targeting-pack-$(NETStandardLibraryRefPackageVersion)-osx-x64$(InstallerExtension) + + $(ArtifactNameWithVersionSdk)$(InstallerExtension) + dotnet-$(VersionMajor)$(VersionMinor)templates-$(FullNugetVersion)-$(ProductMonikerRid)$(InstallerExtension) + + dotnet-runtime-$(MicrosoftNETCoreAppRuntimePackageVersion)-$(SharedFrameworkRid)$(ArchiveExtension) + dotnet-runtime$(PgoTerm)-$(VSRedistCommonNetCoreSharedFrameworkx64100PackageVersion)-$(SharedFrameworkRid)$(ArchiveExtension) + windowsdesktop-runtime-$(MicrosoftWindowsDesktopAppRuntimePackageVersion)-$(SharedFrameworkRid)$(ArchiveExtension) + + $(SharedFrameworkRid) + $(AspNetCoreInstallerRid) + x64 + aarch64 + + aspnetcore-runtime-$(MicrosoftAspNetCoreAppRuntimePackageVersion)-$(AspNetCoreInstallerRid)$(InstallerExtension) + aspnetcore-runtime-$(VSRedistCommonAspNetCoreSharedFrameworkx64100PackageVersion)-$(AspNetCoreInstallerRid)$(InstallerExtension) + aspnetcore-targeting-pack-$(MicrosoftAspNetCoreAppRefPackageVersion)-$(AspNetCoreInstallerRid)$(InstallerExtension) + aspnetcore-targeting-pack-$(MicrosoftAspNetCoreAppRefInternalPackageVersion)-$(AspNetCoreInstallerRid)$(InstallerExtension) + aspnetcore-targeting-pack-$(MicrosoftAspNetCoreAppRefPackageVersion)-$(AspNetCoreArchiveRid)$(ArchiveExtension) + aspnetcore-runtime-$(MicrosoftAspNetCoreAppRuntimePackageVersion)-$(AspNetCoreArchiveRid)$(ArchiveExtension) + + + true + https://dotnetbuilds.blob.core.windows.net/internal/ + + https://dotnetcli.blob.core.windows.net/dotnet/ + $(OfficialBaseURL) + + $([System.Text.RegularExpressions.Regex]::Replace('$(PublicBaseURL)', '%28file:\/{1,}%29%28.+%29', 'file:///%242')) + + + $(PublicBaseURL)Runtime/$(NetRuntimeBlobVersion) + $(OfficialBaseURL)Runtime/$(NETStandardTargetingPackBlobVersion) + $(PublicBaseURL)aspnetcore/Runtime/$(AspNetCoreBlobVersion) + $(PublicBaseURL)WindowsDesktop/$(WindowsDesktopBlobVersion) + $(PublicBaseURL)Sdk/$(FullNugetVersion) + + false + true + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(NetRuntimeRootUrl) + $(CombinedFrameworkHostArchiveFileName) + + + + + $(AspNetCoreSharedFxRootUrl) + $(AspNetCoreSharedFxArchiveFileName) + + shared/Microsoft.AspNetCore.App + + + + $(AspNetCoreSharedFxRootUrl) + $(AspNetTargetingPackArchiveFileName) + + + + + $(WinFormsAndWpfSharedFxRootUrl) + $(WinFormsAndWpfSharedFxArchiveFileName) + shared/Microsoft.WindowsDesktop.App + + + + + + + + $(NetRuntimeRootUrl) + $(DownloadedSharedFrameworkInstallerFileName) + + + + $(NetRuntimeRootUrl) + $(DownloadedSharedHostInstallerFileName) + + + + $(NetRuntimeRootUrl) + $(DownloadedHostFxrInstallerFileName) + + + + $(NetRuntimeRootUrl) + $(DownloadedNetCoreAppTargetingPackInstallerFileName) + + + + + $(NetStandardTargetingPackRootUrl) + $(DownloadedNetStandardTargetingPackInstallerFileName) + + + + $(NetRuntimeRootUrl) + $(DownloadedNetCoreAppHostPackInstallerFileName) + + + + + $(NetRuntimeRootUrl) + $(DownloadedAlternateNetCoreAppHostPackInstallerFileName) + + + + + $(NetRuntimeRootUrl) + $(DownloadedArm64NetCoreAppHostPackInstallerFileName) + + + + $(WinFormsAndWpfSharedFxRootUrl) + $(DownloadedWindowsDesktopTargetingPackInstallerFileName) + + + + + + $(AspNetCoreSharedFxRootUrl) + $(DownloadedAspNetTargetingPackInstallerFileName) + + + + $(AspNetCoreSharedFxRootUrl) + $(DownloadedAspNetCoreSharedFxInstallerFileName) + + + + + + $(WinFormsAndWpfSharedFxRootUrl) + $(DownloadedWinFormsAndWpfSharedFrameworkInstallerFileName) + + + + + + + $(SdkRootUrl) + $(SdkMSIInstallerFileName) + + + $(SdkRootUrl) + $(SdkTemplatesMSIInstallerFileName) + + + + + + + + $(DownloadsFolder)%(DownloadFileName) + + + $(DownloadsFolder)%(DownloadFileName) + + + true + + + %(BaseUrl) + $([System.String]::new('%(ComponentToDownload.PrivateBaseUrl)').Replace('$(PublicBaseURL)', '$(InternalBaseURL)')) + + + + + + %(ComponentToDownload.ShouldDownload) + %(ComponentToDownload.DownloadDestination) + + + + + + + %(ComponentToDownload.ShouldDownload) + %(ComponentToDownload.DownloadDestination) + + + %(ComponentToDownload.ShouldDownload) + %(ComponentToDownload.DownloadDestination) + $(DotNetRuntimeSourceFeedKey) + + + + + + + diff --git a/src/SourceBuild/content/repo-projects/dotnet.proj b/src/SourceBuild/content/repo-projects/dotnet.proj index 5f099843db78..f2da1b5ff2a8 100644 --- a/src/SourceBuild/content/repo-projects/dotnet.proj +++ b/src/SourceBuild/content/repo-projects/dotnet.proj @@ -10,20 +10,18 @@ - We need an "empty" build after the last real repo for prebuilt detection to work - this is that file. - If we have a repo that is not in sdk's dependency tree, we can still build it by including it here. --> - + - - - - - - + - - + + + + + diff --git a/src/SourceBuild/content/repo-projects/sdk.proj b/src/SourceBuild/content/repo-projects/sdk.proj index fa38b1d60404..5648eecd52a7 100644 --- a/src/SourceBuild/content/repo-projects/sdk.proj +++ b/src/SourceBuild/content/repo-projects/sdk.proj @@ -68,8 +68,7 @@ - - +