diff --git a/build/InstallerInfo.props b/build/InstallerInfo.props index 5c8c5441a..aa2039683 100644 --- a/build/InstallerInfo.props +++ b/build/InstallerInfo.props @@ -2,5 +2,17 @@ $(PackagesDirectory) $(InstallerOutputDirectory)/$(ArtifactNameWithVersionSdk)$(InstallerExtension) + $(InstallerOutputDirectory)/$(ArtifactNameWithVersionCombinedHostHostFxrFrameworkSdk)$(BundleExtension) + + $(IntermediateDirectory)/layouts + $(LayoutDirectory)/$(ArtifactNameSdk) + + + + + + diff --git a/build/package/Archive.targets b/build/package/Archive.targets index 0148abe18..54352ae27 100644 --- a/build/package/Archive.targets +++ b/build/package/Archive.targets @@ -1,5 +1,9 @@ + + $(PackagesDirectory) + + - - $(PackagesDirectory) - - %(LayoutDefinition.OutputFiles) diff --git a/build/package/Installer.DEB.targets b/build/package/Installer.DEB.targets index ee5c9bd48..aac1f0a03 100644 --- a/build/package/Installer.DEB.targets +++ b/build/package/Installer.DEB.targets @@ -1,22 +1,80 @@ - - $(SdkVersion) - dotnet-dev-$(SdkDebianPackageVersion) - $(IntermediateDirectory)/debian/sdk - + + $(SdkVersion) + dotnet-dev-$(SdkDebianPackageVersion) + $(IntermediateDirectory)/debian/sdk + - + + dotnet-deb-tool + 1.0.0-* + dotnet-deb-tool-consumer + $(IntermediateDirectory)/$(DotnetDebToolConsumerProjectName) + + + + + + /usr/share/dotnet + + package_root + $ + samples + docs + debian + + + + + $(SharedFrameworkVersion) + dotnet-sharedframework-$(SharedFrameworkName)-$(SharedFxDebianPackageVersion) + $(SharedFxDebianPackageName.ToLower()) + $(HostFxrVersion) + dotnet-hostfxr-$(HostFxrDebianPackageVersion) + $(HostFxrDebianPackageName.ToLower()) + dotnet-host + + $(AdditionalSharedFrameworkVersion) + dotnet-sharedframework-$(SharedFrameworkName)-$(AdditionalSharedFxDebianPackageVersion) + $(AdditionalSharedFxDebianPackageName.ToLower()) + $(AdditionalHostFxrVersion) + dotnet-hostfxr-$(AdditionalHostFxrDebianPackageVersion) + $(AdditionalHostFxrDebianPackageName.ToLower()) + + + + + $(RepoRoot)/Documentation/manpages + $(RepoRoot)/test/EndToEnd/EndToEnd.csproj + $(Stage2Directory)/sdk + + + + + $(SdkDebianIntermediateDirectory)/deb-tool-output + $(SdkDebianIntermediateDirectory)/debian-testResults.xml + + + + + $(SdkDebianIntermediateDirectory)/debianLayoutDirectory + $(DebianLayoutDirectory)/$(LayoutPackageRootDirName) + $(DebianLayoutDirectory)/$(LayoutAbsolutePlacementDirName) + $(DebianLayoutDirectory)/$(LayoutSamplesDirName) + $(DebianLayoutDirectory)/$(LayoutDocsDirName) + $(DebianLayoutDirectory)/$(LayoutDebianFilesDirName) + + + + + $(RepoRoot)/packaging/deb/dotnet-debian_config.json + $(DebianLayoutDirectory)/debian_config.json + + + - - - dotnet-deb-tool - 1.0.0-* - dotnet-deb-tool-consumer - $(IntermediateDirectory)/$(DotnetDebToolConsumerProjectName) - - - @@ -26,69 +84,11 @@ - - - /usr/share/dotnet - - package_root - $ - samples - docs - debian - - - - - $(SharedFrameworkVersion) - dotnet-sharedframework-$(SharedFrameworkName)-$(SharedFxDebianPackageVersion) - $(SharedFxDebianPackageName.ToLower()) - $(HostFxrVersion) - dotnet-hostfxr-$(HostFxrDebianPackageVersion) - $(HostFxrDebianPackageName.ToLower()) - dotnet-host - - $(AdditionalSharedFrameworkVersion) - dotnet-sharedframework-$(SharedFrameworkName)-$(AdditionalSharedFxDebianPackageVersion) - $(AdditionalSharedFxDebianPackageName.ToLower()) - $(AdditionalHostFxrVersion) - dotnet-hostfxr-$(AdditionalHostFxrDebianPackageVersion) - $(AdditionalHostFxrDebianPackageName.ToLower()) - - - - - $(RepoRoot)/Documentation/manpages - $(RepoRoot)/test/EndToEnd/EndToEnd.csproj - $(Stage2Directory)/sdk - - - - - $(SdkDebianIntermediateDirectory)/deb-tool-output - $(SdkDebianIntermediateDirectory)/debian-testResults.xml - - - - - $(SdkDebianIntermediateDirectory)/debianLayoutDirectory - $(LayoutDirectory)/$(LayoutPackageRootDirName) - $(LayoutDirectory)/$(LayoutAbsolutePlacementDirName) - $(LayoutDirectory)/$(LayoutSamplesDirName) - $(LayoutDirectory)/$(LayoutDocsDirName) - $(LayoutDirectory)/$(LayoutDebianFilesDirName) - - - - - $(RepoRoot)/packaging/deb/dotnet-debian_config.json - $(LayoutDirectory)/debian_config.json - - $(SharedFxDebianPackageName) @@ -106,9 +106,6 @@ - - - diff --git a/build/package/Installer.MSI.targets b/build/package/Installer.MSI.targets index af6c5e29b..b419b94a4 100644 --- a/build/package/Installer.MSI.targets +++ b/build/package/Installer.MSI.targets @@ -1,39 +1,39 @@ + + + 3.10.2 + https://dotnetcli.azureedge.net/build/wix/wix.$(WixVersion).zip + $(IntermediateDirectory)/WixTools/$(WixVersion) + $(WixRoot)/WixTools.$(WixVersion).zip + $(WixRoot)/WixDownload.$(WixVersion).sentinel + + + + + $(InstallerOutputDirectory)/$(ArtifactNameWithVersionCombinedHostHostFxrFrameworkSdk)-engine.exe + + $(RepoRoot)/packaging/windows/clisdk/generatemsi.ps1 + $(RepoRoot)/packaging/windows/clisdk/generatebundle.ps1 + $(RepoRoot)/packaging/windows/clisdk/generatenupkg.ps1 + + $(RepoRoot)/packaging/windows/clisdk/VS.Redist.Common.Net.Core.SDK.$(Architecture).nuspec + $(InstallerOutputDirectory)/VS.Redist.Common.Net.Core.SDK.$(Architecture).$(FullNugetVersion).nupkg + + + + + $(RepoRoot)/test/Installer/testmsi.ps1 + $(InstallerOutputDirectory)/$(ArtifactNameWithVersionSdk).MsiTested.sentinel + + - - - 3.10.2 - https://dotnetcli.azureedge.net/build/wix/wix.$(WixVersion).zip - $(IntermediateDirectory)/WixTools/$(WixVersion) - $(WixRoot)/WixTools.$(WixVersion).zip - $(WixRoot)/WixDownload.$(WixVersion).sentinel - - - - - $(InstallerOutputDirectory)/$(ArtifactNameWithVersionCombinedHostHostFxrFrameworkSdk)-engine.exe - - $(RepoRoot)/packaging/windows/clisdk/generatemsi.ps1 - $(RepoRoot)/packaging/windows/clisdk/generatebundle.ps1 - $(RepoRoot)/packaging/windows/clisdk/generatenupkg.ps1 - - $(InstallerOutputDirectory)/$(ArtifactNameWithVersionCombinedHostHostFxrFrameworkSdk)$(BundleExtension) - $(RepoRoot)/packaging/windows/clisdk/VS.Redist.Common.Net.Core.SDK.$(Architecture).nuspec - $(InstallerOutputDirectory)/VS.Redist.Common.Net.Core.SDK.$(Architecture).$(FullNugetVersion).nupkg - - - - - - - - - - - $(RepoRoot)/test/Installer/testmsi.ps1 - $(InstallerOutputDirectory)/$(ArtifactNameWithVersionSdk).MsiTested.sentinel - $(IntermediateDirectory)/pkgs/$(SdkVersion) - $(InstallerOutputDirectory)/$(ArtifactNameWithVersionCombinedHostHostFxrFrameworkSdk)$(BundleExtension) - com.microsoft.dotnet.sharedhost.$(SharedHostVersion).component.osx.x64 com.microsoft.dotnet.hostfxr.$(HostFxrVersion).component.osx.x64 @@ -84,11 +82,6 @@ - - - - - diff --git a/build/package/Layout.targets b/build/package/Layout.targets index ae78367bc..ff65dfade 100644 --- a/build/package/Layout.targets +++ b/build/package/Layout.targets @@ -1,15 +1,12 @@ + + $(LayoutDirectory)/$(ArtifactNameSdkDebug) + $(LayoutDirectory)/$(ArtifactNameCombinedHostHostFxrFrameworkSdk) + $(LayoutDirectory)/$(ArtifactNameCombinedFrameworkSdk) + + - - $(IntermediateDirectory)/layouts - - $(LayoutDirectory)/$(ArtifactNameSdk) - $(LayoutDirectory)/$(ArtifactNameSdkDebug) - $(LayoutDirectory)/$(ArtifactNameCombinedHostHostFxrFrameworkSdk) - $(LayoutDirectory)/$(ArtifactNameCombinedFrameworkSdk) - - diff --git a/build/package/Nupkg.targets b/build/package/Nupkg.targets index 4e57d0c41..86ffdcecb 100644 --- a/build/package/Nupkg.targets +++ b/build/package/Nupkg.targets @@ -1,16 +1,14 @@ + + $(Stage2CompilationDirectory)/forPackaging + $(PackagesDirectory) + - - $(RepoRoot)/src - $(Stage2CompilationDirectory)/forPackaging - $(PackagesDirectory) - - - + Microsoft.DotNet.Cli.Utils $(SdkNugetVersion)