-
由 Jeremy Koritzinsky 提交于
Switch to new Microsoft.DotNet.SharedFramework.Sdk and refactor Host/Installer build subsets (#38457) * Start creating runtime, apphost, and targeting packs using the new SDK in the NewSFX subset. * Fix generation of runtime package, runtime symbols package, and host symbols package. * Correcly include hosting files and DIA in the shared framework archives and packages * Include PackageOverrides.txt in the ref pack. * Fix product brand prefix. * Add the shared host installer. * Add the hostfxr build and clean up MacOS building. * Rename host and hostfxr projects to ensure we don't collide with the nuget packaging projects. * Add bundle installer. * Update platform manifest entries to include linux/mac file variations from the runtime. * Update apphost pack to match master. * Fix typo * Include manpages and fix linux package properties. * Fix linux package properties. * Match short-description from packages in master. * Update to uploaded package. * Update metadata and SDK to generate an exact match of the productbuild xml file. * First draft moving crossgen2 to new SDK. * Get crossgen2 pack working with updated SDK. * Build archives from the installer and bundle projects. * Move the dotnet-runtime-deps installers to use the new SDK. * Rough attempt to convert the build to use the new sfx sdk. * Remove now empty subsets. * Update installer subsets for testing. * Remove non-existent packaging project from subsets. * Add missing Windows api shim dll to platform manifest. * Update sharedfx sdk. * Add both versions of the long-name dac to the platform manifest. * Skip builds for non-relevant components on Mono. * Remove installer tests by default temporarily to validate product build. * Remove pkgprojs subset from mono installer build since it doesn't build the hosts. * Skip the apphost pack on mono. * Update host test infra to use the new sfx projects. * Delete an out of date test (the alternative case this test exercises is now the only case in this repo) * Fix packaging tests and remove NETStandard packaging tests since we aren't producing that ref pack any more. * Fixes for test official build failures. Re-eneable installer tests by default. * Fix condition for building linux installers. * Exclude Mono header files from the deps.json. They don't need to be in it. * Don't include the host files on the sfxproj. * Add mono-specific files to the platform manifest. * Remove extra copy step in installer job. * Include libmonosgen-2.0.a in platform manifest. * Fix change in linux-x64 test steps. * Fix display name of linux package steps. * Build the installers based on the portable build when applicable so they can find their artifacts. * The installer build no longer consumes Microsoft.NETCore.Platforms and Microsoft.NETCore.Targets, try removing the dependency on the AllConfigurations leg from the installer build. * Set PackageBrandNameSuffix for runtime-deps packages. * Updated sharedfx sdk * Fix debian runtime-deps dependency elements. * Add new platform manifest entries. * Add icudt.dat to the platform manifest. * Invert conditions to correctly skip generating installers on non-applicable platforms. * Create extra installer subset so we can build just the installers (and avoid double-building nuget packages). Rename the newsfx subset and folder to sfx. * Fix Crossgen2 package name. * Clean up some dead MSBuild goo and update the sharedfx package so we can override the crossgen2 package name without breaking the default package id logic. * Update SharedFX SDK. * Fix discovery of the built dotnet layout for installer tests. Clean up some MSBuild along this path. * Update to use the new refactored packages. * Fix macOS build failures. * Fix linux installer build. * Upgrade to newest version of the SDK and centrally manage versions. * Update SDK to fix build skipping for the shared framework sdk. * Update SDK with full fix for skipbuild with packaging. * Another try for fixing the build-skip infra. * Upgrade SDK. * Fix package ids for mono packages. * Fix installer tests after update. * Add System.Private.Runtime.InteropServices.Javascript.dll to platform manifest * Fix Crossgen2 package to place all files in the tools folder. * Update to SDK with validation targets. * Add new ICU files to manifest. * Crossgen2 doesn't need to go through framework resolution so we can permit non-file-versioned dlls. (jitinterface.dll is currently unversioned). Signed-off-by: NJeremy Koritzinsky <jekoritz@microsoft.com> * Put the property in a property group. * Ensure we build corehost before sfx since we no longer directly build the project from the sfx projects. * Add missing entry for additional ICU data file. * Remove step downloading all artifacts and remove MSBuild glue to hook up looking up artifacts in the full download. Signed-off-by: NJeremy Koritzinsky <jekoritz@microsoft.com> * Update SDK Signed-off-by: NJeremy Koritzinsky <jekoritz@microsoft.com> * Update SDK to get MSI fix. Signed-off-by: NJeremy Koritzinsky <jekoritz@microsoft.com> * Don't even try building the hosting, crossgen2, or bundle installers when RuntimeFlavor is Mono. * Remove out of date comment. Signed-off-by: NJeremy Koritzinsky <jekoritz@microsoft.com> * Rename subsets based on PR discussion. * Update platform manifest and fix path to 3rd party notices for installer. * Remove test feed. * Update subset references I missed. * Fixed the subset arguments in other yaml files. * Add NuGet metadata to packs. * Add diagnostics-specific incremental signing in CoreCLR when the files are produced so the installer portion doesn't need to sign them. * Pass sign type to job. * Add new WASM files. * Enable static graph restore for the whole repo * Fix nits * Add back the runtime-deps packages. They were lost when we moved away from globs. * Don't disable NuGet static graph restore. * Make sure we sign the cross-arch same-os DAC * Update installers package. * Update Installers package from arcade * Update installers package. Co-authored-by: NViktor Hofer <viktor.hofer@microsoft.com>
86d5d16d