mirror of https://github.com/dotnet/runtime
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: Jeremy 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: Jeremy Koritzinsky <jekoritz@microsoft.com> * Update SDK Signed-off-by: Jeremy Koritzinsky <jekoritz@microsoft.com> * Update SDK to get MSI fix. Signed-off-by: Jeremy 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: Jeremy 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: Viktor Hofer <viktor.hofer@microsoft.com>
This commit is contained in:
parent
d8232a9175
commit
86d5d16d31
18
Build.proj
18
Build.proj
|
@ -12,16 +12,6 @@
|
|||
<ProjectReference Include="@(ProjectToBuild)" />
|
||||
</ItemGroup>
|
||||
|
||||
<!--
|
||||
Exclude installer depproj and pkgproj from static graph restore. We restore them below.
|
||||
Remove when https://github.com/NuGet/Home/issues/9398 is fixed.
|
||||
-->
|
||||
<ItemGroup Condition="'$(MSBuildRestoreSessionId)' != ''">
|
||||
<ProjectReference Remove="@(DepprojProjectToBuild)" />
|
||||
<ProjectReference Remove="@(PkgprojProjectToBuild)" />
|
||||
<ProjectReference Remove="@(BundleProjectToBuild)" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Custom arcade target which isn't available in Microsoft.Build.Traversal. -->
|
||||
<Target Name="Rebuild" DependsOnTargets="Clean;Build" />
|
||||
|
||||
|
@ -36,12 +26,4 @@
|
|||
<MSBuild Projects="$(RepoTasksDir)tasks.proj"
|
||||
Targets="BuildAndRestoreIncrementally"/>
|
||||
</Target>
|
||||
|
||||
<Target Name="RestoreWithoutStaticGraph"
|
||||
BeforeTargets="Restore">
|
||||
<MSBuild Projects="@(DepprojProjectToBuild);@(PkgprojProjectToBuild);@(BundleProjectToBuild)"
|
||||
Properties="MSBuildRestoreSessionId=$([System.Guid]::NewGuid());RestoreUseStaticGraphEvaluation=false"
|
||||
Targets="Restore" />
|
||||
</Target>
|
||||
|
||||
</Project>
|
|
@ -1,4 +1,4 @@
|
|||
<Project>
|
||||
<Project InitialTargets="SetupFilesToSign">
|
||||
|
||||
<!-- If this file was pulled in via prepare-artifacts.proj (a non-SDK project, these files are already
|
||||
imported. -->
|
||||
|
@ -12,7 +12,7 @@
|
|||
|
||||
During post build signing, there are no packages to sign during SignFinalPackages.
|
||||
-->
|
||||
<AllowEmptySignList Condition="'$(SignFinalPackages)' != 'true' or '$(PostBuildSign)' == 'true'">true</AllowEmptySignList>
|
||||
<AllowEmptySignList>true</AllowEmptySignList>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -22,10 +22,6 @@
|
|||
-->
|
||||
<ItemsToSign Remove="@(ItemsToSign)" />
|
||||
|
||||
<!-- Find bundle artifacts, which need multiple stages to fully sign. -->
|
||||
<BundleInstallerEngineArtifact Include="$(ArtifactsPackagesDir)**/*engine.exe" />
|
||||
<BundleInstallerExeArtifact Include="$(ArtifactsPackagesDir)**/*.exe" />
|
||||
|
||||
<!-- apphost and comhost template files are not signed, by design. -->
|
||||
<FileSignInfo Include="apphost.exe;singlefilehost.exe;comhost.dll" CertificateName="None" />
|
||||
|
||||
|
@ -49,126 +45,32 @@
|
|||
<FileExtensionSignInfo Include=".deb;.rpm" CertificateName="LinuxSign" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- When doing post build signing, the file containers (e.g. nupkg, msi, etc.) are
|
||||
processed for signing (opened up, individually signed, etc.) and these individual ItemsToSign
|
||||
elements are unnecessary. When signing within the build, we need to individually process
|
||||
dll's, exes, etc. that go into msi's because these containers are not able to be processed
|
||||
by SignTool after they are packed up. What makes this possible for post build signing
|
||||
is that the build will produce a zip file containing the inputs to the Wix light linker
|
||||
which can be used to create the installer later, after the inputs have been signed and replaced. -->
|
||||
<Choose>
|
||||
<When Condition="'$(PostBuildSign)' != 'true'">
|
||||
<ItemGroup Condition="'$(SignBinaries)' == 'true'">
|
||||
<!-- Sign CoreCLR. -->
|
||||
<ItemsToSign Include="$(CoreCLRSharedFrameworkDir)*.dll" />
|
||||
<ItemsToSign Include="$(CoreCLRSharedFrameworkDir)*.exe" />
|
||||
<Target Name="SetupFilesToSign">
|
||||
<!-- Ensure that we don't miss the DAC or DBI with the globbing below -->
|
||||
<PropertyGroup Condition="'$(SignDiagnostics)' == 'true'">
|
||||
<AllowEmptySignList>false</AllowEmptySignList>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemsToSign Include="$(CoreCLRArtifactsPath)System.Private.CoreLib.dll" />
|
||||
|
||||
<ItemsToSign Include="$(CoreCLRCrossgen2Dir)crossgen2.exe" />
|
||||
<ItemsToSign Include="$(CoreCLRCrossgen2Dir)crossgen2.dll" />
|
||||
<ItemsToSign Include="$(CoreCLRCrossgen2Dir)ILCompiler.DependencyAnalysisFramework.dll" />
|
||||
<ItemsToSign Include="$(CoreCLRCrossgen2Dir)ILCompiler.ReadyToRun.dll" />
|
||||
<ItemsToSign Include="$(CoreCLRCrossgen2Dir)ILCompiler.TypeSystem.ReadyToRun.dll" />
|
||||
<ItemsToSign Include="$(CoreCLRCrossgen2Dir)jitinterface_$(TargetArchitecture).dll" />
|
||||
|
||||
<ItemsToSign Include="$(CoreCLRCrossgen2Dir)clrjit_win_x86_$(TargetArchitecture).dll" />
|
||||
<ItemsToSign Include="$(CoreCLRCrossgen2Dir)clrjit_win_arm_$(TargetArchitecture).dll" />
|
||||
<ItemsToSign Include="$(CoreCLRCrossgen2Dir)clrjit_unix_arm_$(TargetArchitecture).dll" />
|
||||
<ItemsToSign Condition="'$(TargetArchitecture)' == 'arm64' or '$(TargetArchitecture)' == 'x64'" Include="$(CoreCLRCrossgen2Dir)clrjit_win_x64_$(TargetArchitecture).dll" />
|
||||
<ItemsToSign Condition="'$(TargetArchitecture)' == 'arm64' or '$(TargetArchitecture)' == 'x64'" Include="$(CoreCLRCrossgen2Dir)clrjit_win_arm64_$(TargetArchitecture).dll" />
|
||||
<ItemsToSign Condition="'$(TargetArchitecture)' == 'arm64' or '$(TargetArchitecture)' == 'x64'" Include="$(CoreCLRCrossgen2Dir)clrjit_unix_x64_$(TargetArchitecture).dll" />
|
||||
<ItemsToSign Condition="'$(TargetArchitecture)' == 'arm64' or '$(TargetArchitecture)' == 'x64'" Include="$(CoreCLRCrossgen2Dir)clrjit_unix_arm64_$(TargetArchitecture).dll" />
|
||||
|
||||
<ItemsToSign Include="$(CoreCLRArtifactsPath)$(CoreCLRCrossTargetComponentDirName)/sharedFramework/*.dll" Condition="'$(CoreCLRCrossTargetComponentDirName)' != ''" />
|
||||
<ItemsToSign Include="$(CoreCLRArtifactsPath)$(CoreCLRCrossTargetComponentDirName)/sharedFramework/*.exe" Condition="'$(CoreCLRCrossTargetComponentDirName)' != ''" />
|
||||
|
||||
<!-- Sign api-ms-win-core-xstate-l2-1-0 binary as it is only catalog signed in the current SDK. -->
|
||||
<ItemsToSign
|
||||
Condition="'$(Configuration)' == 'Release' and '$(TargetArchitecture)' == 'x86'"
|
||||
Include="$(CoreCLRArtifactsPath)Redist\ucrt\DLLs\$(TargetArchitecture)\api-ms-win-core-xstate-l2-1-0.dll" />
|
||||
|
||||
<!-- Sign libraries. -->
|
||||
<ItemsToSign Include="$(LibrariesNativeArtifactsPath)*.dll" />
|
||||
<ItemsToSign Include="$(LibrariesSharedFrameworkRefArtifactsPath)*.dll" />
|
||||
<!-- Most runtime artifacts will be crossgenned, so sign them post-crossgen. mscorlib isn't. -->
|
||||
<ItemsToSign Include="$(LibrariesSharedFrameworkBinArtifactsPath)mscorlib.dll" />
|
||||
|
||||
<!-- Sign the host. -->
|
||||
<ItemsToSign Include="$(BaseOutputRootPath)corehost/**/hostfxr.dll" />
|
||||
<ItemsToSign Include="$(BaseOutputRootPath)corehost/**/hostpolicy.dll" />
|
||||
<ItemsToSign Include="$(BaseOutputRootPath)corehost/**/dotnet.exe" />
|
||||
<ItemsToSign Include="$(BaseOutputRootPath)corehost/**/ijwhost.dll" />
|
||||
<ItemsToSign Include="$(BaseOutputRootPath)corehost/**/nethost.dll" />
|
||||
|
||||
<!-- Sign managed libraries in installer subset. -->
|
||||
<ItemsToSign Include="$(ArtifactsBinDir)Microsoft.NET.HostModel/**/*.dll" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Sign ready-to-run binaries after crossgen is applied. -->
|
||||
<ItemGroup Condition="'$(SignR2RBinaries)' == 'true'">
|
||||
<ItemsToSign Include="$(CrossGenRootPath)**/*.dll" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="'$(SignMsiFiles)' == 'true'">
|
||||
<ItemsToSign Include="$(ArtifactsPackagesDir)**/*.msi" />
|
||||
<ItemsToSign Include="$(ArtifactsPackagesDir)**/*.cab" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="'$(SignBurnEngineFiles)' == 'true'">
|
||||
<ItemsToSign Include="@(BundleInstallerEngineArtifact)" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="'$(SignBurnBundleFiles)' == 'true'">
|
||||
<!-- Sign the bundles, now that the engine is reattached. Avoid re-signing the engine. -->
|
||||
<ItemsToSign
|
||||
Include="@(BundleInstallerExeArtifact)"
|
||||
Exclude="@(BundleInstallerEngineArtifact)" />
|
||||
<!-- Note: wixstdba is internal to the engine bundle and does not get signed. -->
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="'$(SignFinalPackages)' == 'true'">
|
||||
<DownloadedSymbolPackages Include="$(DownloadDirectory)**\*.symbols.nupkg" />
|
||||
<ItemsToSign Include="$(DownloadDirectory)**\*.nupkg" Exclude="@(DownloadedSymbolPackages)" />
|
||||
|
||||
<!-- The cross OS diagnostics symbol packages need to be signed as they are the only packages
|
||||
that have a specific version of assets that are only meant to be indexed in symbol servers.
|
||||
Since only *symbols.nupkg get indexed, and installer doesn't produce these, we need to glob them for signing. -->
|
||||
<ItemsToSign Include="$(DownloadDirectory)**\*CrossOsDiag*.symbols.nupkg" />
|
||||
|
||||
<ItemsToSign Include="$(DownloadDirectory)**\*.deb" />
|
||||
<ItemsToSign Include="$(DownloadDirectory)**\*.rpm" />
|
||||
</ItemGroup>
|
||||
</When>
|
||||
|
||||
<!-- When doing post build signing, we sign all artifacts we would push.
|
||||
Symbol packages are included too. -->
|
||||
<When Condition="'$(PostBuildSign)' == 'true'">
|
||||
<ItemGroup>
|
||||
<ItemsToSignWithPaths Include="$(DownloadDirectory)**/*.msi" Condition="'$(PrepareArtifacts)' == 'true'" />
|
||||
<ItemsToSignWithPaths Include="$(DownloadDirectory)**/*.exe" Condition="'$(PrepareArtifacts)' == 'true'" />
|
||||
<ItemsToSignWithPaths Include="$(DownloadDirectory)**/*.nupkg" Condition="'$(PrepareArtifacts)' == 'true'" />
|
||||
<ItemsToSignWithPaths Include="$(DownloadDirectory)**/*.zip" Condition="'$(PrepareArtifacts)' == 'true'" />
|
||||
|
||||
<ItemsToSignWithoutPaths Include="@(ItemsToSignWithPaths->'%(Filename)%(Extension)')" />
|
||||
<ItemsToSignPostBuild Include="@(ItemsToSignWithoutPaths->Distinct())" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Even when doing post build signing, sign mscordaccore*.dll and mscordbi.dll -->
|
||||
<ItemGroup Condition="'$(SignBinaries)' == 'true'">
|
||||
<ItemsToSign Include="$(CoreCLRSharedFrameworkDir)mscordaccore*.dll" />
|
||||
<ItemsToSign Include="$(CoreCLRSharedFrameworkDir)mscordbi.dll" />
|
||||
<ItemsToSign Include="$(CoreCLRArtifactsPath)$(CoreCLRCrossTargetComponentDirName)/sharedFramework/mscordaccore*.dll" Condition="'$(CoreCLRCrossTargetComponentDirName)' != ''" />
|
||||
<ItemsToSign Include="$(CoreCLRArtifactsPath)$(CoreCLRCrossTargetComponentDirName)/sharedFramework/mscordbi.dll" Condition="'$(CoreCLRCrossTargetComponentDirName)' != ''" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="'$(SignFinalPackages)' == 'true'">
|
||||
<!-- The cross OS diagnostics symbol packages need to be signed as they are the only packages
|
||||
that have a specific version of assets that are only meant to be indexed in symbol servers.
|
||||
Since only *symbols.nupkg get indexed, and installer doesn't produce these, we need to glob them for signing. -->
|
||||
<ItemsToSign Include="$(DownloadDirectory)**\*CrossOsDiag*.nupkg" />
|
||||
</ItemGroup>
|
||||
</When>
|
||||
</Choose>
|
||||
<ItemGroup Condition="'$(SignDiagnostics)' == 'true'">
|
||||
<ItemsToSign Include="$(DiagnosticsFilesRoot)/**/mscordaccore*.dll" />
|
||||
<ItemsToSign Include="$(DiagnosticsFilesRoot)/**/mscordbi.dll" />
|
||||
<!--
|
||||
The DAC should be signed with the SHA2 cert (both long and short name).
|
||||
We already add the short-name DAC above, so add the long-name DAC here.
|
||||
-->
|
||||
<DacFileSignInfo Include="@(ItemsToSign->'%(FileName)%(Extension)')"
|
||||
Condition="$([System.String]::new('%(FileName)').StartsWith('mscordaccore'))" />
|
||||
<FileSignInfo Include="@(DacFileSignInfo->ClearMetadata()->Distinct())"
|
||||
Exclude="mscordaccore.dll"
|
||||
CertificateName="MicrosoftSHA2" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="'$(SignFinalPackages)' == 'true'">
|
||||
<!-- The cross OS diagnostics symbol packages need to be signed as they are the only packages
|
||||
that have a specific version of assets that are only meant to be indexed in symbol servers.
|
||||
Since only *symbols.nupkg get indexed, and installer doesn't produce these, we need to glob them for signing. -->
|
||||
<ItemsToSign Include="$(DownloadDirectory)**\*CrossOsDiag*.nupkg" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
</Project>
|
||||
|
|
|
@ -7,38 +7,24 @@
|
|||
|
||||
Examples:
|
||||
|
||||
./build.sh CoreHost
|
||||
./build.sh host.native
|
||||
|
||||
This builds only the .NET Core Host.
|
||||
This builds only the .NET host.
|
||||
|
||||
./build.sh corehost installer.managed
|
||||
./build.sh libs+host.native
|
||||
|
||||
This builds the CoreHost and also the Managed installer portion (e.g. Microsoft.NET.HostModel)
|
||||
projects. A space ' ' or '+' are the delimiters between multiple subsets to build.
|
||||
This builds the .NET host and also the manged libraries portion.
|
||||
A space ' ' or '+' are the delimiters between multiple subsets to build.
|
||||
|
||||
./build.sh -test installer.tests
|
||||
./build.sh -test host.tests
|
||||
|
||||
This builds and executes the installer test projects. (The '-test' argument is an Arcade SDK argument
|
||||
that indicates tests should be run. Otherwise, they'll only be built.)
|
||||
|
||||
Quirks:
|
||||
|
||||
This command looks useful, but doesn't work as expected:
|
||||
|
||||
./build.sh -test /p:Subset=CoreHost-Test # (Doesn't work!)
|
||||
|
||||
Intuitively, this should build the host, build the tests, then run the tests on the freshly
|
||||
built host. What actually happens is the tests run on a previously built host. This is because
|
||||
the depproj, pkgproj, and installer subsets process the host artifacts, and those didn't
|
||||
rebuild because those subsets were disabled.
|
||||
|
||||
You can get around this limitation by running the corehost subset, manually copying host
|
||||
artifacts to the test layout, then running the test subset.
|
||||
-->
|
||||
|
||||
<PropertyGroup>
|
||||
<DefaultSubsets>clr+mono+libs+installer</DefaultSubsets>
|
||||
<DefaultSubsets Condition="'$(TargetsMobile)' == 'true'">mono+libs+installer</DefaultSubsets>
|
||||
<DefaultSubsets>clr+mono+libs+host+packs</DefaultSubsets>
|
||||
<DefaultSubsets Condition="'$(TargetsMobile)' == 'true'">mono+libs+packs</DefaultSubsets>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Init _subset here in to allow RuntimeFlavor to be set as early as possible -->
|
||||
|
@ -63,9 +49,11 @@
|
|||
|
||||
<DefaultLibrariesSubsets>libs.native+libs.ref+libs.src+libs.pretest+libs.packages</DefaultLibrariesSubsets>
|
||||
|
||||
<DefaultInstallerSubsets>corehost+installer.managed+installer.depprojs+installer.pkgprojs+bundles+installers+installer.tests</DefaultInstallerSubsets>
|
||||
<DefaultInstallerSubsets Condition="'$(RuntimeFlavor)' == 'Mono'">installer.pkgprojs</DefaultInstallerSubsets>
|
||||
<DefaultInstallerSubsets Condition="'$(RuntimeFlavor)' == 'Mono' and '$(TargetsMobile)' != 'true'">corehost+$(DefaultInstallerSubsets)</DefaultInstallerSubsets>
|
||||
<DefaultHostSubsets>host.native+host.pkg+host.tools+host.tests</DefaultHostSubsets>
|
||||
<DefaultHostSubsets Condition="'$(RuntimeFlavor)' == 'Mono'"></DefaultHostSubsets>
|
||||
<DefaultHostSubsets Condition="'$(RuntimeFlavor)' == 'Mono' and '$(TargetsMobile)' != 'true'">host.native</DefaultHostSubsets>
|
||||
|
||||
<DefaultPacksSubsets>packs.product+packs.tests</DefaultPacksSubsets>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
|
@ -73,8 +61,8 @@
|
|||
<_subset>$(_subset.Replace('+clr+', '+$(DefaultCoreClrSubsets)+'))</_subset>
|
||||
<_subset>$(_subset.Replace('+mono+', '+$(DefaultMonoSubsets)+'))</_subset>
|
||||
<_subset>$(_subset.Replace('+libs+', '+$(DefaultLibrariesSubsets)+'))</_subset>
|
||||
<_subset>$(_subset.Replace('+installer+', '+$(DefaultInstallerSubsets)+'))</_subset>
|
||||
<_subset>$(_subset.Replace('+installer.nocorehost+', '+$(DefaultInstallerSubsets.Replace('corehost+', ''))+'))</_subset>
|
||||
<_subset>$(_subset.Replace('+host+', '+$(DefaultHostSubsets)+'))</_subset>
|
||||
<_subset>$(_subset.Replace('+packs+', '+$(DefaultPacksSubsets)+'))</_subset>
|
||||
|
||||
<!-- Surround _subset in dashes to simplify checks below -->
|
||||
<_subset>+$(_subset.Trim('+'))+</_subset>
|
||||
|
@ -117,19 +105,21 @@
|
|||
<SubsetName Include="Libs.Packages" Description="The projects that produce NuGet packages from libraries." />
|
||||
<SubsetName Include="Libs.Tests" OnDemand="true" Description="The test projects. Note that building this doesn't execute tests: you must also pass the '-test' argument." />
|
||||
|
||||
<!-- Installer -->
|
||||
<SubsetName Include="Installer" Description="The .NET Core hosts, hosting libraries, bundles, and installers. Includes these projects' tests." />
|
||||
<SubsetName Include="CoreHost" Description="The .NET Core hosts." />
|
||||
<SubsetName Include="Installer.NoCoreHost" Description="Hosting libraries, bundles, and installers. Includes these projects' tests." />
|
||||
<SubsetName Include="Installer.Managed" Description="The managed .NET hosting projects. This includes HostModel." />
|
||||
<SubsetName Include="Installer.DepProjs" Description="The dependency projects. These gather shared framework files and run crossgen on them to turn them into ready-to-run (R2R) assemblies for the current platform." />
|
||||
<SubsetName Include="Installer.PkgProjs" Description="The packaging projects. These produce NETCoreApp assets: NuGet packages, installers, zips, and Linux packages." />
|
||||
<SubsetName Include="Bundles" Description="The shared framework bundle installer projects. Produces .exe installers for Windows." />
|
||||
<SubsetName Include="Installers" Description="Generates additional installers. This produces the shared frameworks and their installers." />
|
||||
<SubsetName Include="Installer.Tests" Description="The test projects. Note that building this doesn't execute tests: you must also pass the '-test' argument." />
|
||||
<SubsetName Include="Installer.Publish" OnDemand="true" Description="Builds the installer publish infrastructure." />
|
||||
<!-- Host -->
|
||||
<SubsetName Include="Host" Description="The .NET hosts, packages, hosting libraries, and tests." />
|
||||
<SubsetName Include="Host.Native" Description="The .NET hosts." />
|
||||
<SubsetName Include="Host.Pkg" Description="The .NET host packages." />
|
||||
<SubsetName Include="Host.Tools" Description="The .NET hosting libraries." />
|
||||
<SubsetName Include="Host.Tests" Description="The .NET hosting tests." />
|
||||
|
||||
<!-- Packs -->
|
||||
<SubsetName Include="Packs" Description="Builds the shared framework packs, archives, bundles, installers, and the framework pack tests." />
|
||||
<SubsetName Include="Packs.Product" Description="Builds the shared framework packs, archives, bundles, and installers." />
|
||||
<SubsetName Include="Packs.Installers" Description="Builds the shared framework bundles and installers." />
|
||||
<SubsetName Include="Packs.Tests" Description="The framework pack tests." />
|
||||
|
||||
<!-- Utility -->
|
||||
<SubsetName Include="publish" OnDemand="true" Description="Generate asset manifests and prepare to publish to BAR." />
|
||||
<SubsetName Include="RegenerateDownloadTable" OnDemand="true" Description="Regenerates the nightly build download table" />
|
||||
|
||||
</ItemGroup>
|
||||
|
@ -256,57 +246,62 @@
|
|||
<ProjectToBuild Include="$(LibrariesProjectRoot)tests.proj" Category="libs" Test="true" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Installer sets -->
|
||||
<ItemGroup Condition="$(_subset.Contains('+corehost+'))">
|
||||
<CorehostProjectToBuild Include="$(InstallerProjectRoot)corehost\corehost.proj" SignPhase="Binaries" />
|
||||
<ProjectToBuild Include="@(CorehostProjectToBuild)" BuildInParallel="true" Pack="true" Category="installer" />
|
||||
<!-- Host sets -->
|
||||
<ItemGroup Condition="$(_subset.Contains('+host.native+'))">
|
||||
<CorehostProjectToBuild Include="$(InstallerProjectRoot)corehost\corehost.proj" SignPhase="Binaries" BuildInParallel="false" />
|
||||
<ProjectToBuild Include="@(CorehostProjectToBuild)" Pack="true" Category="host" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="$(_subset.Contains('+installer.managed+'))">
|
||||
<ItemGroup Condition="$(_subset.Contains('+host.tools+'))">
|
||||
<ManagedProjectToBuild Include="$(InstallerProjectRoot)managed\**\*.csproj" SignPhase="Binaries" />
|
||||
<ManagedProjectToBuild Include="$(InstallerProjectRoot)pkg\packaging\pack-managed.proj" />
|
||||
<ProjectToBuild Include="@(ManagedProjectToBuild)" BuildInParallel="true" Pack="true" Category="installer" />
|
||||
<ProjectToBuild Include="@(ManagedProjectToBuild)" BuildInParallel="true" Pack="true" Category="host" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="$(_subset.Contains('+installer.depprojs+'))">
|
||||
<DepprojProjectToBuild Condition="'$(RuntimeFlavor)' == 'CoreCLR'" Include="$(InstallerProjectRoot)pkg\projects\**\*.depproj" SignPhase="R2RBinaries" BuildInParallel="false" />
|
||||
<DepprojProjectToBuild Condition="'$(RuntimeFlavor)' == 'Mono'" Include="$(InstallerProjectRoot)pkg\projects\**\*.depproj" SignPhase="Binaries" BuildInParallel="false" />
|
||||
<ProjectToBuild Include="@(DepprojProjectToBuild)" Pack="true" Category="installer" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="$(_subset.Contains('+installer.pkgprojs+'))">
|
||||
<ItemGroup Condition="$(_subset.Contains('+host.pkg+'))">
|
||||
<PkgprojProjectToBuild Include="$(InstallerProjectRoot)pkg\projects\**\*.pkgproj" SignPhase="MsiFiles" BuildInParallel="false" />
|
||||
<ProjectToBuild Include="@(PkgprojProjectToBuild)" Pack="true" Category="installer" />
|
||||
<ProjectToBuild Include="@(PkgprojProjectToBuild)" Pack="true" Category="host" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="$(_subset.Contains('+bundles+'))">
|
||||
<BundleProjectToBuild Include="$(InstallerProjectRoot)pkg\projects\**\*.bundleproj" SignPhase="BundleInstallerFiles" BuildInParallel="false" />
|
||||
<ProjectToBuild Include="@(BundleProjectToBuild)" Pack="true" Category="installer" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="$(_subset.Contains('+installers+'))">
|
||||
<InstallerProjectToBuild Include="$(InstallerProjectRoot)pkg\packaging\installers.proj" BuildInParallel="false" />
|
||||
<InstallerProjectToBuild Include="$(InstallerProjectRoot)pkg\packaging\vs-insertion-packages.proj" BuildInParallel="false" />
|
||||
<ProjectToBuild Include="@(InstallerProjectToBuild)" Pack="true" Category="installer" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="$(_subset.Contains('+installer.tests+'))">
|
||||
|
||||
<ItemGroup Condition="$(_subset.Contains('+host.tests+'))">
|
||||
<TestProjectToBuild Include="$(InstallerProjectRoot)tests\Microsoft.NET.HostModel.Tests\AppHost.Bundle.Tests\AppHost.Bundle.Tests.csproj" />
|
||||
<TestProjectToBuild Include="$(InstallerProjectRoot)tests\Microsoft.NET.HostModel.Tests\Microsoft.NET.HostModel.AppHost.Tests\Microsoft.NET.HostModel.AppHost.Tests.csproj" />
|
||||
<TestProjectToBuild Include="$(InstallerProjectRoot)tests\Microsoft.NET.HostModel.Tests\Microsoft.NET.HostModel.Bundle.Tests\Microsoft.NET.HostModel.Bundle.Tests.csproj" />
|
||||
<TestProjectToBuild Include="$(InstallerProjectRoot)tests\Microsoft.NET.HostModel.Tests\Microsoft.NET.HostModel.ComHost.Tests\Microsoft.NET.HostModel.ComHost.Tests.csproj" />
|
||||
<TestProjectToBuild Include="$(InstallerProjectRoot)tests\HostActivation.Tests\HostActivation.Tests.csproj" />
|
||||
<TestProjectToBuild Include="$(InstallerProjectRoot)tests\Microsoft.DotNet.CoreSetup.Packaging.Tests\Microsoft.DotNet.CoreSetup.Packaging.Tests.csproj" />
|
||||
<ProjectToBuild Include="@(TestProjectToBuild)" BuildInParallel="true" Test="true" Category="installer" />
|
||||
<ProjectToBuild Include="@(TestProjectToBuild)" BuildInParallel="true" Test="true" Category="host" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="$(_subset.Contains('+installer.publish+'))">
|
||||
<ProjectToBuild Include="$(InstallerProjectRoot)publish\prepare-artifacts.proj" Pack="true" BuildInParallel="false" Category="installer" />
|
||||
<!-- Packs sets -->
|
||||
|
||||
<ItemGroup Condition="$(_subset.Contains('+packs.product+'))">
|
||||
<SharedFrameworkProjectToBuild Include="$(InstallerProjectRoot)pkg\sfx\Microsoft.NETCore.App\Microsoft.NETCore.App.Ref.sfxproj" />
|
||||
<SharedFrameworkProjectToBuild Include="$(InstallerProjectRoot)pkg\sfx\Microsoft.NETCore.App\Microsoft.NETCore.App.Runtime.sfxproj" />
|
||||
<SharedFrameworkProjectToBuild Condition="'$(RuntimeFlavor)' != 'Mono'" Include="$(InstallerProjectRoot)pkg\sfx\Microsoft.NETCore.App\Microsoft.NETCore.App.Host.sfxproj" />
|
||||
<SharedFrameworkProjectToBuild Condition="'$(RuntimeFlavor)' != 'Mono'" Include="$(InstallerProjectRoot)pkg\sfx\Microsoft.NETCore.App\Microsoft.NETCore.App.Crossgen2.sfxproj" />
|
||||
<SharedFrameworkProjectToBuild Condition="'$(RuntimeFlavor)' != 'Mono'" Include="$(InstallerProjectRoot)pkg\sfx\installers\dotnet-host.proj" />
|
||||
<SharedFrameworkProjectToBuild Condition="'$(RuntimeFlavor)' != 'Mono'" Include="$(InstallerProjectRoot)pkg\sfx\installers\dotnet-hostfxr.proj" />
|
||||
<SharedFrameworkProjectToBuild Condition="'$(RuntimeFlavor)' != 'Mono'" Include="$(InstallerProjectRoot)pkg\sfx\installers\dotnet-runtime-deps\*.proj" />
|
||||
<SharedFrameworkProjectToBuild Condition="'$(RuntimeFlavor)' != 'Mono'" Include="$(InstallerProjectRoot)pkg\sfx\bundle\Microsoft.NETCore.App.Bundle.bundleproj" />
|
||||
<ProjectToBuild Include="@(SharedFrameworkProjectToBuild)" Category="packs" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="$(_subset.Contains('+packs.installers+'))">
|
||||
<InstallerProjectToBuild Include="$(InstallerProjectRoot)pkg\sfx\installers.proj" />
|
||||
<ProjectToBuild Include="@(InstallerProjectToBuild)" Category="packs" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="$(_subset.Contains('+packs.tests+'))">
|
||||
<TestProjectToBuild Include="$(InstallerProjectRoot)tests\Microsoft.DotNet.CoreSetup.Packaging.Tests\Microsoft.DotNet.CoreSetup.Packaging.Tests.csproj" />
|
||||
<ProjectToBuild Include="@(TestProjectToBuild)" BuildInParallel="true" Test="true" Category="packs" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="$(_subset.Contains('+publish+'))">
|
||||
<ProjectToBuild Include="$(InstallerProjectRoot)publish\prepare-artifacts.proj" Pack="true" BuildInParallel="false" Category="publish" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Utility -->
|
||||
<ItemGroup Condition="$(_subset.Contains('+regeneratedownloadtable+'))">
|
||||
<ProjectToBuild Include="$(RepoToolsLocalDir)regenerate-download-table.proj" Pack="true" BuildInParallel="false" Category="installer" />
|
||||
<ProjectToBuild Include="$(RepoToolsLocalDir)regenerate-download-table.proj" Pack="true" BuildInParallel="false" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Set default configurations. -->
|
||||
|
|
|
@ -38,10 +38,18 @@
|
|||
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||
<Sha>72b28b7e023d4c3fffa0a0b9748a7d4e8cc799be</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.Build.Tasks.Archives" Version="6.0.0-beta.20552.5">
|
||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||
<Sha>72b28b7e023d4c3fffa0a0b9748a7d4e8cc799be</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.Build.Tasks.Packaging" Version="6.0.0-beta.20552.5">
|
||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||
<Sha>72b28b7e023d4c3fffa0a0b9748a7d4e8cc799be</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.Build.Tasks.Installers" Version="6.0.0-beta.20562.3">
|
||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||
<Sha>9a1e99f6c326a67297b074453e96bdd0cb36e7e3</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.CodeAnalysis" Version="6.0.0-beta.20552.5">
|
||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||
<Sha>72b28b7e023d4c3fffa0a0b9748a7d4e8cc799be</Sha>
|
||||
|
|
|
@ -60,7 +60,9 @@
|
|||
<MicrosoftDotNetGenFacadesVersion>6.0.0-beta.20552.5</MicrosoftDotNetGenFacadesVersion>
|
||||
<MicrosoftDotNetXUnitExtensionsVersion>6.0.0-beta.20552.5</MicrosoftDotNetXUnitExtensionsVersion>
|
||||
<MicrosoftDotNetXUnitConsoleRunnerVersion>2.5.1-beta.20552.5</MicrosoftDotNetXUnitConsoleRunnerVersion>
|
||||
<MicrosoftDotNetBuildTasksArchivesVersion>6.0.0-beta.20552.5</MicrosoftDotNetBuildTasksArchivesVersion>
|
||||
<MicrosoftDotNetBuildTasksPackagingVersion>6.0.0-beta.20552.5</MicrosoftDotNetBuildTasksPackagingVersion>
|
||||
<MicrosoftDotNetBuildTasksInstallersVersion>6.0.0-beta.20562.3</MicrosoftDotNetBuildTasksInstallersVersion>
|
||||
<MicrosoftDotNetRemoteExecutorVersion>6.0.0-beta.20552.5</MicrosoftDotNetRemoteExecutorVersion>
|
||||
<MicrosoftDotNetVersionToolsTasksVersion>6.0.0-beta.20552.5</MicrosoftDotNetVersionToolsTasksVersion>
|
||||
<!-- Installer dependencies -->
|
||||
|
|
|
@ -12,41 +12,6 @@
|
|||
<LibrariesTargetOSConfigurationArchitecture Condition="'$(LibrariesTargetOSConfigurationArchitecture)' == ''">$(LibrariesTargetOS)-$(LibrariesConfiguration)-$(TargetArchitecture)</LibrariesTargetOSConfigurationArchitecture>
|
||||
</PropertyGroup>
|
||||
|
||||
<!--
|
||||
If this is running and the output RID is not the same as the targeted RID, resolve live assets
|
||||
for the targeted RID, if available. This is used to gather asset metadata for the platform
|
||||
manifest. In CI (multi-machine lab) builds, CoreCLR and Libraries artifacts are all downloaded
|
||||
onto the current machine from all platforms for the Installer portion of the build.
|
||||
|
||||
Higher priority than override paths: in official builds, the overrides are passed to the build,
|
||||
but we need to point to the AllArtifacts locations when building the platform manifest.
|
||||
-->
|
||||
<PropertyGroup Condition="
|
||||
'$(RuntimeIdentifier)' != '' and
|
||||
'$(RuntimeIdentifier)' != '$(OutputRid)' and
|
||||
'$(AllArtifactsDownloadPath)' != ''">
|
||||
<!-- Convert the OS component in the RID into names that match the job IDs. -->
|
||||
<ArtifactPlatform>$(RuntimeIdentifier)</ArtifactPlatform>
|
||||
<ArtifactPlatform>$(ArtifactPlatform.Replace('win-', 'windows-'))</ArtifactPlatform>
|
||||
<ArtifactPlatform>$(ArtifactPlatform.Replace('unix-', 'Unix-'))</ArtifactPlatform>
|
||||
<ArtifactPlatform>$(ArtifactPlatform.Replace('linux-', 'Linux-'))</ArtifactPlatform>
|
||||
<ArtifactPlatform>$(ArtifactPlatform.Replace('osx-', 'OSX-'))</ArtifactPlatform>
|
||||
<ArtifactPlatform>$(ArtifactPlatform.Replace('freebsd-', 'FreeBSD-'))</ArtifactPlatform>
|
||||
<ArtifactPlatform>$(ArtifactPlatform.Replace('netbsd-', 'NetBSD-'))</ArtifactPlatform>
|
||||
<!-- Artifact name uses '_' rather than '-'. -->
|
||||
<ArtifactPlatform>$(ArtifactPlatform.Replace('-', '_'))</ArtifactPlatform>
|
||||
|
||||
<CoreCLRArtifactsPath>$([MSBuild]::NormalizeDirectory('$(AllArtifactsDownloadPath)', 'CoreCLRProduct_$(ArtifactPlatform)_$(CoreCLRConfiguration)'))</CoreCLRArtifactsPath>
|
||||
<MonoArtifactsPath>$([MSBuild]::NormalizeDirectory('$(AllArtifactsDownloadPath)', 'MonoProduct_$(ArtifactPlatform)_$(MonoConfiguration)'))</MonoArtifactsPath>
|
||||
<LibrariesArtifactsPath>$([MSBuild]::NormalizeDirectory('$(AllArtifactsDownloadPath)', 'libraries_bin_$(ArtifactPlatform)_$(LibrariesConfiguration)'))</LibrariesArtifactsPath>
|
||||
|
||||
<!--
|
||||
Use '*', calculating these in a static context based on RID is hard. Note that putting '*'
|
||||
through a dir/path normalization function makes it not work, so avoid that.
|
||||
-->
|
||||
<LibrariesTargetOSConfigurationArchitecture>*</LibrariesTargetOSConfigurationArchitecture>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Set up default live asset paths if no overrides provided. -->
|
||||
<PropertyGroup>
|
||||
<CoreCLRArtifactsPath Condition="'$(CoreCLRArtifactsPath)' == ''">$([MSBuild]::NormalizeDirectory('$(RepoRoot)', 'artifacts', 'bin', 'coreclr', '$(CoreCLRTargetOS).$(TargetArchitecture).$(CoreCLRConfiguration)'))</CoreCLRArtifactsPath>
|
||||
|
@ -116,7 +81,7 @@
|
|||
Include="
|
||||
$(CoreCLRSharedFrameworkPdbDir)*.pdb;
|
||||
$(CoreCLRSharedFrameworkPdbDir)*.dbg;
|
||||
$(CoreCLRSharedFrameworkPdbDir)*.dwarf" />
|
||||
$(CoreCLRSharedFrameworkPdbDir)*.dwarf" IsNative="true" />
|
||||
<RuntimeFiles
|
||||
Include="$(CoreCLRArtifactsPdbDir)System.Private.CoreLib.pdb" />
|
||||
<RuntimeFiles Condition="Exists('$(CoreCLRArtifactsPdbDir)System.Private.CoreLib.ni.pdb')"
|
||||
|
@ -130,6 +95,7 @@
|
|||
|
||||
<CoreCLRCrossTargetFiles>
|
||||
<TargetPath>runtime/$(CoreCLRCrossTargetComponentDirName)_$(TargetArchitecture)/native</TargetPath>
|
||||
<IsNative>true</IsNative>
|
||||
</CoreCLRCrossTargetFiles>
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="'$(RuntimeFlavor)' == 'Mono'">
|
||||
|
|
|
@ -48,7 +48,7 @@ jobs:
|
|||
platforms:
|
||||
- Browser_wasm
|
||||
jobParameters:
|
||||
buildArgs: -s mono+libs+installer -c $(_BuildConfig)
|
||||
buildArgs: -s mono+libs+host+packs -c $(_BuildConfig)
|
||||
nameSuffix: wasm
|
||||
isOfficialBuild: ${{ variables.isOfficialBuild }}
|
||||
extraStepsTemplate: /eng/pipelines/common/upload-artifact-step.yml
|
||||
|
|
|
@ -123,11 +123,33 @@ jobs:
|
|||
- ${{ if eq(parameters.osGroup, 'windows') }}:
|
||||
- name: ninjaArg
|
||||
value: '-ninja'
|
||||
|
||||
- name: SignType
|
||||
value: $[ coalesce(variables.OfficialSignType, 'real') ]
|
||||
|
||||
- ${{ parameters.variables }}
|
||||
|
||||
steps:
|
||||
|
||||
# Install MicroBuild for signing the DAC and DBI
|
||||
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
||||
- task: NuGetAuthenticate@0
|
||||
|
||||
- ${{ if eq(parameters.osGroup, 'windows') }}:
|
||||
# NuGet's http cache lasts 30 minutes. If we're on a static machine, this may interfere with
|
||||
# auto-update PRs by preventing the CI build from fetching the new version. Delete the cache.
|
||||
- powershell: Remove-Item -Recurse -ErrorAction Ignore "$env:LocalAppData\NuGet\v3-cache"
|
||||
displayName: Clear NuGet http cache (if exists)
|
||||
|
||||
- task: MicroBuildSigningPlugin@2
|
||||
displayName: Install MicroBuild plugin for Signing
|
||||
inputs:
|
||||
signType: $(SignType)
|
||||
zipSources: false
|
||||
feedSource: https://dnceng.pkgs.visualstudio.com/_packaging/MicroBuildToolset/nuget/v3/index.json
|
||||
continueOnError: false
|
||||
condition: and(succeeded(), in(variables['SignType'], 'real', 'test'))
|
||||
|
||||
# Install native dependencies
|
||||
# Linux builds use docker images with dependencies preinstalled,
|
||||
# and FreeBSD builds use a build agent with dependencies
|
||||
|
@ -208,10 +230,15 @@ jobs:
|
|||
targetFolder: $(buildProductRootFolderPath)/sharedFramework
|
||||
overWrite: true
|
||||
|
||||
# Sign on Windows
|
||||
- ${{ if and(eq(parameters.osGroup, 'windows'), eq(parameters.signBinaries, 'true'), ne(parameters.testGroup, 'clrTools')) }}:
|
||||
- powershell: eng\common\build.ps1 -ci -sign -restore -configuration:$(buildConfig) -warnaserror:0 /p:ArcadeBuild=true /p:OfficialBuild=true /p:TargetOS=$(osGroup) /p:TargetArchitecture=$(archType) /p:Configuration=$(_BuildConfig) /p:DotNetSignType=$env:_SignType -projects $(Build.SourcesDirectory)\eng\empty.csproj
|
||||
displayName: Sign Binaries
|
||||
# Sign diagnostic files on Windows
|
||||
- ${{ if and(eq(parameters.osGroup, 'windows'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), ne(parameters.testGroup, 'clrTools')) }}:
|
||||
- powershell: >-
|
||||
eng\common\build.ps1 -ci -sign -restore -configuration:$(buildConfig) -warnaserror:0
|
||||
/p:DiagnosticsFilesRoot="$(buildProductRootFolderPath)"
|
||||
/p:SignDiagnostics=true
|
||||
/p:DotNetSignType=$(SignType)
|
||||
-projects $(Build.SourcesDirectory)\eng\empty.csproj
|
||||
displayName: Sign Diagnostic Binaries
|
||||
|
||||
- task: PublishPipelineArtifact@1
|
||||
displayName: Publish Signing Logs
|
||||
|
|
|
@ -5,16 +5,12 @@ parameters:
|
|||
|
||||
steps:
|
||||
# Always build the crossdac, that way we know in CI/PR if things break to build.
|
||||
- ${{ if eq(parameters.osGroup, 'windows') }}:
|
||||
- ${{ if notin(parameters.archType, 'x86') }}:
|
||||
- script: set __TestIntermediateDir=int&&$(Build.SourcesDirectory)/src/coreclr/build-runtime$(scriptExt) $(buildConfig) $(archType) -ci -linuxdac $(officialBuildIdArg)
|
||||
displayName: Build Cross OS Linux DAC for Windows
|
||||
- ${{ if and(eq(parameters.osGroup, 'windows'), notin(parameters.archType, 'x86')) }}:
|
||||
- script: set __TestIntermediateDir=int&&$(Build.SourcesDirectory)/src/coreclr/build-runtime$(scriptExt) $(buildConfig) $(archType) -ci -linuxdac $(officialBuildIdArg)
|
||||
displayName: Build Cross OS Linux DAC for Windows
|
||||
|
||||
|
||||
- ${{ if eq(parameters.osGroup, 'windows') }}:
|
||||
- ${{ if notin(parameters.archType, 'x86') }}:
|
||||
- script: set __TestIntermediateDir=int&&$(Build.SourcesDirectory)/src/coreclr/build-runtime$(scriptExt) $(buildConfig) $(archType) -ci -alpinedac $(officialBuildIdArg)
|
||||
displayName: Build Cross OS Linux-musl DAC for Windows
|
||||
- script: set __TestIntermediateDir=int&&$(Build.SourcesDirectory)/src/coreclr/build-runtime$(scriptExt) $(buildConfig) $(archType) -ci -alpinedac $(officialBuildIdArg)
|
||||
displayName: Build Cross OS Linux-musl DAC for Windows
|
||||
|
||||
- task: CopyFiles@2
|
||||
displayName: Gather CrossDac Artifacts (Linux)
|
||||
|
@ -34,6 +30,23 @@ steps:
|
|||
!**/sharedFramework/**/*
|
||||
TargetFolder: '$(buildMuslDacStagingPath)'
|
||||
|
||||
# Sign diagnostic files on Windows
|
||||
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
||||
- powershell: >-
|
||||
eng\common\build.ps1 -ci -sign -restore -configuration:$(buildConfig) -warnaserror:0
|
||||
/p:DiagnosticsFilesRoot="$(buildLinuxDacStagingPath)"
|
||||
/p:SignDiagnostics=true
|
||||
/p:DotNetSignType=$(SignType)
|
||||
-projects $(Build.SourcesDirectory)\eng\empty.csproj
|
||||
displayName: Sign Linux CrossDac
|
||||
- powershell: >-
|
||||
eng\common\build.ps1 -ci -sign -restore -configuration:$(buildConfig) -warnaserror:0
|
||||
/p:DiagnosticsFilesRoot="$(buildMuslDacStagingPath)"
|
||||
/p:SignDiagnostics=true
|
||||
/p:DotNetSignType=$(SignType)
|
||||
-projects $(Build.SourcesDirectory)\eng\empty.csproj
|
||||
displayName: Sign Linux-musl CrossDac
|
||||
|
||||
- ${{ if eq(parameters.osGroup, 'Linux') }}:
|
||||
- task: CopyFiles@2
|
||||
displayName: Gather runtime for CrossDac
|
||||
|
|
|
@ -21,19 +21,13 @@ parameters:
|
|||
|
||||
packageDistroList:
|
||||
- image: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-14.04-debpkg-e5cf912-20175003025046
|
||||
imageRid: ubuntu.14.04
|
||||
rids: []
|
||||
packageType: deb
|
||||
packagingArgs: /p:BuildDebPackage=true
|
||||
- image: mcr.microsoft.com/dotnet-buildtools/prereqs:rhel-7-rpmpkg-c982313-20174116044113
|
||||
imageRid: rhel.7
|
||||
rids:
|
||||
- centos.7
|
||||
- fedora.27
|
||||
- opensuse.42
|
||||
- oraclelinux.7
|
||||
- sles.12
|
||||
packageType: rpm
|
||||
packagingArgs: /p:BuildRpmPackage=true
|
||||
|
||||
isOfficialBuild: false
|
||||
useOfficialAllConfigurations: false
|
||||
buildFullPlatformManifest: false
|
||||
|
||||
liveRuntimeBuildConfig: ''
|
||||
|
@ -117,7 +111,7 @@ jobs:
|
|||
|
||||
- name: BaseJobBuildCommand
|
||||
value: >-
|
||||
build.cmd -subset installer -ci
|
||||
build.cmd -subset host+packs -ci
|
||||
$(BuildAction)
|
||||
-configuration $(_BuildConfig)
|
||||
$(LiveOverridePathArgs)
|
||||
|
@ -155,7 +149,7 @@ jobs:
|
|||
|
||||
- name: BaseJobBuildCommand
|
||||
value: >-
|
||||
$(Build.SourcesDirectory)/build.sh -subset installer -ci
|
||||
$(Build.SourcesDirectory)/build.sh -subset packs -ci
|
||||
$(BuildAction)
|
||||
-configuration $(_BuildConfig)
|
||||
-os ${{ parameters.osGroup }}
|
||||
|
@ -191,7 +185,7 @@ jobs:
|
|||
|
||||
- ${{ if eq(parameters.isOfficialBuild, true) }}:
|
||||
- name: BuildScript
|
||||
value: ./eng/install-nuget-credprovider-then-build.sh --subset installer
|
||||
value: ./eng/install-nuget-credprovider-then-build.sh --subset host+packs
|
||||
- name: MSBuildScript
|
||||
value: /root/runtime/eng/install-nuget-credprovider-then-msbuild.sh
|
||||
|
||||
|
@ -217,7 +211,7 @@ jobs:
|
|||
|
||||
- name: BuildArguments
|
||||
value: >-
|
||||
-subset installer -ci
|
||||
-subset host+packs -ci
|
||||
$(BuildAction)
|
||||
/p:CrossBuild=${{ parameters.crossBuild }}
|
||||
/p:PortableBuild=$(_PortableBuild)
|
||||
|
@ -233,23 +227,15 @@ jobs:
|
|||
$(OutputRidArg)
|
||||
/bl:msbuild.publish.binlog
|
||||
|
||||
# Tell the build to package up the bits from the portable build.
|
||||
- name: PackagePortableBitsArgs
|
||||
value: >-
|
||||
/p:PortableBuild=false
|
||||
/p:SharedFrameworkPublishDir=/root/sharedFrameworkPublish/
|
||||
/p:InstallerSourceOSPlatformConfig=linux-x64.$(_BuildConfig)
|
||||
|
||||
- name: DockerRunMSBuild
|
||||
value: >-
|
||||
docker run
|
||||
-v $(Build.SourcesDirectory):/root/runtime
|
||||
-v $(Build.StagingDirectory)/sharedFrameworkPublish/:/root/sharedFrameworkPublish/
|
||||
-w=/root/runtime
|
||||
$(PreserveNuGetAuthDockerArgs)
|
||||
|
||||
- name: installersSubsetArg
|
||||
value: --subset Installers
|
||||
value: --subset packs.installers
|
||||
|
||||
- name: BaseJobBuildCommand
|
||||
value: |
|
||||
|
@ -265,26 +251,16 @@ jobs:
|
|||
value: >-
|
||||
$(RuntimeArtifactsArgs)
|
||||
$(LibrariesConfigurationArg)
|
||||
$(LibrariesAllConfigurationsOverridePathArg)
|
||||
$(AllArtifactsArgs)
|
||||
|
||||
- name: RuntimeArtifactsArgs
|
||||
value: ''
|
||||
- name: LibrariesConfigurationArg
|
||||
value: ''
|
||||
- name: LibrariesAllConfigurationsOverridePathArg
|
||||
value: ''
|
||||
- name: AllArtifactsArgs
|
||||
value: ''
|
||||
|
||||
- name: RuntimeDownloadPath
|
||||
value: ''
|
||||
- name: LibrariesDownloadPath
|
||||
value: ''
|
||||
- name: LibrariesDownloadPathAllConfigurations
|
||||
value: ''
|
||||
- name: AllArtifactsDownloadPath
|
||||
value: ''
|
||||
|
||||
- ${{ if ne(parameters.liveRuntimeBuildConfig, '') }}:
|
||||
- name: liveRuntimeLegName
|
||||
|
@ -316,60 +292,23 @@ jobs:
|
|||
- name: LibrariesConfigurationArg
|
||||
value: ' /p:LibrariesConfiguration=${{ parameters.liveLibrariesBuildConfig }}'
|
||||
|
||||
# Download allconfigurations bits to a separate location. It overlaps with the live libraries
|
||||
# download and causes conflict when unzipping to the same location.
|
||||
- ${{ if eq(parameters.useOfficialAllConfigurations, true) }}:
|
||||
- name: LibrariesDownloadPathAllConfigurations
|
||||
value: 'artifacts/transport/librariesallconfigurations'
|
||||
- name: LibrariesAllConfigurationsOverridePathArg
|
||||
value: /p:LibrariesAllConfigurationsOverridePath=${{ parameters.buildCommandSourcesDirectory }}$(LibrariesDownloadPathAllConfigurations)
|
||||
- name: LibrariesArtifactNameAllConfigurations
|
||||
value: libraries_bin_official_allconfigurations
|
||||
|
||||
# Download all upstream platforms and incorporate in the platform manifest.
|
||||
- ${{ if eq(parameters.buildFullPlatformManifest, true) }}:
|
||||
- name: AllArtifactsDownloadPath
|
||||
value: 'artifacts/transport/AllArtifacts'
|
||||
- name: AllArtifactsArgs
|
||||
value: >-
|
||||
/p:AllArtifactsDownloadPath=${{ parameters.buildCommandSourcesDirectory }}$(AllArtifactsDownloadPath)
|
||||
/p:BuildFullPlatformManifest=true
|
||||
|
||||
dependsOn:
|
||||
- checkout
|
||||
- ${{ parameters.dependsOn }}
|
||||
- ${{ if eq(parameters.dependsOnGlobalBuild, false) }}:
|
||||
- ${{ if ne(parameters.liveRuntimeBuildConfig, '') }}:
|
||||
- ${{ format('{0}_{1}_product_build_{2}{3}_{4}_{5}',
|
||||
parameters.runtimeFlavor,
|
||||
parameters.runtimeVariant,
|
||||
parameters.osGroup,
|
||||
parameters.osSubgroup,
|
||||
parameters.archType,
|
||||
parameters.liveRuntimeBuildConfig) }}
|
||||
- ${{ if ne(parameters.liveLibrariesBuildConfig, '') }}:
|
||||
- libraries_build_${{ format('{0}{1}_{2}_{3}',
|
||||
parameters.osGroup,
|
||||
parameters.osSubgroup,
|
||||
parameters.archType,
|
||||
parameters.liveLibrariesBuildConfig) }}
|
||||
- ${{ if eq(parameters.useOfficialAllConfigurations, true) }}:
|
||||
- libraries_build_allconfigurations_windows_x64_Release
|
||||
- ${{ if eq(parameters.buildFullPlatformManifest, true) }}:
|
||||
- ${{ each platform in parameters.platforms }}:
|
||||
- ${{ parameters.runtimeFlavor }}_${{ parameters.runtimeVariant }}_product_build_${{ platform }}_${{ parameters.liveRuntimeBuildConfig }}
|
||||
- libraries_build_${{ platform }}_${{ parameters.liveLibrariesBuildConfig }}
|
||||
|
||||
- ${{ if eq(parameters.dependsOnGlobalBuild, true) }}:
|
||||
- ${{ if ne(parameters.liveRuntimeBuildConfig, '') }}:
|
||||
- ${{ format('build_{0}{1}_{2}_{3}_{4}',
|
||||
parameters.osGroup,
|
||||
parameters.osSubgroup,
|
||||
parameters.archType,
|
||||
parameters.liveRuntimeBuildConfig,
|
||||
parameters.globalBuildSuffix) }}
|
||||
- ${{ if eq(parameters.useOfficialAllConfigurations, true) }}:
|
||||
- build_windows_x64_${{ parameters.liveLibrariesBuildConfig }}_AllConfigurations
|
||||
- ${{ if ne(parameters.liveRuntimeBuildConfig, '') }}:
|
||||
- ${{ format('{0}_{1}_product_build_{2}{3}_{4}_{5}',
|
||||
parameters.runtimeFlavor,
|
||||
parameters.runtimeVariant,
|
||||
parameters.osGroup,
|
||||
parameters.osSubgroup,
|
||||
parameters.archType,
|
||||
parameters.liveRuntimeBuildConfig) }}
|
||||
- ${{ if ne(parameters.liveLibrariesBuildConfig, '') }}:
|
||||
- libraries_build_${{ format('{0}{1}_{2}_{3}',
|
||||
parameters.osGroup,
|
||||
parameters.osSubgroup,
|
||||
parameters.archType,
|
||||
parameters.liveLibrariesBuildConfig) }}
|
||||
|
||||
steps:
|
||||
|
||||
|
@ -408,36 +347,6 @@ jobs:
|
|||
|
||||
- template: /eng/pipelines/common/clone-checkout-bundle-step.yml
|
||||
|
||||
# Download and extract artifacts for earlier subsets.
|
||||
- task: DownloadBuildArtifacts@0
|
||||
displayName: 'Download artifacts for all platforms'
|
||||
inputs:
|
||||
buildType: current
|
||||
downloadType: specific
|
||||
downloadPath: '$(Build.SourcesDirectory)/__download__/AllPlatforms/'
|
||||
allowPartiallySucceededBuilds: true
|
||||
itemPattern: |
|
||||
$(runtimeFlavorName)Product_*/**
|
||||
libraries_bin_*/**
|
||||
!*Logs*
|
||||
|
||||
- ${{ if eq(parameters.buildFullPlatformManifest, true) }}:
|
||||
- ${{ each platform in parameters.platforms }}:
|
||||
- task: ExtractFiles@1
|
||||
displayName: 'Unzip $(runtimeFlavorName) artifacts: ${{ platform }}'
|
||||
inputs:
|
||||
archiveFilePatterns: |
|
||||
$(Build.SourcesDirectory)/__download__/AllPlatforms/**/$(runtimeFlavorName)Product_${{ platform }}_${{ parameters.liveRuntimeBuildConfig }}.*
|
||||
destinationFolder: $(AllArtifactsDownloadPath)/$(runtimeFlavorName)Product_${{ platform }}_${{ parameters.liveRuntimeBuildConfig }}/
|
||||
cleanUnpackFolder: false
|
||||
- task: ExtractFiles@1
|
||||
displayName: 'Unzip Libraries artifacts: ${{ platform }}'
|
||||
inputs:
|
||||
archiveFilePatterns: |
|
||||
$(Build.SourcesDirectory)/__download__/AllPlatforms/**/libraries_bin_${{ platform }}_${{ parameters.liveLibrariesBuildConfig }}.*
|
||||
destinationFolder: $(AllArtifactsDownloadPath)/libraries_bin_${{ platform }}_${{ parameters.liveLibrariesBuildConfig }}/
|
||||
cleanUnpackFolder: false
|
||||
|
||||
- ${{ if ne(parameters.liveRuntimeBuildConfig, '') }}:
|
||||
- template: /eng/pipelines/common/download-artifact-step.yml
|
||||
parameters:
|
||||
|
@ -455,16 +364,6 @@ jobs:
|
|||
displayName: 'Libraries artifacts'
|
||||
cleanUnpackFolder: false
|
||||
|
||||
- ${{ if eq(parameters.useOfficialAllConfigurations, true) }}:
|
||||
- template: /eng/pipelines/common/download-artifact-step.yml
|
||||
parameters:
|
||||
unpackFolder: $(Build.SourcesDirectory)/$(LibrariesDownloadPathAllConfigurations)
|
||||
# Always use '.zip' because AllConfigurations is built on Windows but used everywhere.
|
||||
artifactFileName: '$(LibrariesArtifactNameAllConfigurations).zip'
|
||||
artifactName: '$(LibrariesArtifactNameAllConfigurations)'
|
||||
displayName: 'Libraries artifacts (AllConfigurations)'
|
||||
cleanUnpackFolder: false
|
||||
|
||||
- ${{ if in(parameters.osGroup, 'OSX', 'iOS', 'tvOS') }}:
|
||||
- script: $(Build.SourcesDirectory)/eng/install-native-dependencies.sh ${{ parameters.osGroup }} ${{ parameters.archType }} azDO
|
||||
displayName: Install Build Dependencies
|
||||
|
@ -481,7 +380,7 @@ jobs:
|
|||
|
||||
# Build corehost, sign and add entitlements to MacOS binaries
|
||||
- ${{ if eq(parameters.osGroup, 'OSX') }}:
|
||||
- script: $(BaseJobBuildCommand) -subset corehost
|
||||
- script: $(BaseJobBuildCommand) -subset host.native
|
||||
displayName: Build CoreHost
|
||||
|
||||
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
||||
|
@ -495,7 +394,7 @@ jobs:
|
|||
path: $(Build.SourcesDirectory)/artifacts/bin/osx-${{ parameters.archType }}.$(_BuildConfig)/corehost
|
||||
entitlementsFile: $(Build.SourcesDirectory)/eng/pipelines/common/entitlements.plist
|
||||
|
||||
- script: $(BaseJobBuildCommand) -subset installer.nocorehost
|
||||
- script: $(BaseJobBuildCommand) -subset host.pkg+host.tools+packs
|
||||
displayName: Build and Package
|
||||
|
||||
- ${{ if in(parameters.osGroup, 'OSX', 'iOS','tvOS') }}:
|
||||
|
@ -506,33 +405,17 @@ jobs:
|
|||
|
||||
# Only in glibc leg, we produce RPMs and Debs
|
||||
- ${{ if and(eq(parameters.runtimeFlavor, 'coreclr'), eq(parameters.platform, 'Linux_x64'), eq(parameters.osSubgroup, ''))}}:
|
||||
- task: CopyFiles@2
|
||||
displayName: 'Copy built Portable linux-x64 binaries to staging directory'
|
||||
inputs:
|
||||
SourceFolder: '$(Build.SourcesDirectory)/artifacts/obj/linux-x64.$(_BuildConfig)/sharedFrameworkPublish'
|
||||
TargetFolder: '$(Build.StagingDirectory)/sharedFrameworkPublish'
|
||||
|
||||
- ${{ each packageBuild in parameters.packageDistroList }}:
|
||||
# This leg's RID matches the build image. Build its distro-dependent packages, as well as
|
||||
# the distro-independent installers. (There's no particular reason to build the distro-
|
||||
# independent installers on this leg, but we need to do it somewhere.)
|
||||
- template: steps/build-linux-package.yml
|
||||
parameters:
|
||||
distroRid: ${{ packageBuild.imageRid }}
|
||||
packageType: ${{ packageBuild.packageType }}
|
||||
image: ${{ packageBuild.image }}
|
||||
packageStepDescription: Runtime Deps, Runtime, Framework Packs installers
|
||||
subsetArg: $(installersSubsetArg)
|
||||
|
||||
- ${{ each rid in packageBuild.rids }}:
|
||||
# Build distro-dependent packages.
|
||||
- template: steps/build-linux-package.yml
|
||||
parameters:
|
||||
distroRid: ${{ rid }}
|
||||
image: ${{ packageBuild.image }}
|
||||
outputRidArg: /p:OutputRid=${{ rid }}-${{ parameters.archType }}
|
||||
packageStepDescription: Runtime Deps installers
|
||||
packagingArgs: /p:BuildDistroIndependentInstallers=false
|
||||
subsetArg: $(installersSubsetArg)
|
||||
packagingArgs: ${{ packageBuild.packagingArgs }}
|
||||
|
||||
- ${{ if ne(parameters.container, '') }}:
|
||||
# Files may be owned by root because builds don't set user ID. Later build steps run 'find' in
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
parameters:
|
||||
distroRid: null
|
||||
packageType: null
|
||||
image: null
|
||||
outputRidArg: ''
|
||||
packageStepDescription: null
|
||||
packagingArgs: ''
|
||||
subsetArg: ''
|
||||
|
@ -13,12 +12,8 @@ steps:
|
|||
$(DockerRunMSBuild) ${{ parameters.image }} $(BuildScript) \
|
||||
--ci \
|
||||
${{ parameters.subsetArg }} \
|
||||
/p:UsePrebuiltPortableBinariesForInstallers=true \
|
||||
$(PackagePortableBitsArgs) \
|
||||
/p:GenerateProjectInstallers=true \
|
||||
${{ parameters.packagingArgs }} \
|
||||
$(CommonMSBuildArgs) \
|
||||
${{ parameters.outputRidArg }} \
|
||||
$(LiveOverridePathArgs) \
|
||||
/bl:artifacts/log/$(_BuildConfig)/msbuild.${{ parameters.distroRid }}.installers.binlog
|
||||
displayName: Package ${{ parameters.packageStepDescription }} - ${{ parameters.distroRid }}
|
||||
/bl:artifacts/log/$(_BuildConfig)/msbuild.${{ parameters.packageType }}.installers.binlog
|
||||
displayName: Package ${{ parameters.packageStepDescription }} - ${{ parameters.packageType }}
|
||||
|
|
|
@ -44,7 +44,7 @@ jobs:
|
|||
|
||||
- script: >-
|
||||
build.cmd -ci
|
||||
-subset installer.publish
|
||||
-subset publish
|
||||
-configuration Release
|
||||
/p:PublishRidAgnosticPackagesFromPlatform=${{ parameters.PublishRidAgnosticPackagesFromPlatform }}
|
||||
/p:OfficialBuildId=$(Build.BuildNumber)
|
||||
|
|
|
@ -116,7 +116,7 @@ stages:
|
|||
# - windows_arm
|
||||
# - windows_arm64
|
||||
jobParameters:
|
||||
buildArgs: -s mono+libs+installer -c $(_BuildConfig)
|
||||
buildArgs: -s mono+libs+host+packs -c $(_BuildConfig)
|
||||
nameSuffix: AllSubsets_Mono
|
||||
isOfficialBuild: ${{ variables.isOfficialBuild }}
|
||||
extraStepsTemplate: /eng/pipelines/common/upload-unsigned-artifacts-step.yml
|
||||
|
@ -145,7 +145,7 @@ stages:
|
|||
buildConfig: release
|
||||
runtimeFlavor: mono
|
||||
jobParameters:
|
||||
buildArgs: -s mono+libs+installer -c $(_BuildConfig)
|
||||
buildArgs: -s mono+libs+host+packs -c $(_BuildConfig)
|
||||
/p:MonoEnableLLVM=true /p:MonoBundleLLVMOptimizer=false
|
||||
nameSuffix: AllSubsets_Mono_LLVMJIT
|
||||
runtimeVariant: LLVMJIT
|
||||
|
@ -158,7 +158,7 @@ stages:
|
|||
buildConfig: release
|
||||
runtimeFlavor: mono
|
||||
jobParameters:
|
||||
buildArgs: -s mono+libs+installer -c $(_BuildConfig)
|
||||
buildArgs: -s mono+libs+host+packs -c $(_BuildConfig)
|
||||
/p:MonoEnableLLVM=true /p:MonoBundleLLVMOptimizer=true
|
||||
nameSuffix: AllSubsets_Mono_LLVMAOT
|
||||
runtimeVariant: LLVMAOT
|
||||
|
@ -215,8 +215,6 @@ stages:
|
|||
liveRuntimeBuildConfig: release
|
||||
liveLibrariesBuildConfig: Release
|
||||
isOfficialBuild: ${{ variables.isOfficialBuild }}
|
||||
useOfficialAllConfigurations: true
|
||||
buildFullPlatformManifest: true
|
||||
platforms:
|
||||
- OSX_arm64
|
||||
- OSX_x64
|
||||
|
|
|
@ -271,7 +271,7 @@ jobs:
|
|||
jobParameters:
|
||||
testGroup: innerloop
|
||||
nameSuffix: AllSubsets_Mono
|
||||
buildArgs: -s mono+libs+installer -c $(_BuildConfig)
|
||||
buildArgs: -s mono+libs+host+packs -c $(_BuildConfig)
|
||||
condition: >-
|
||||
or(
|
||||
eq(dependencies.checkout.outputs['SetPathVars_libraries.containsChange'], true),
|
||||
|
@ -292,7 +292,7 @@ jobs:
|
|||
jobParameters:
|
||||
testGroup: innerloop
|
||||
nameSuffix: AllSubsets_Mono
|
||||
buildArgs: -s mono+libs+installer -c $(_BuildConfig)
|
||||
buildArgs: -s mono+libs+host+packs -c $(_BuildConfig)
|
||||
condition: >-
|
||||
or(
|
||||
eq(dependencies.checkout.outputs['SetPathVars_libraries.containsChange'], true),
|
||||
|
@ -320,7 +320,7 @@ jobs:
|
|||
jobParameters:
|
||||
testGroup: innerloop
|
||||
nameSuffix: AllSubsets_Mono
|
||||
buildArgs: -s mono+libs+installer+libs.tests -c $(_BuildConfig) /p:ArchiveTests=true
|
||||
buildArgs: -s mono+libs+host+packs+libs.tests -c $(_BuildConfig) /p:ArchiveTests=true
|
||||
timeoutInMinutes: 120
|
||||
condition: >-
|
||||
or(
|
||||
|
@ -365,7 +365,7 @@ jobs:
|
|||
jobParameters:
|
||||
testGroup: innerloop
|
||||
nameSuffix: AllSubsets_Mono
|
||||
buildArgs: -s mono+libs+installer+libs.tests -c $(_BuildConfig) /p:ArchiveTests=true
|
||||
buildArgs: -s mono+libs+host+packs+libs.tests -c $(_BuildConfig) /p:ArchiveTests=true
|
||||
timeoutInMinutes: 120
|
||||
condition: >-
|
||||
or(
|
||||
|
@ -473,7 +473,7 @@ jobs:
|
|||
jobParameters:
|
||||
testGroup: innerloop
|
||||
nameSuffix: AllSubsets_Mono_LLVMJIT
|
||||
buildArgs: -s mono+libs+installer -c $(_BuildConfig)
|
||||
buildArgs: -s mono+libs+host+packs -c $(_BuildConfig)
|
||||
/p:MonoEnableLLVM=true /p:MonoBundleLLVMOptimizer=false
|
||||
condition: >-
|
||||
or(
|
||||
|
@ -493,7 +493,7 @@ jobs:
|
|||
jobParameters:
|
||||
testGroup: innerloop
|
||||
nameSuffix: AllSubsets_Mono_LLVMJIT
|
||||
buildArgs: -s mono+libs+installer -c $(_BuildConfig)
|
||||
buildArgs: -s mono+libs+host+packs -c $(_BuildConfig)
|
||||
/p:MonoEnableLLVM=true /p:MonoBundleLLVMOptimizer=false
|
||||
condition: >-
|
||||
or(
|
||||
|
@ -516,7 +516,7 @@ jobs:
|
|||
jobParameters:
|
||||
testGroup: innerloop
|
||||
nameSuffix: AllSubsets_Mono_LLVMAOT
|
||||
buildArgs: -s mono+libs+installer -c $(_BuildConfig)
|
||||
buildArgs: -s mono+libs+host+packs -c $(_BuildConfig)
|
||||
/p:MonoEnableLLVM=true /p:MonoBundleLLVMOptimizer=true
|
||||
condition: >-
|
||||
or(
|
||||
|
@ -535,7 +535,7 @@ jobs:
|
|||
jobParameters:
|
||||
testGroup: innerloop
|
||||
nameSuffix: AllSubsets_Mono_LLVMAOT
|
||||
buildArgs: -s mono+libs+installer -c $(_BuildConfig)
|
||||
buildArgs: -s mono+libs+host+packs -c $(_BuildConfig)
|
||||
/p:MonoEnableLLVM=true /p:MonoBundleLLVMOptimizer=true
|
||||
condition: >-
|
||||
or(
|
||||
|
|
|
@ -71,7 +71,7 @@ stages:
|
|||
jobParameters:
|
||||
timeoutInMinutes: 100
|
||||
testGroup: innerloop
|
||||
buildArgs: -s clr+libs+installer -c debug -runtimeConfiguration Checked
|
||||
buildArgs: -s clr+libs+host+packs -c debug -runtimeConfiguration Checked
|
||||
extraStepsTemplate: /eng/pipelines/runtimelab/runtimelab-post-build-steps.yml
|
||||
extraStepsParameters:
|
||||
uploadRuntimeTests: true
|
||||
|
@ -94,7 +94,7 @@ stages:
|
|||
uploadLibrariesTests: ${{ eq(variables.isOfficialBuild, false) }}
|
||||
uploadUnsignedArtifacts: false
|
||||
${{ if eq(variables.isOfficialBuild, false) }}:
|
||||
buildArgs: -s clr+libs+libs.tests+installer -c $(_BuildConfig) /p:ArchiveTests=true
|
||||
buildArgs: -s clr+libs+libs.tests+host+packs -c $(_BuildConfig) /p:ArchiveTests=true
|
||||
${{ if eq(variables.isOfficialBuild, true) }}:
|
||||
buildArgs: -s clr+libs -c $(_BuildConfig)
|
||||
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
"Microsoft.DotNet.Arcade.Sdk": "6.0.0-beta.20552.5",
|
||||
"Microsoft.DotNet.Build.Tasks.SharedFramework.Sdk": "6.0.0-beta.20552.5",
|
||||
"Microsoft.DotNet.Helix.Sdk": "6.0.0-beta.20560.1",
|
||||
"Microsoft.DotNet.SharedFramework.Sdk": "6.0.0-beta.20552.5",
|
||||
"Microsoft.FIX-85B6-MERGE-9C38-CONFLICT": "1.0.0",
|
||||
"Microsoft.NET.Sdk.IL": "5.0.0-preview.8.20359.4",
|
||||
"Microsoft.Build.NoTargets": "2.0.1",
|
||||
|
|
|
@ -107,10 +107,6 @@
|
|||
|
||||
<AssetOutputPath Condition="'$(AssetOutputPath)'==''">$(ArtifactsShippingPackagesDir)</AssetOutputPath>
|
||||
<SymbolPackageOutputPath Condition="'$(SymbolPackageOutputPath)'==''">$(ArtifactsShippingPackagesDir)</SymbolPackageOutputPath>
|
||||
|
||||
<!-- Use '/' instead of '\': used directly by WiX which doesn't accept trailing '\'. -->
|
||||
<SharedFrameworkPublishDir>$(IntermediateOutputRootPath)sharedFrameworkPublish/</SharedFrameworkPublishDir>
|
||||
<SharedFrameworkPublishSymbolsDir>$(IntermediateOutputRootPath)sharedFrameworkPublish.symbols\</SharedFrameworkPublishSymbolsDir>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
<PropertyGroup>
|
||||
<IsPackable>true</IsPackable>
|
||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
||||
<VersionPrefix>$(MajorVersion).$(MinorVersion).$(PatchVersion)</VersionPrefix>
|
||||
<AssemblyFileVersion>$(VersionPrefix)</AssemblyFileVersion>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
|
|
|
@ -6,11 +6,6 @@
|
|||
<DotNetHostBinDir>$(BaseOutputRootPath)corehost</DotNetHostBinDir>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<!-- Disable NuGet static graph evaluation as pkgprojs do their own restore. -->
|
||||
<RestoreUseStaticGraphEvaluation>false</RestoreUseStaticGraphEvaluation>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<PackageLicenseFile>$(RepoRoot)LICENSE.TXT</PackageLicenseFile>
|
||||
<PackageThirdPartyNoticesFile>$(RepoRoot)THIRD-PARTY-NOTICES.TXT</PackageThirdPartyNoticesFile>
|
||||
|
@ -28,45 +23,6 @@
|
|||
<SkipIndexCheck>true</SkipIndexCheck>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<PackagesIntermediateDir>$(IntermediateOutputRootPath)packages/</PackagesIntermediateDir>
|
||||
|
||||
<RpmTemplatesDir>$(MSBuildThisFileDirectory)packaging/rpm/templates/</RpmTemplatesDir>
|
||||
|
||||
<!--
|
||||
Intermediate dir the debtool project is copied to. Use DebtoolAssemblyFile for "dotnet
|
||||
deb-tool" commands, after depending on InitializeDotnetDebTool target.
|
||||
-->
|
||||
<DebToolBinDir>$(ArtifactsBinDir)dotnet-deb-tool\</DebToolBinDir>
|
||||
<DebtoolAssemblyFile>$(DebToolBinDir)$(Configuration)\$(NetCoreAppCurrent)\dotnet-deb-tool.dll</DebtoolAssemblyFile>
|
||||
<DotnetDebToolSourceDir>$(RepoRoot)tools-local/dotnet-deb-tool/</DotnetDebToolSourceDir>
|
||||
|
||||
<IsDebianBasedDistro
|
||||
Condition="
|
||||
$(PackageTargetRid.StartsWith('ubuntu')) or
|
||||
$(PackageTargetRid.StartsWith('debian')) or
|
||||
$(PackageTargetRid.StartsWith('linuxmint'))">true</IsDebianBasedDistro>
|
||||
<BuildDebPackage Condition="'$(IsDebianBasedDistro)' == true and '$(TargetArchitecture)' == 'x64'">true</BuildDebPackage>
|
||||
<BuildDebPackage Condition="'$(BuildLinuxPackages)' == true and '$(PortableBuild)' == true">true</BuildDebPackage>
|
||||
|
||||
<IsRPMBasedDistro Condition="'$(InstallerExtension)' == '.rpm'">true</IsRPMBasedDistro>
|
||||
<BuildRpmPackage Condition="'$(IsRPMBasedDistro)' == true and '$(TargetArchitecture)' == 'x64'">true</BuildRpmPackage>
|
||||
<BuildRpmPackage Condition="'$(BuildLinuxPackages)' == true and '$(PortableBuild)' == true">true</BuildRpmPackage>
|
||||
|
||||
<!--
|
||||
Some Debian and RPM packages only need to be built once for all supported distros, as the bits
|
||||
are portable. By default, build these packages, but in the official build this can be turned
|
||||
off to avoid producing redundant packages.
|
||||
-->
|
||||
<BuildDistroIndependentInstallers Condition="'$(BuildDistroIndependentInstallers)' == ''">true</BuildDistroIndependentInstallers>
|
||||
|
||||
<!--
|
||||
Allow packaging one build's outputs for a different RID. For example, package portable bits
|
||||
for multiple Debian-based distros.
|
||||
-->
|
||||
<InstallerSourceOSPlatformConfig Condition="'$(InstallerSourceOSPlatformConfig)' == ''">$(OSPlatformConfig)</InstallerSourceOSPlatformConfig>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageIndex Include="$(PackageIndexFile)" />
|
||||
</ItemGroup>
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
<Project>
|
||||
<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props, $(MSBuildThisFileDirectory)..))" />
|
||||
|
||||
<PropertyGroup>
|
||||
<PackagingRoot>$(InstallerProjectRoot)pkg/packaging/</PackagingRoot>
|
||||
|
||||
<!-- The runtime package is distro-independent. (Runtime-deps packages vary per distro.) -->
|
||||
<BuildRuntimeDebs>$(BuildDistroIndependentInstallers)</BuildRuntimeDebs>
|
||||
<BuildRuntimeRpms>$(BuildDistroIndependentInstallers)</BuildRuntimeRpms>
|
||||
|
||||
<!-- Use trailing '/'. Heat.exe doesn't accept a trailing '\'.-->
|
||||
<SharedHostPublishRoot>$(IntermediateOutputRootPath)sharedHost/</SharedHostPublishRoot>
|
||||
<HostFxrPublishRoot>$(IntermediateOutputRootPath)hostFxr/</HostFxrPublishRoot>
|
||||
<SharedFrameworkPublishRoot>$(IntermediateOutputRootPath)sharedFx/</SharedFrameworkPublishRoot>
|
||||
<CombinedPublishRoot>$(IntermediateOutputRootPath)combined-framework-host/</CombinedPublishRoot>
|
||||
<NetHostPublishRoot>$(IntermediateOutputRootPath)nethost/</NetHostPublishRoot>
|
||||
<Crossgen2PublishRoot>$(IntermediateOutputRootPath)crossgen2/</Crossgen2PublishRoot>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
|
@ -1,39 +0,0 @@
|
|||
{
|
||||
"maintainer_name":".NET Team",
|
||||
"maintainer_email": "dotnetpackages@dotnetfoundation.org",
|
||||
|
||||
"package_name": "%HOSTFXR_DEBIAN_PACKAGE_NAME%",
|
||||
"install_root": "/usr/share/dotnet",
|
||||
|
||||
"short_description": "%HOSTFXR_BRAND_NAME% %HOSTFXR_NUGET_VERSION%",
|
||||
"long_description": ".NET is a development platform that you can use to build command-line applications, microservices and modern websites. It is open source, cross-platform and is supported by Microsoft. We hope you enjoy using it! If you do, please consider joining the active community of developers that are contributing to the project on GitHub (https://github.com/dotnet/core). We happily accept issues and PRs.",
|
||||
"homepage": "https://dot.net/core",
|
||||
|
||||
"release":{
|
||||
"package_version":"1.0.0.0",
|
||||
"package_revision":"%HOSTFXR_REVISION%",
|
||||
"urgency" : "low",
|
||||
"changelog_message" : "https://github.com/dotnet/core/tree/master/release-notes"
|
||||
},
|
||||
|
||||
"control": {
|
||||
"priority":"standard",
|
||||
"section":"libs",
|
||||
"architecture":"amd64"
|
||||
},
|
||||
|
||||
"copyright": "2017 Microsoft",
|
||||
"license": {
|
||||
"type": "MIT and ASL 2.0 and BSD",
|
||||
"full_text": "Copyright (c) 2017 Microsoft\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE."
|
||||
},
|
||||
|
||||
"debian_dependencies":{
|
||||
"dotnet-host" : {
|
||||
"package_version": "%SHARED_HOST_DEBIAN_VERSION%"
|
||||
},
|
||||
"libc6":{},
|
||||
"libgcc1":{},
|
||||
"libstdc++6":{}
|
||||
}
|
||||
}
|
|
@ -1,45 +0,0 @@
|
|||
{
|
||||
"maintainer_name":".NET Team",
|
||||
"maintainer_email": "dotnetpackages@dotnetfoundation.org",
|
||||
|
||||
"package_name": "%RUNTIME_DEPS_DEBIAN_PACKAGE_NAME%",
|
||||
"install_root": "/usr/share/dotnet",
|
||||
|
||||
"short_description": "%RUNTIME_DEPS_DEBIAN_PACKAGE_NAME% %RUNTIME_DEPS_VERSION%",
|
||||
"long_description": ".NET is a development platform that you can use to build command-line applications, microservices and modern websites. This package installs all the system dependencies for .NET Runtime.",
|
||||
"homepage": "https://dot.net/core",
|
||||
|
||||
"release":{
|
||||
"package_version":"1.0.0.0",
|
||||
"package_revision":"%RUNTIME_DEPS_REVISION%",
|
||||
"urgency" : "low",
|
||||
"changelog_message" : "https://github.com/dotnet/core/tree/master/release-notes"
|
||||
},
|
||||
|
||||
"control": {
|
||||
"priority":"standard",
|
||||
"section":"libs",
|
||||
"architecture":"amd64"
|
||||
},
|
||||
|
||||
"copyright": "2018 Microsoft",
|
||||
"license": {
|
||||
"type": "MIT and ASL 2.0 and BSD",
|
||||
"full_text": "Copyright (c) 2018 Microsoft\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE."
|
||||
},
|
||||
|
||||
"debian_dependencies":{
|
||||
"libc6":{},
|
||||
"libgcc1":{},
|
||||
"libgssapi-krb5-2":{},
|
||||
"libstdc++6":{},
|
||||
"zlib1g":{},
|
||||
"%SSL_DEPENDENCY_LIST%" : {},
|
||||
"%LIBICU_DEPENDENCY_LIST%": {}
|
||||
},
|
||||
|
||||
"debian_ignored_dependencies" : [
|
||||
"liblldb-3.5",
|
||||
"liblldb-3.6"
|
||||
]
|
||||
}
|
|
@ -1,39 +0,0 @@
|
|||
{
|
||||
"maintainer_name":".NET Team",
|
||||
"maintainer_email": "dotnetpackages@dotnetfoundation.org",
|
||||
|
||||
"package_name": "%SHARED_FRAMEWORK_DEBIAN_PACKAGE_NAME%",
|
||||
"install_root": "/usr/share/dotnet",
|
||||
|
||||
"short_description": "%SHARED_FRAMEWORK_BRAND_NAME% %SHARED_FRAMEWORK_NUGET_NAME% %SHARED_FRAMEWORK_NUGET_VERSION%",
|
||||
"long_description": ".NET is a development platform that you can use to build command-line applications, microservices and modern websites. It is open source, cross-platform and is supported by Microsoft. We hope you enjoy using it! If you do, please consider joining the active community of developers that are contributing to the project on GitHub (https://github.com/dotnet/core). We happily accept issues and PRs.",
|
||||
"homepage": "https://dot.net/core",
|
||||
|
||||
"release":{
|
||||
"package_version":"1.0.0.0",
|
||||
"package_revision":"%SHARED_FRAMEWORK_REVISION%",
|
||||
"urgency" : "low",
|
||||
"changelog_message" : "https://github.com/dotnet/core/tree/master/release-notes"
|
||||
},
|
||||
|
||||
"control": {
|
||||
"priority":"standard",
|
||||
"section":"libs",
|
||||
"architecture":"amd64"
|
||||
},
|
||||
|
||||
"copyright": "2017 Microsoft",
|
||||
"license": {
|
||||
"type": "MIT and ASL 2.0 and BSD",
|
||||
"full_text": "Copyright (c) 2017 Microsoft\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE."
|
||||
},
|
||||
|
||||
"debian_dependencies":{
|
||||
"%HOSTFXR_DEBIAN_PACKAGE_NAME%" : {
|
||||
"package_version": "%HOSTFXR_NUGET_VERSION%"
|
||||
},
|
||||
"%RUNTIME_DEPS_DEBIAN_PACKAGE_NAME%" : {
|
||||
"package_version": "%RUNTIME_DEPS_VERSION%"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,45 +0,0 @@
|
|||
{
|
||||
"maintainer_name":".NET Team",
|
||||
"maintainer_email": "dotnetpackages@dotnetfoundation.org",
|
||||
|
||||
"package_name": "dotnet-host",
|
||||
"install_root": "/usr/share/dotnet",
|
||||
|
||||
"short_description": "%SHARED_HOST_BRAND_NAME%",
|
||||
"long_description": ".NET is a development platform that you can use to build command-line applications, microservices and modern websites. It is open source, cross-platform and is supported by Microsoft. We hope you enjoy using it! If you do, please consider joining the active community of developers that are contributing to the project on GitHub (https://github.com/dotnet/core). We happily accept issues and PRs.",
|
||||
"homepage": "https://dot.net/core",
|
||||
|
||||
"release":{
|
||||
"package_version":"1.0.0.0",
|
||||
"package_revision":"%SHARED_HOST_REVISION%",
|
||||
"urgency" : "low",
|
||||
"changelog_message" : "https://github.com/dotnet/core/tree/master/release-notes"
|
||||
},
|
||||
|
||||
"control": {
|
||||
"priority":"standard",
|
||||
"section":"libs",
|
||||
"architecture":"amd64"
|
||||
},
|
||||
|
||||
"copyright": "2017 Microsoft",
|
||||
"license": {
|
||||
"type": "MIT and ASL 2.0 and BSD",
|
||||
"full_text": "Copyright (c) 2017 Microsoft\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE."
|
||||
},
|
||||
|
||||
"debian_dependencies":{
|
||||
"libc6":{},
|
||||
"libgcc1":{},
|
||||
"libstdc++6":{}
|
||||
},
|
||||
|
||||
"package_conflicts" : [
|
||||
"dotnet",
|
||||
"dotnet-nightly"
|
||||
],
|
||||
|
||||
"symlinks": {
|
||||
"dotnet" : "/usr/bin/dotnet"
|
||||
}
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<debPackaginfConfigPath>$(PackagingRoot)deb/</debPackaginfConfigPath>
|
||||
<SharedHostDebPkgName>dotnet-host</SharedHostDebPkgName>
|
||||
<SharedHostDebPkgName>$(SharedHostDebPkgName.ToLower())</SharedHostDebPkgName>
|
||||
</PropertyGroup>
|
||||
</Project>
|
|
@ -1,358 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project='package.props' />
|
||||
|
||||
<UsingTask TaskName="ReplaceFileContents" AssemblyFile="$(InstallerTasksAssemblyPath)"/>
|
||||
|
||||
<PropertyGroup>
|
||||
<DebianConfigJsonName>debian_config.json</DebianConfigJsonName>
|
||||
</PropertyGroup>
|
||||
|
||||
<Target Name="GenerateDebs"
|
||||
DependsOnTargets="TestDebuild;
|
||||
BuildDebs;"
|
||||
Condition="'$(BuildDebPackage)'=='true'" />
|
||||
|
||||
<Target Name="GenerateRuntimeDebs"
|
||||
DependsOnTargets="
|
||||
GetInstallerBrandingNames;
|
||||
GenerateSharedHostDeb;
|
||||
GenerateHostFxrDeb;
|
||||
GenerateSharedFrameworkDeb;
|
||||
GenerateRuntimeDependenciesDeb"
|
||||
Condition="'$(BuildRuntimeDebs)' == 'true'" />
|
||||
|
||||
<Target Name="BuildDebs"
|
||||
DependsOnTargets="InitializeDotnetDebTool;GenerateRuntimeDebs"
|
||||
Condition="'$(BuildDebPackage)'=='true' and '$(DebuildPresent)' == 'true'" />
|
||||
|
||||
<Target Name="GenerateSharedHostDeb">
|
||||
<PropertyGroup>
|
||||
<DebPackageName>$(SharedHostDebPkgName)</DebPackageName>
|
||||
<DebPackageVersion>$(HostPackageVersion)</DebPackageVersion>
|
||||
<InputRoot>$(SharedHostPublishRoot)</InputRoot>
|
||||
<DebFile>$(SharedHostInstallerFile)</DebFile>
|
||||
<ConfigJsonName>dotnet-sharedhost-debian_config.json</ConfigJsonName>
|
||||
<ConfigJsonFile>$(debPackaginfConfigPath)$(ConfigJsonName)</ConfigJsonFile>
|
||||
<debIntermediatesDir>$(PackagesIntermediateDir)$(DebPackageName)/$(DebPackageVersion)</debIntermediatesDir>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<debLayoutDirectory>$(debIntermediatesDir)/debianLayoutDirectory/</debLayoutDirectory>
|
||||
<debLayoutAbsolute>$(debLayoutDirectory)$</debLayoutAbsolute>
|
||||
<debLayoutPackageRoot>$(debLayoutDirectory)package_root</debLayoutPackageRoot>
|
||||
<debLayoutSamples>$(debLayoutDirectory)samples</debLayoutSamples>
|
||||
<debLayoutDocs>$(debLayoutDirectory)docs</debLayoutDocs>
|
||||
</PropertyGroup>
|
||||
|
||||
<RemoveDir Condition="Exists('$(debIntermediatesDir)')" Directories="$(debIntermediatesDir)" />
|
||||
<MakeDir Directories="$(debIntermediatesDir)" />
|
||||
|
||||
<!-- Create empty debian layout -->
|
||||
<RemoveDir Condition="Exists('$(debLayoutDirectory)')" Directories="$(debLayoutDirectory)" />
|
||||
<MakeDir Directories="$(debLayoutDirectory)" />
|
||||
<MakeDir Directories="$(debLayoutAbsolute)" />
|
||||
<MakeDir Directories="$(debLayoutPackageRoot)" />
|
||||
<MakeDir Directories="$(debLayoutSamples)" />
|
||||
<MakeDir Directories="$(debLayoutDocs)" />
|
||||
|
||||
<!-- Copy files to debian layout -->
|
||||
<ItemGroup>
|
||||
<SHFiles Include="$(InputRoot)/**/*" />
|
||||
<SHManpages Include="$(ManPagesDir)/**/*" />
|
||||
</ItemGroup>
|
||||
|
||||
<Copy SourceFiles="@(SHFiles)" DestinationFiles="@(SHFiles->'$(debLayoutPackageRoot)/%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
<Copy SourceFiles="@(SHManpages)" DestinationFiles="@(SHManpages->'$(debLayoutDocs)/%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
|
||||
<!-- Replace config json variables -->
|
||||
<ItemGroup>
|
||||
<SharedHostTokenValue Include="%SHARED_HOST_BRAND_NAME%">
|
||||
<ReplacementString>$(SharedHostBrandName)</ReplacementString>
|
||||
</SharedHostTokenValue>
|
||||
<SharedHostTokenValue Include="%SHARED_HOST_REVISION%">
|
||||
<ReplacementString>$(HostPackageRelease)</ReplacementString>
|
||||
</SharedHostTokenValue>
|
||||
</ItemGroup>
|
||||
|
||||
<ReplaceFileContents InputFile="$(ConfigJsonFile)"
|
||||
DestinationFile="$(debLayoutDirectory)$(DebianConfigJsonName)"
|
||||
ReplacementItems="@(SharedHostTokenValue)" />
|
||||
|
||||
<Exec Command="$(DotNetTool) $(DebtoolAssemblyFile) -i $(debLayoutDirectory) -o $(debIntermediatesDir) -n $(DebPackageName) -v $(DebPackageVersion)"
|
||||
WorkingDirectory="$(DebToolBinDir)"
|
||||
IgnoreStandardErrorWarningFormat="true" />
|
||||
|
||||
<!-- Copy package to output -->
|
||||
<ItemGroup>
|
||||
<GeneratedDebFiles Remove="@(GeneratedDebFiles)" />
|
||||
<GeneratedDebFiles Include="$(debIntermediatesDir)/*.deb" />
|
||||
</ItemGroup>
|
||||
|
||||
<Error Text="@(GeneratedDebFiles->Count()) .deb files generated." Condition="'@(GeneratedDebFiles->Count())' != 1" />
|
||||
|
||||
<Copy SourceFiles="@(GeneratedDebFiles)"
|
||||
DestinationFiles="$(DebFile)"
|
||||
OverwriteReadOnlyFiles="True"
|
||||
SkipUnchangedFiles="False"
|
||||
UseHardlinksIfPossible="False" />
|
||||
|
||||
</Target>
|
||||
|
||||
<Target Name="GenerateHostFxrDeb">
|
||||
<PropertyGroup>
|
||||
<DebPackageName>$(HostFxrDebPkgName)</DebPackageName>
|
||||
<DebPackageVersion>$(HostResolverPackageVersion)</DebPackageVersion>
|
||||
<InputRoot>$(HostFxrPublishRoot)</InputRoot>
|
||||
<DebFile>$(HostFxrInstallerFile)</DebFile>
|
||||
<ConfigJsonName>dotnet-hostfxr-debian_config.json</ConfigJsonName>
|
||||
<ConfigJsonFile>$(debPackaginfConfigPath)$(ConfigJsonName)</ConfigJsonFile>
|
||||
<debIntermediatesDir>$(PackagesIntermediateDir)$(DebPackageName)/$(DebPackageVersion)</debIntermediatesDir>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<debLayoutDirectory>$(debIntermediatesDir)/debianLayoutDirectory/</debLayoutDirectory>
|
||||
<debLayoutAbsolute>$(debLayoutDirectory)$</debLayoutAbsolute>
|
||||
<debLayoutPackageRoot>$(debLayoutDirectory)package_root</debLayoutPackageRoot>
|
||||
<debLayoutSamples>$(debLayoutDirectory)samples</debLayoutSamples>
|
||||
<debLayoutDocs>$(debLayoutDirectory)docs</debLayoutDocs>
|
||||
</PropertyGroup>
|
||||
|
||||
<RemoveDir Condition="Exists('$(debIntermediatesDir)')" Directories="$(debIntermediatesDir)" />
|
||||
<MakeDir Directories="$(debIntermediatesDir)" />
|
||||
|
||||
<!-- Create empty debian layout -->
|
||||
<RemoveDir Condition="Exists('$(debLayoutDirectory)')" Directories="$(debLayoutDirectory)" />
|
||||
<MakeDir Directories="$(debLayoutDirectory)" />
|
||||
<MakeDir Directories="$(debLayoutAbsolute)" />
|
||||
<MakeDir Directories="$(debLayoutPackageRoot)" />
|
||||
<MakeDir Directories="$(debLayoutSamples)" />
|
||||
<MakeDir Directories="$(debLayoutDocs)" />
|
||||
|
||||
<!-- Copy files to debian layout -->
|
||||
<ItemGroup>
|
||||
<HFFiles Include="$(InputRoot)/**/*" />
|
||||
</ItemGroup>
|
||||
|
||||
<Copy SourceFiles="@(HFFiles)" DestinationFiles="@(HFFiles->'$(debLayoutPackageRoot)/%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
|
||||
<!-- Replace config json variables -->
|
||||
<ItemGroup>
|
||||
<HostFxrTokenValue Include="%HOSTFXR_BRAND_NAME%">
|
||||
<ReplacementString>$(HostFxrBrandName)</ReplacementString>
|
||||
</HostFxrTokenValue>
|
||||
<HostFxrTokenValue Include="%SHARED_HOST_DEBIAN_VERSION%">
|
||||
<ReplacementString>$(HostPackageVersion)</ReplacementString>
|
||||
</HostFxrTokenValue>
|
||||
<HostFxrTokenValue Include="%HOSTFXR_NUGET_VERSION%">
|
||||
<ReplacementString>$(HostResolverPackageVersion)</ReplacementString>
|
||||
</HostFxrTokenValue>
|
||||
<HostFxrTokenValue Include="%HOSTFXR_DEBIAN_PACKAGE_NAME%">
|
||||
<ReplacementString>$(DebPackageName)</ReplacementString>
|
||||
</HostFxrTokenValue>
|
||||
<HostFxrTokenValue Include="%HOSTFXR_REVISION%">
|
||||
<ReplacementString>$(HostResolverPackageRelease)</ReplacementString>
|
||||
</HostFxrTokenValue>
|
||||
</ItemGroup>
|
||||
|
||||
<ReplaceFileContents InputFile="$(ConfigJsonFile)"
|
||||
DestinationFile="$(debLayoutDirectory)$(DebianConfigJsonName)"
|
||||
ReplacementItems="@(HostFxrTokenValue)" />
|
||||
|
||||
<Exec Command="$(DotNetTool) $(DebtoolAssemblyFile) -i $(debLayoutDirectory) -o $(debIntermediatesDir) -n $(DebPackageName) -v $(DebPackageVersion)"
|
||||
WorkingDirectory="$(DebToolBinDir)"
|
||||
IgnoreStandardErrorWarningFormat="true" />
|
||||
|
||||
<!-- Copy package to output -->
|
||||
<ItemGroup>
|
||||
<GeneratedDebFiles Remove="@(GeneratedDebFiles)" />
|
||||
<GeneratedDebFiles Include="$(debIntermediatesDir)/*.deb" />
|
||||
</ItemGroup>
|
||||
|
||||
<Error Text="@(GeneratedDebFiles->Count()) .deb files generated." Condition="'@(GeneratedDebFiles->Count())' != 1" />
|
||||
|
||||
<Copy SourceFiles="@(GeneratedDebFiles)"
|
||||
DestinationFiles="$(DebFile)"
|
||||
OverwriteReadOnlyFiles="True"
|
||||
SkipUnchangedFiles="False"
|
||||
UseHardlinksIfPossible="False" />
|
||||
|
||||
</Target>
|
||||
|
||||
<Target Name="GenerateSharedFrameworkDeb">
|
||||
|
||||
<PropertyGroup>
|
||||
<DebPackageName>$(SharedFxDebPkgName)</DebPackageName>
|
||||
<DebPackageVersion>$(RuntimePackageVersion)</DebPackageVersion>
|
||||
<InputRoot>$(SharedFrameworkPublishRoot)</InputRoot>
|
||||
<DebFile>$(SharedFrameworkInstallerFile)</DebFile>
|
||||
<ConfigJsonName>dotnet-sharedframework-debian_config.json</ConfigJsonName>
|
||||
<ConfigJsonFile>$(debPackaginfConfigPath)$(ConfigJsonName)</ConfigJsonFile>
|
||||
<debIntermediatesDir>$(PackagesIntermediateDir)$(DebPackageName)/$(DebPackageVersion)</debIntermediatesDir>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<debLayoutDirectory>$(debIntermediatesDir)/debianLayoutDirectory/</debLayoutDirectory>
|
||||
<debLayoutAbsolute>$(debLayoutDirectory)$</debLayoutAbsolute>
|
||||
<debLayoutPackageRoot>$(debLayoutDirectory)package_root</debLayoutPackageRoot>
|
||||
<debLayoutSamples>$(debLayoutDirectory)samples</debLayoutSamples>
|
||||
<debLayoutDocs>$(debLayoutDirectory)docs</debLayoutDocs>
|
||||
</PropertyGroup>
|
||||
|
||||
<RemoveDir Condition="Exists('$(debIntermediatesDir)')" Directories="$(debIntermediatesDir)" />
|
||||
<MakeDir Directories="$(debIntermediatesDir)" />
|
||||
|
||||
<!-- Create empty debian layout -->
|
||||
<RemoveDir Condition="Exists('$(debLayoutDirectory)')" Directories="$(debLayoutDirectory)" />
|
||||
<MakeDir Directories="$(debLayoutDirectory)" />
|
||||
<MakeDir Directories="$(debLayoutAbsolute)" />
|
||||
<MakeDir Directories="$(debLayoutPackageRoot)" />
|
||||
<MakeDir Directories="$(debLayoutSamples)" />
|
||||
<MakeDir Directories="$(debLayoutDocs)" />
|
||||
|
||||
<!-- Copy files to debian layout -->
|
||||
<ItemGroup>
|
||||
<SFFiles Include="$(InputRoot)/**/*" />
|
||||
</ItemGroup>
|
||||
|
||||
<Copy SourceFiles="@(SFFiles)" DestinationFiles="@(SFFiles->'$(debLayoutPackageRoot)/%(RecursiveDir)%(Filename)%(Extension)')"/>
|
||||
|
||||
<!-- Replace config json variables -->
|
||||
<ItemGroup>
|
||||
<SharedFrameworkTokenValue Include="%HOSTFXR_DEBIAN_PACKAGE_NAME%">
|
||||
<ReplacementString>$(HostFxrDebPkgName)</ReplacementString>
|
||||
</SharedFrameworkTokenValue>
|
||||
<SharedFrameworkTokenValue Include="%HOSTFXR_NUGET_VERSION%">
|
||||
<ReplacementString>$(HostResolverPackageVersion)</ReplacementString>
|
||||
</SharedFrameworkTokenValue>
|
||||
<SharedFrameworkTokenValue Include="%SHARED_FRAMEWORK_DEBIAN_PACKAGE_NAME%">
|
||||
<ReplacementString>$(SharedFxDebPkgName)</ReplacementString>
|
||||
</SharedFrameworkTokenValue>
|
||||
<SharedFrameworkTokenValue Include="%SHARED_FRAMEWORK_NUGET_NAME%">
|
||||
<ReplacementString>$(SharedFrameworkName)</ReplacementString>
|
||||
</SharedFrameworkTokenValue>
|
||||
<SharedFrameworkTokenValue Include="%SHARED_FRAMEWORK_NUGET_VERSION%">
|
||||
<ReplacementString>$(RuntimePackageVersion)</ReplacementString>
|
||||
</SharedFrameworkTokenValue>
|
||||
<SharedFrameworkTokenValue Include="%SHARED_FRAMEWORK_BRAND_NAME%">
|
||||
<ReplacementString>$(SharedFrameworkBrandName)</ReplacementString>
|
||||
</SharedFrameworkTokenValue>
|
||||
<SharedFrameworkTokenValue Include="%RUNTIME_DEPS_DEBIAN_PACKAGE_NAME%">
|
||||
<ReplacementString>$(RuntimeDependenciesDebPkgName)</ReplacementString>
|
||||
</SharedFrameworkTokenValue>
|
||||
<SharedFrameworkTokenValue Include="%RUNTIME_DEPS_VERSION%">
|
||||
<ReplacementString>$(RuntimeDepsDebPackageVersion)</ReplacementString>
|
||||
</SharedFrameworkTokenValue>
|
||||
<SharedFrameworkTokenValue Include="%SHARED_FRAMEWORK_REVISION%">
|
||||
<ReplacementString>$(RuntimePackageRelease)</ReplacementString>
|
||||
</SharedFrameworkTokenValue>
|
||||
|
||||
</ItemGroup>
|
||||
|
||||
<ReplaceFileContents InputFile="$(ConfigJsonFile)"
|
||||
DestinationFile="$(debLayoutDirectory)$(DebianConfigJsonName)"
|
||||
ReplacementItems="@(SharedFrameworkTokenValue)" />
|
||||
|
||||
<Exec Command="$(DotNetTool) $(DebtoolAssemblyFile) -i $(debLayoutDirectory) -o $(debIntermediatesDir) -n $(DebPackageName) -v $(DebPackageVersion)"
|
||||
WorkingDirectory="$(DebToolBinDir)"
|
||||
IgnoreStandardErrorWarningFormat="true" />
|
||||
|
||||
<!-- Copy package to output -->
|
||||
<ItemGroup>
|
||||
<GeneratedDebFiles Remove="@(GeneratedDebFiles)" />
|
||||
<GeneratedDebFiles Include="$(debIntermediatesDir)/*.deb" />
|
||||
</ItemGroup>
|
||||
|
||||
<Error Text="@(GeneratedDebFiles->Count()) .deb files generated." Condition="'@(GeneratedDebFiles->Count())' != 1" />
|
||||
|
||||
<Copy SourceFiles="@(GeneratedDebFiles)"
|
||||
DestinationFiles="$(DebFile)"
|
||||
OverwriteReadOnlyFiles="True"
|
||||
SkipUnchangedFiles="False"
|
||||
UseHardlinksIfPossible="False" />
|
||||
|
||||
</Target>
|
||||
|
||||
<Target Name="GenerateRuntimeDependenciesDeb">
|
||||
<PropertyGroup>
|
||||
<DebPackageName>$(RuntimeDependenciesDebPkgName)</DebPackageName>
|
||||
<DebPackageVersion>$(RuntimeDepsDebPackageVersion)</DebPackageVersion>
|
||||
<DebFile>$(DotnetRuntimeDependenciesPackageInstallerFile)</DebFile>
|
||||
<ConfigJsonName>dotnet-runtime-deps-debian_config.json</ConfigJsonName>
|
||||
<ConfigJsonFile>$(debPackaginfConfigPath)$(ConfigJsonName)</ConfigJsonFile>
|
||||
<debIntermediatesDir>$(PackagesIntermediateDir)$(DebPackageName)/$(DebPackageVersion)</debIntermediatesDir>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<debLayoutDirectory>$(debIntermediatesDir)/debianLayoutDirectory/</debLayoutDirectory>
|
||||
<debLayoutAbsolute>$(debLayoutDirectory)$</debLayoutAbsolute>
|
||||
<debLayoutPackageRoot>$(debLayoutDirectory)package_root</debLayoutPackageRoot>
|
||||
<debLayoutSamples>$(debLayoutDirectory)samples</debLayoutSamples>
|
||||
<debLayoutDocs>$(debLayoutDirectory)docs</debLayoutDocs>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Error out if the configuration file doesn't exist -->
|
||||
<Error Condition="!Exists('$(ConfigJsonFile)')" Text="Config file does not exist : '$(ConfigJsonFile)'" />
|
||||
|
||||
<RemoveDir Condition="Exists('$(debIntermediatesDir)')" Directories="$(debIntermediatesDir)" />
|
||||
<MakeDir Directories="$(debIntermediatesDir)" />
|
||||
|
||||
<!-- Create empty debian layout -->
|
||||
<RemoveDir Condition="Exists('$(debLayoutDirectory)')" Directories="$(debLayoutDirectory)" />
|
||||
<MakeDir Directories="$(debLayoutDirectory)" />
|
||||
<MakeDir Directories="$(debLayoutAbsolute)" />
|
||||
<MakeDir Directories="$(debLayoutPackageRoot)" />
|
||||
<MakeDir Directories="$(debLayoutSamples)" />
|
||||
<MakeDir Directories="$(debLayoutDocs)" />
|
||||
|
||||
<!-- Replace config json variables -->
|
||||
<ItemGroup>
|
||||
<SharedFrameworkTokenValue Include="%RUNTIME_DEPS_DEBIAN_PACKAGE_NAME%">
|
||||
<ReplacementString>$(RuntimeDependenciesDebPkgName)</ReplacementString>
|
||||
</SharedFrameworkTokenValue>
|
||||
<SharedFrameworkTokenValue Include="%RUNTIME_DEPS_VERSION%">
|
||||
<ReplacementString>$(RuntimeDepsDebPackageVersion)</ReplacementString>
|
||||
</SharedFrameworkTokenValue>
|
||||
<SharedFrameworkTokenValue Include="%RUNTIME_DEPS_REVISION%">
|
||||
<ReplacementString>$(RuntimeDepsDebPackageRelease)</ReplacementString>
|
||||
</SharedFrameworkTokenValue>
|
||||
|
||||
<!--
|
||||
In every runtime deps Deb package, include alternatives known to work with .NET.
|
||||
Specifying these as "or" dependencies lets us create one package that works on many distros.
|
||||
-->
|
||||
<SharedFrameworkTokenValue
|
||||
Include="%SSL_DEPENDENCY_LIST%"
|
||||
ReplacementString="libssl1.0.0 | libssl1.0.2 | libssl1.1" />
|
||||
|
||||
<KnownLibIcuVersion Include="72;71;70;69;68;67;66;65;63;60;57;55;52" />
|
||||
<SharedFrameworkTokenValue
|
||||
Include="%LIBICU_DEPENDENCY_LIST%"
|
||||
ReplacementString="libicu | @(KnownLibIcuVersion -> 'libicu%(Identity)', ' | ')" />
|
||||
</ItemGroup>
|
||||
|
||||
<ReplaceFileContents InputFile="$(ConfigJsonFile)"
|
||||
DestinationFile="$(debLayoutDirectory)$(DebianConfigJsonName)"
|
||||
ReplacementItems="@(SharedFrameworkTokenValue)" />
|
||||
|
||||
<Exec Command="$(DotNetTool) $(DebtoolAssemblyFile) -i $(debLayoutDirectory) -o $(debIntermediatesDir) -n $(DebPackageName) -v $(DebPackageVersion)"
|
||||
WorkingDirectory="$(DebToolBinDir)"
|
||||
IgnoreStandardErrorWarningFormat="true" />
|
||||
|
||||
<!-- Copy package to output -->
|
||||
<ItemGroup>
|
||||
<GeneratedDebFiles Remove="@(GeneratedDebFiles)" />
|
||||
<GeneratedDebFiles Include="$(debIntermediatesDir)/*.deb" />
|
||||
</ItemGroup>
|
||||
|
||||
<Error Text="@(GeneratedDebFiles->Count()) .deb files generated." Condition="'@(GeneratedDebFiles->Count())' != 1" />
|
||||
|
||||
<Copy SourceFiles="@(GeneratedDebFiles)"
|
||||
DestinationFiles="$(DebFile)"
|
||||
OverwriteReadOnlyFiles="True"
|
||||
SkipUnchangedFiles="False"
|
||||
UseHardlinksIfPossible="False" />
|
||||
|
||||
</Target>
|
||||
|
||||
</Project>
|
|
@ -1,275 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<!-- RuntimeIdentifier must be set or CoreCLRCrossgen2Dir does not get set properly. -->
|
||||
<EnsureRuntimeIdentifierSet>true</EnsureRuntimeIdentifierSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="Directory.Build.props" />
|
||||
<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.targets))" />
|
||||
|
||||
<PropertyGroup>
|
||||
<PackageTargets>
|
||||
GetInstallerLocations;
|
||||
GenerateVersionBadge;
|
||||
GenerateCompressedFiles;
|
||||
GenerateInstallers;
|
||||
GenerateProjectInstallers;
|
||||
</PackageTargets>
|
||||
</PropertyGroup>
|
||||
|
||||
<Target Name="Build"
|
||||
DependsOnTargets="
|
||||
BuildDependencies;
|
||||
BuildInstallers;
|
||||
SignCombinedInstallers"
|
||||
Condition="'$(DOTNET_BUILD_SKIP_PACKAGING)' != 'true'" />
|
||||
|
||||
<Target Name="BuildInstallers"
|
||||
DependsOnTargets="
|
||||
EnsureSignedR2RBinaries;
|
||||
$(PackageTargets)"
|
||||
Condition="'$(DOTNET_BUILD_SKIP_PACKAGING)' != 'true'" />
|
||||
|
||||
<Target Name="SignCombinedInstallers"
|
||||
Condition="
|
||||
'$(TargetOS)' == 'windows' and
|
||||
'$(SkipSigning)' != 'true'"
|
||||
DependsOnTargets="
|
||||
EnsureSignedBurnEngineFiles;
|
||||
EnsureSignedBurnBundleFiles" />
|
||||
|
||||
<!--
|
||||
To build installers, we need shared fx layouts to be built first. Call MSBuild on the
|
||||
requirements so that parallel MSBuild does the ordering work.
|
||||
|
||||
Also ensures NuGet packages are built and signed.
|
||||
-->
|
||||
<Target Name="BuildDependencies"
|
||||
Condition="'$(UsePrebuiltPortableBinariesForInstallers)' != 'true'"
|
||||
DependsOnTargets="GetSharedFrameworkProjects">
|
||||
<MSBuild
|
||||
Projects="
|
||||
@(SharedFrameworkProject);
|
||||
pack-managed.proj"
|
||||
Targets="Build" />
|
||||
</Target>
|
||||
|
||||
<Target Name="EnsureSignedR2RBinaries" Condition="'$(TargetOS)' == 'windows'" >
|
||||
<MSBuild Projects="$(SigningToolsDir)\SignR2RBinaries.proj" Targets="Build" />
|
||||
</Target>
|
||||
|
||||
<Target Name="EnsureSignedMsiFiles" Condition="'$(TargetOS)' == 'windows'" >
|
||||
<MSBuild Projects="$(SigningToolsDir)\SignMsiFiles.proj" Targets="Build" />
|
||||
</Target>
|
||||
|
||||
<Target Name="EnsureSignedBurnEngineFiles" Condition="'$(TargetOS)' == 'windows'" >
|
||||
<MSBuild Projects="$(SigningToolsDir)\SignBurnEngineFiles.proj" Targets="Build" />
|
||||
</Target>
|
||||
|
||||
<Target Name="EnsureSignedBurnBundleFiles" Condition="'$(TargetOS)' == 'windows'" >
|
||||
<MSBuild Projects="$(SigningToolsDir)\SignBurnBundleFiles.proj" Targets="Build" />
|
||||
</Target>
|
||||
|
||||
<Target Name="GenerateProjectInstallers" Condition="'$(GenerateProjectInstallers)' == 'true'">
|
||||
<ItemGroup>
|
||||
<_InstallerProject Include="$(InstallerProjectRoot)pkg\projects\**\*.pkgproj" />
|
||||
<_InstallerProject Include="$(InstallerProjectRoot)pkg\projects\**\*.sfxproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<MSBuild Projects="@(_InstallerProject)" Targets="GenerateInstallers" />
|
||||
</Target>
|
||||
|
||||
<Target Name="InitPackage">
|
||||
<ItemGroup>
|
||||
<OutDirs Include="$(SharedHostPublishRoot)" />
|
||||
<OutDirs Include="$(HostFxrPublishRoot)" />
|
||||
<OutDirs Include="$(SharedFrameworkPublishRoot)" />
|
||||
<OutDirs Include="$(NetHostPublishRoot)" />
|
||||
<OutDirs Include="$(Crossgen2PublishRoot)" />
|
||||
</ItemGroup>
|
||||
|
||||
<RemoveDir Directories="@(OutDirs)" />
|
||||
|
||||
<!-- copy shared host layout -->
|
||||
<Copy SourceFiles="$(SharedFrameworkPublishDir)dotnet$(ExeSuffix)"
|
||||
DestinationFolder="$(SharedHostPublishRoot)" />
|
||||
|
||||
<Copy SourceFiles="$(InstallerProjectRoot)pkg\THIRD-PARTY-NOTICES.TXT"
|
||||
DestinationFiles="$(SharedHostPublishRoot)ThirdPartyNotices.txt" />
|
||||
|
||||
<Copy SourceFiles="$(RepoRoot)LICENSE.TXT"
|
||||
DestinationFiles="$(SharedHostPublishRoot)LICENSE.txt"
|
||||
Condition="'$(TargetsUnix)' == 'true'"/>
|
||||
|
||||
<Copy SourceFiles="$(InstallerProjectRoot)pkg\LICENSE-MSFT.TXT"
|
||||
DestinationFiles="$(SharedHostPublishRoot)LICENSE.txt"
|
||||
Condition="'$(TargetsUnix)' != 'true'"/>
|
||||
|
||||
<!-- copy host fxr -->
|
||||
<ItemGroup>
|
||||
<HostFxrFiles Include="$(SharedFrameworkPublishDir)host\**\*" />
|
||||
</ItemGroup>
|
||||
<Copy SourceFiles="@(HostFxrFiles)"
|
||||
DestinationFolder="$(HostFxrPublishRoot)host/%(HostFxrFiles.RecursiveDir)" />
|
||||
|
||||
<!-- copy shared framwork layout -->
|
||||
<ItemGroup>
|
||||
<SharedFxFiles Include="$(SharedFrameworkPublishDir)shared\**\*" />
|
||||
</ItemGroup>
|
||||
<Copy Sourcefiles="@(SharedFxFiles)"
|
||||
DestinationFolder="$(SharedFrameworkPublishRoot)shared/%(SharedFxFiles.RecursiveDir)" />
|
||||
|
||||
<!-- copy crossgen2 -->
|
||||
<ItemGroup>
|
||||
<Crossgen2Files Include="$(CoreCLRCrossgen2Dir)*" />
|
||||
<Crossgen2Files Include="$(RepoRoot)THIRD-PARTY-NOTICES.TXT" />
|
||||
<Crossgen2Files Include="$(RepoRoot)LICENSE.TXT" />
|
||||
</ItemGroup>
|
||||
|
||||
<Copy Sourcefiles="@(Crossgen2Files)"
|
||||
DestinationFolder="$(Crossgen2PublishRoot)%(Crossgen2Files.RecursiveDir)" />
|
||||
|
||||
<!-- Copy nethost -->
|
||||
<PropertyGroup>
|
||||
<_NetHostOutputDir>$(ArtifactsBinDir)$(InstallerSourceOSPlatformConfig)\corehost\</_NetHostOutputDir>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<NetHostFiles Include="$(_NetHostOutputDir)nethost.h" />
|
||||
<NetHostFiles Include="$(_NetHostOutputDir)$(LibPrefix)nethost$(LibSuffix)" />
|
||||
<NetHostFiles Include="$(_NetHostOutputDir)$(StaticLibPrefix)nethost$(StaticLibSuffix)" />
|
||||
<NetHostFiles Condition="'$(TargetOS)' == 'windows'" Include="$(_NetHostOutputDir)nethost.lib" />
|
||||
</ItemGroup>
|
||||
<Copy SourceFiles="@(NetHostFiles)"
|
||||
DestinationFolder="$(NetHostPublishRoot)" />
|
||||
|
||||
<!-- Fix file permits -->
|
||||
<!-- Reset everything to user readable/writeable and group and world readable. -->
|
||||
<Exec Condition="'$(TargetOS)' != 'windows'"
|
||||
Command='find %(OutDirs.Identity) -type f -name "*" -exec chmod 644 {} \;' />
|
||||
<!-- Generally, dylibs and sos have 'x' -->
|
||||
<Exec Condition="'$(TargetOS)' != 'windows'"
|
||||
Command='find %(OutDirs.Identity) -type f -name "*.dylib" -exec chmod 755 {} \;' />
|
||||
<Exec Condition="'$(TargetOS)' != 'windows'"
|
||||
Command='find %(OutDirs.Identity) -type f -name "*.so" -exec chmod 755 {} \;' />
|
||||
<!-- Executables (those without dots) are executable -->
|
||||
<Exec Condition="'$(TargetOS)' != 'windows'"
|
||||
Command='find %(OutDirs.Identity) -type f ! -name "*.*" -exec chmod 755 {} \;' />
|
||||
|
||||
|
||||
<!-- Copy all to combined directory -->
|
||||
<ItemGroup>
|
||||
<CombinedFiles Include="$(SharedHostPublishRoot)\**\*" />
|
||||
<CombinedFiles Include="$(HostFxrPublishRoot)/**\*" />
|
||||
<CombinedFiles Include="$(SharedFrameworkPublishRoot)/**\*" />
|
||||
</ItemGroup>
|
||||
<RemoveDir Directories="@(CombinedPublishRoot)" />
|
||||
<Copy SourceFiles="@(CombinedFiles)"
|
||||
DestinationFolder="$(CombinedPublishRoot)/%(CombinedFiles.RecursiveDir)" />
|
||||
|
||||
<!-- create output dir -->
|
||||
<MakeDir Condition="!Exists('$(AssetOutputPath)')"
|
||||
Directories="$(AssetOutputPath)" />
|
||||
</Target>
|
||||
|
||||
<Target Name="GenerateVersionBadge">
|
||||
<PropertyGroup>
|
||||
<templateSvg>$(MSBuildThisFileDirectory)version_badge.svg</templateSvg>
|
||||
</PropertyGroup>
|
||||
|
||||
<MakeDir Condition="!Exists('$(BaseOutputRootPath)')" Directories="$(BaseOutputRootPath)" />
|
||||
|
||||
<WriteLinesToFile
|
||||
File="$(OutputVersionBadge)"
|
||||
Lines="$([System.IO.File]::ReadAllText('$(templateSvg)').Replace('ver_number', '$(ProductVersion)'))"
|
||||
Overwrite="true"
|
||||
/>
|
||||
</Target>
|
||||
|
||||
<Target Name="GenerateCompressedFiles"
|
||||
DependsOnTargets="
|
||||
InitPackage;
|
||||
GetInstallerLocations;
|
||||
GenerateZip;
|
||||
GenerateTarBall"
|
||||
Condition="'$(UsePrebuiltPortableBinariesForInstallers)' != 'true'"/>
|
||||
|
||||
<UsingTask TaskName="ZipFileCreateFromDirectory" AssemblyFile="$(InstallerTasksAssemblyPath)"/>
|
||||
<Target Name="GenerateZip"
|
||||
Condition="'$(TargetOS)'=='windows'">
|
||||
|
||||
<ZipFileCreateFromDirectory
|
||||
SourceDirectory="$(CombinedPublishRoot)"
|
||||
DestinationArchive="$(AssetOutputPath)$(CombinedCompressedFile)"
|
||||
OverwriteDestination="true" />
|
||||
|
||||
<ZipFileCreateFromDirectory
|
||||
SourceDirectory="$(HostFxrPublishRoot)"
|
||||
DestinationArchive="$(AssetOutputPath)$(HostFxrCompressedFile)"
|
||||
OverwriteDestination="true" />
|
||||
|
||||
<ZipFileCreateFromDirectory
|
||||
SourceDirectory="$(NetHostPublishRoot)"
|
||||
DestinationArchive="$(AssetOutputPath)$(NetHostCompressedFile)"
|
||||
OverwriteDestination="true" />
|
||||
|
||||
<ZipFileCreateFromDirectory
|
||||
SourceDirectory="$(Crossgen2PublishRoot)"
|
||||
DestinationArchive="$(AssetOutputPath)$(Crossgen2CompressedFile)"
|
||||
OverwriteDestination="true" />
|
||||
|
||||
<ZipFileCreateFromDirectory
|
||||
SourceDirectory="$(SharedFrameworkPublishRoot)"
|
||||
DestinationArchive="$(AssetOutputPath)$(SharedFrameworkCompressedFile)"
|
||||
OverwriteDestination="true" />
|
||||
|
||||
<ZipFileCreateFromDirectory
|
||||
SourceDirectory="$(SharedFrameworkPublishSymbolsDir)"
|
||||
DestinationArchive="$(AssetOutputPath)$(SharedFrameworkSymbolsCompressedFile)"
|
||||
OverwriteDestination="true" />
|
||||
</Target>
|
||||
|
||||
<Target Name="GenerateTarBall"
|
||||
Condition="'$(TargetOS)'!='windows'">
|
||||
|
||||
<!-- tar command will throw 'file changed as we read it' on some distros. ignore that error.
|
||||
we use -C so that we get a relative folder structure which is compressed rather than the full path -->
|
||||
<Exec Command="tar -C $(CombinedPublishRoot) -czf $(AssetOutputPath)$(CombinedCompressedFile) ."
|
||||
IgnoreExitCode="true"
|
||||
IgnoreStandardErrorWarningFormat="true" />
|
||||
<Exec Command="tar -C $(HostFxrPublishRoot) -czf $(AssetOutputPath)$(HostFxrCompressedFile) ."
|
||||
IgnoreExitCode="true"
|
||||
IgnoreStandardErrorWarningFormat="true" />
|
||||
<Exec Command="tar -C $(NetHostPublishRoot) -czf $(AssetOutputPath)$(NetHostCompressedFile) ."
|
||||
IgnoreExitCode="true"
|
||||
IgnoreStandardErrorWarningFormat="true" />
|
||||
<Exec Command="tar -C $(Crossgen2PublishRoot) -czf $(AssetOutputPath)$(Crossgen2CompressedFile) ."
|
||||
IgnoreExitCode="true"
|
||||
IgnoreStandardErrorWarningFormat="true" />
|
||||
<Exec Command="tar -C $(SharedFrameworkPublishRoot) -czf $(AssetOutputPath)$(SharedFrameworkCompressedFile) ."
|
||||
IgnoreExitCode="true"
|
||||
IgnoreStandardErrorWarningFormat="true" />
|
||||
<Exec Command="tar -C $(SharedFrameworkPublishSymbolsDir) -czf $(AssetOutputPath)$(SharedFrameworkSymbolsCompressedFile) ."
|
||||
IgnoreExitCode="true"
|
||||
IgnoreStandardErrorWarningFormat="true" />
|
||||
<Error Condition="!Exists('$(AssetOutputPath)$(CombinedCompressedFile)')" Message="Unable to create $(AssetOutputPath)$(CombinedCompressedFile)" />
|
||||
<Error Condition="!Exists('$(AssetOutputPath)$(HostFxrCompressedFile)')" Message="Unable to create $(AssetOutputPath)$(HostFxrCompressedFile)" />
|
||||
<Error Condition="!Exists('$(AssetOutputPath)$(NetHostCompressedFile)')" Message="Unable to create $(AssetOutputPath)$(NetHostCompressedFile)" />
|
||||
<Error Condition="!Exists('$(AssetOutputPath)$(Crossgen2CompressedFile)')" Message="Unable to create $(AssetOutputPath)$(Crossgen2CompressedFile)" />
|
||||
<Error Condition="!Exists('$(AssetOutputPath)$(SharedFrameworkCompressedFile)')" Message="Unable to create $(AssetOutputPath)$(SharedFrameworkCompressedFile)" />
|
||||
<Error Condition="!Exists('$(AssetOutputPath)$(SharedFrameworkSymbolsCompressedFile)')" Message="Unable to create $(AssetOutputPath)$(SharedFrameworkSymbolsCompressedFile)" />
|
||||
</Target>
|
||||
|
||||
<Import Project="osx\package.targets" />
|
||||
<Import Project="deb\package.targets" />
|
||||
<Import Project="rpm\package.targets" />
|
||||
|
||||
<PropertyGroup>
|
||||
<InstallerDependsOn>
|
||||
GeneratePkgs;
|
||||
GenerateDebs;
|
||||
GenerateRpms;
|
||||
</InstallerDependsOn>
|
||||
</PropertyGroup>
|
||||
<Target Name="GenerateInstallers" DependsOnTargets="InitPackage;$(InstallerDependsOn)" />
|
||||
|
||||
</Project>
|
|
@ -1,22 +0,0 @@
|
|||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title styles="color:white">Congratulations! You've successfully installed .NET CLI!</title>
|
||||
</head>
|
||||
<body>
|
||||
<div align="center" style="font-family: Helvetica;">
|
||||
<h1>The installation was successful.</h1>
|
||||
<p>.NET CLI was successfully installed.</p>
|
||||
<h2>
|
||||
Install dependencies
|
||||
</h2>
|
||||
<p>
|
||||
In order to be able to use .NET on OS X, you need to install <b>OpenSSL</b> version <b>1.0.1/1.0.2</b>.
|
||||
There are many ways to install/update your libssl. Using <a href="https://brew.sh">Homebrew</a> is the easiest.
|
||||
You can view the instructions <a href="http://brewformulas.org/Openssl">here</a> or if you're updating, <a href="https://github.com/dotnet/runtime/blob/master/docs/workflow/building/coreclr/osx-instructions.md#openssl">on this page</a>.
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,20 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title styles="color:white">Welcome to the .NET CLI installer.</title>
|
||||
</head>
|
||||
<body>
|
||||
<font face="Helvetica">
|
||||
<h3>
|
||||
Microsoft .NET CLI
|
||||
</h3>
|
||||
<p>
|
||||
.NET is a development platform that you can use to build command-line applications, microservices and modern websites. It is open source, cross-platform and is supported by Microsoft. We hope you enjoy using it! If you do, please consider joining the active community of developers that are contributing to the project on GitHub (https://github.com/dotnet/core). We happily accept issues and PRs.
|
||||
</p>
|
||||
<p>
|
||||
This package contains all the tools you will need to start writing applications with .NET. It includes the several tools, including the C# compiler and the NuGet package manager, and a copy of .NET for both you and the tools to use.
|
||||
</p>
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
|
@ -1,22 +0,0 @@
|
|||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title styles="color:white">Congratulations! You've successfully installed .NET CLI!</title>
|
||||
</head>
|
||||
<body>
|
||||
<div align="center" style="font-family: Helvetica;">
|
||||
<h1>The installation was successful.</h1>
|
||||
<p>.NET CLI was successfully installed.</p>
|
||||
<h2>
|
||||
Install dependencies
|
||||
</h2>
|
||||
<p>
|
||||
In order to be able to use .NET on OS X, you need to install <b>OpenSSL</b> version <b>1.0.1/1.0.2</b>.
|
||||
There are many ways to install/update your libssl. Using <a href="https://brew.sh">Homebrew</a> is the easiest.
|
||||
You can view the instructions <a href="http://brewformulas.org/Openssl">here</a> or if you're updating, <a href="https://github.com/dotnet/runtime/blob/master/docs/workflow/building/coreclr/osx-instructions.md#openssl">on this page</a>.
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,20 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title styles="color:white">Welcome to the .NET CLI installer.</title>
|
||||
</head>
|
||||
<body>
|
||||
<font face="Helvetica">
|
||||
<h3>
|
||||
Microsoft .NET CLI
|
||||
</h3>
|
||||
<p>
|
||||
.NET is a development platform that you can use to build command-line applications, microservices and modern websites. It is open source, cross-platform and is supported by Microsoft. We hope you enjoy using it! If you do, please consider joining the active community of developers that are contributing to the project on GitHub (https://github.com/dotnet/core). We happily accept issues and PRs.
|
||||
</p>
|
||||
<p>
|
||||
This package contains all the tools you will need to start writing applications with .NET. It includes the several tools, including the C# compiler and the NuGet package manager, and a copy of .NET for both you and the tools to use.
|
||||
</p>
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
|
@ -1,22 +0,0 @@
|
|||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title styles="color:white">Congratulations! You've successfully installed .NET CLI!</title>
|
||||
</head>
|
||||
<body>
|
||||
<div align="center" style="font-family: Helvetica;">
|
||||
<h1>The installation was successful.</h1>
|
||||
<p>.NET CLI was successfully installed.</p>
|
||||
<h2>
|
||||
Install dependencies
|
||||
</h2>
|
||||
<p>
|
||||
In order to be able to use .NET on OS X, you need to install <b>OpenSSL</b> version <b>1.0.1/1.0.2</b>.
|
||||
There are many ways to install/update your libssl. Using <a href="https://brew.sh">Homebrew</a> is the easiest.
|
||||
You can view the instructions <a href="http://brewformulas.org/Openssl">here</a> or if you're updating, <a href="https://github.com/dotnet/runtime/blob/master/docs/workflow/building/coreclr/osx-instructions.md#openssl">on this page</a>.
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,20 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title styles="color:white">Welcome to the .NET CLI installer.</title>
|
||||
</head>
|
||||
<body>
|
||||
<font face="Helvetica">
|
||||
<h3>
|
||||
Microsoft .NET CLI
|
||||
</h3>
|
||||
<p>
|
||||
.NET is a development platform that you can use to build command-line applications, microservices and modern websites. It is open source, cross-platform and is supported by Microsoft. We hope you enjoy using it! If you do, please consider joining the active community of developers that are contributing to the project on GitHub (https://github.com/dotnet/core). We happily accept issues and PRs.
|
||||
</p>
|
||||
<p>
|
||||
This package contains all the tools you will need to start writing applications with .NET. It includes the several tools, including the C# compiler and the NuGet package manager, and a copy of .NET for both you and the tools to use.
|
||||
</p>
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
|
@ -1,22 +0,0 @@
|
|||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title styles="color:white">Congratulations! You've successfully installed .NET CLI!</title>
|
||||
</head>
|
||||
<body>
|
||||
<div align="center" style="font-family: Helvetica;">
|
||||
<h1>The installation was successful.</h1>
|
||||
<p>.NET CLI was successfully installed.</p>
|
||||
<h2>
|
||||
Install dependencies
|
||||
</h2>
|
||||
<p>
|
||||
In order to be able to use .NET on OS X, you need to install <b>OpenSSL</b> version <b>1.0.1/1.0.2</b>.
|
||||
There are many ways to install/update your libssl. Using <a href="https://brew.sh">Homebrew</a> is the easiest.
|
||||
You can view the instructions <a href="http://brewformulas.org/Openssl">here</a> or if you're updating, <a href="https://github.com/dotnet/runtime/blob/master/docs/workflow/building/coreclr/osx-instructions.md#openssl">on this page</a>.
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,20 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title styles="color:white">Welcome to the .NET CLI installer.</title>
|
||||
</head>
|
||||
<body>
|
||||
<font face="Helvetica">
|
||||
<h3>
|
||||
Microsoft .NET CLI
|
||||
</h3>
|
||||
<p>
|
||||
.NET is a development platform that you can use to build command-line applications, microservices and modern websites. It is open source, cross-platform and is supported by Microsoft. We hope you enjoy using it! If you do, please consider joining the active community of developers that are contributing to the project on GitHub (https://github.com/dotnet/core). We happily accept issues and PRs.
|
||||
</p>
|
||||
<p>
|
||||
This package contains all the tools you will need to start writing applications with .NET. It includes the several tools, including the C# compiler and the NuGet package manager, and a copy of .NET for both you and the tools to use.
|
||||
</p>
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
|
@ -1,22 +0,0 @@
|
|||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title styles="color:white">Congratulations! You've successfully installed .NET CLI!</title>
|
||||
</head>
|
||||
<body>
|
||||
<div align="center" style="font-family: Helvetica;">
|
||||
<h1>The installation was successful.</h1>
|
||||
<p>.NET CLI was successfully installed.</p>
|
||||
<h2>
|
||||
Install dependencies
|
||||
</h2>
|
||||
<p>
|
||||
In order to be able to use .NET on OS X, you need to install <b>OpenSSL</b> version <b>1.0.1/1.0.2</b>.
|
||||
There are many ways to install/update your libssl. Using <a href="https://brew.sh">Homebrew</a> is the easiest.
|
||||
You can view the instructions <a href="http://brewformulas.org/Openssl">here</a> or if you're updating, <a href="https://github.com/dotnet/runtime/blob/master/docs/workflow/building/coreclr/osx-instructions.md#openssl">on this page</a>.
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,20 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title styles="color:white">Welcome to the .NET CLI installer.</title>
|
||||
</head>
|
||||
<body>
|
||||
<font face="Helvetica">
|
||||
<h3>
|
||||
Microsoft .NET CLI
|
||||
</h3>
|
||||
<p>
|
||||
.NET is a development platform that you can use to build command-line applications, microservices and modern websites. It is open source, cross-platform and is supported by Microsoft. We hope you enjoy using it! If you do, please consider joining the active community of developers that are contributing to the project on GitHub (https://github.com/dotnet/core). We happily accept issues and PRs.
|
||||
</p>
|
||||
<p>
|
||||
This package contains all the tools you will need to start writing applications with .NET. It includes the several tools, including the C# compiler and the NuGet package manager, and a copy of .NET for both you and the tools to use.
|
||||
</p>
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
|
@ -1,22 +0,0 @@
|
|||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title styles="color:white">Congratulations! You've successfully installed .NET CLI!</title>
|
||||
</head>
|
||||
<body>
|
||||
<div align="center" style="font-family: Helvetica;">
|
||||
<h1>The installation was successful.</h1>
|
||||
<p>.NET CLI was successfully installed.</p>
|
||||
<h2>
|
||||
Install dependencies
|
||||
</h2>
|
||||
<p>
|
||||
In order to be able to use .NET on OS X, you need to install <b>OpenSSL</b> version <b>1.0.1/1.0.2</b>.
|
||||
There are many ways to install/update your libssl. Using <a href="https://brew.sh">Homebrew</a> is the easiest.
|
||||
You can view the instructions <a href="http://brewformulas.org/Openssl">here</a> or if you're updating, <a href="https://github.com/dotnet/runtime/blob/master/docs/workflow/building/coreclr/osx-instructions.md#openssl">on this page</a>.
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,20 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title styles="color:white">Welcome to the .NET CLI installer.</title>
|
||||
</head>
|
||||
<body>
|
||||
<font face="Helvetica">
|
||||
<h3>
|
||||
Microsoft .NET CLI
|
||||
</h3>
|
||||
<p>
|
||||
.NET is a development platform that you can use to build command-line applications, microservices and modern websites. It is open source, cross-platform and is supported by Microsoft. We hope you enjoy using it! If you do, please consider joining the active community of developers that are contributing to the project on GitHub (https://github.com/dotnet/core). We happily accept issues and PRs.
|
||||
</p>
|
||||
<p>
|
||||
This package contains all the tools you will need to start writing applications with .NET. It includes the several tools, including the C# compiler and the NuGet package manager, and a copy of .NET for both you and the tools to use.
|
||||
</p>
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
|
@ -1,22 +0,0 @@
|
|||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title styles="color:white">Congratulations! You've successfully installed .NET CLI!</title>
|
||||
</head>
|
||||
<body>
|
||||
<div align="center" style="font-family: Helvetica;">
|
||||
<h1>The installation was successful.</h1>
|
||||
<p>.NET CLI was successfully installed.</p>
|
||||
<h2>
|
||||
Install dependencies
|
||||
</h2>
|
||||
<p>
|
||||
In order to be able to use .NET on OS X, you need to install <b>OpenSSL</b> version <b>1.0.1/1.0.2</b>.
|
||||
There are many ways to install/update your libssl. Using <a href="https://brew.sh">Homebrew</a> is the easiest.
|
||||
You can view the instructions <a href="http://brewformulas.org/Openssl">here</a> or if you're updating, <a href="https://github.com/dotnet/runtime/blob/master/docs/workflow/building/coreclr/osx-instructions.md#openssl">on this page</a>.
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,20 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title styles="color:white">Welcome to the .NET CLI installer.</title>
|
||||
</head>
|
||||
<body>
|
||||
<font face="Helvetica">
|
||||
<h3>
|
||||
Microsoft .NET CLI
|
||||
</h3>
|
||||
<p>
|
||||
.NET is a development platform that you can use to build command-line applications, microservices and modern websites. It is open source, cross-platform and is supported by Microsoft. We hope you enjoy using it! If you do, please consider joining the active community of developers that are contributing to the project on GitHub (https://github.com/dotnet/core). We happily accept issues and PRs.
|
||||
</p>
|
||||
<p>
|
||||
This package contains all the tools you will need to start writing applications with .NET. It includes the several tools, including the C# compiler and the NuGet package manager, and a copy of .NET for both you and the tools to use.
|
||||
</p>
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
|
@ -1,22 +0,0 @@
|
|||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title styles="color:white">Congratulations! You've successfully installed .NET CLI!</title>
|
||||
</head>
|
||||
<body>
|
||||
<div align="center" style="font-family: Helvetica;">
|
||||
<h1>The installation was successful.</h1>
|
||||
<p>.NET CLI was successfully installed.</p>
|
||||
<h2>
|
||||
Install dependencies
|
||||
</h2>
|
||||
<p>
|
||||
In order to be able to use .NET on OS X, you need to install <b>OpenSSL</b> version <b>1.0.1/1.0.2</b>.
|
||||
There are many ways to install/update your libssl. Using <a href="https://brew.sh">Homebrew</a> is the easiest.
|
||||
You can view the instructions <a href="http://brewformulas.org/Openssl">here</a> or if you're updating, <a href="https://github.com/dotnet/runtime/blob/master/docs/workflow/building/coreclr/osx-instructions.md#openssl">on this page</a>.
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,20 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title styles="color:white">Welcome to the .NET CLI installer.</title>
|
||||
</head>
|
||||
<body>
|
||||
<font face="Helvetica">
|
||||
<h3>
|
||||
Microsoft .NET CLI
|
||||
</h3>
|
||||
<p>
|
||||
.NET is a development platform that you can use to build command-line applications, microservices and modern websites. It is open source, cross-platform and is supported by Microsoft. We hope you enjoy using it! If you do, please consider joining the active community of developers that are contributing to the project on GitHub (https://github.com/dotnet/core). We happily accept issues and PRs.
|
||||
</p>
|
||||
<p>
|
||||
This package contains all the tools you will need to start writing applications with .NET. It includes the several tools, including the C# compiler and the NuGet package manager, and a copy of .NET for both you and the tools to use.
|
||||
</p>
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
|
@ -1,22 +0,0 @@
|
|||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title styles="color:white">Congratulations! You've successfully installed .NET CLI!</title>
|
||||
</head>
|
||||
<body>
|
||||
<div align="center" style="font-family: Helvetica;">
|
||||
<h1>The installation was successful.</h1>
|
||||
<p>.NET CLI was successfully installed.</p>
|
||||
<h2>
|
||||
Install dependencies
|
||||
</h2>
|
||||
<p>
|
||||
In order to be able to use .NET on OS X, you need to install <b>OpenSSL</b> version <b>1.0.1/1.0.2</b>.
|
||||
There are many ways to install/update your libssl. Using <a href="https://brew.sh">Homebrew</a> is the easiest.
|
||||
You can view the instructions <a href="http://brewformulas.org/Openssl">here</a> or if you're updating, <a href="https://github.com/dotnet/runtime/blob/master/docs/workflow/building/coreclr/osx-instructions.md#openssl">on this page</a>.
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,20 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title styles="color:white">Welcome to the .NET CLI installer.</title>
|
||||
</head>
|
||||
<body>
|
||||
<font face="Helvetica">
|
||||
<h3>
|
||||
Microsoft .NET CLI
|
||||
</h3>
|
||||
<p>
|
||||
.NET is a development platform that you can use to build command-line applications, microservices and modern websites. It is open source, cross-platform and is supported by Microsoft. We hope you enjoy using it! If you do, please consider joining the active community of developers that are contributing to the project on GitHub (https://github.com/dotnet/core). We happily accept issues and PRs.
|
||||
</p>
|
||||
<p>
|
||||
This package contains all the tools you will need to start writing applications with .NET. It includes the several tools, including the C# compiler and the NuGet package manager, and a copy of .NET for both you and the tools to use.
|
||||
</p>
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
|
@ -1,22 +0,0 @@
|
|||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title styles="color:white">Congratulations! You've successfully installed .NET CLI!</title>
|
||||
</head>
|
||||
<body>
|
||||
<div align="center" style="font-family: Helvetica;">
|
||||
<h1>The installation was successful.</h1>
|
||||
<p>.NET CLI was successfully installed.</p>
|
||||
<h2>
|
||||
Install dependencies
|
||||
</h2>
|
||||
<p>
|
||||
In order to be able to use .NET on OS X, you need to install <b>OpenSSL</b> version <b>1.0.1/1.0.2</b>.
|
||||
There are many ways to install/update your libssl. Using <a href="https://brew.sh">Homebrew</a> is the easiest.
|
||||
You can view the instructions <a href="http://brewformulas.org/Openssl">here</a> or if you're updating, <a href="https://github.com/dotnet/runtime/blob/master/docs/workflow/building/coreclr/osx-instructions.md#openssl">on this page</a>.
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,20 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title styles="color:white">Welcome to the .NET CLI installer.</title>
|
||||
</head>
|
||||
<body>
|
||||
<font face="Helvetica">
|
||||
<h3>
|
||||
Microsoft .NET CLI
|
||||
</h3>
|
||||
<p>
|
||||
.NET is a development platform that you can use to build command-line applications, microservices and modern websites. It is open source, cross-platform and is supported by Microsoft. We hope you enjoy using it! If you do, please consider joining the active community of developers that are contributing to the project on GitHub (https://github.com/dotnet/core). We happily accept issues and PRs.
|
||||
</p>
|
||||
<p>
|
||||
This package contains all the tools you will need to start writing applications with .NET. It includes the several tools, including the C# compiler and the NuGet package manager, and a copy of .NET for both you and the tools to use.
|
||||
</p>
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
|
@ -1,22 +0,0 @@
|
|||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title styles="color:white">Congratulations! You've successfully installed .NET CLI!</title>
|
||||
</head>
|
||||
<body>
|
||||
<div align="center" style="font-family: Helvetica;">
|
||||
<h1>The installation was successful.</h1>
|
||||
<p>.NET CLI was successfully installed.</p>
|
||||
<h2>
|
||||
Install dependencies
|
||||
</h2>
|
||||
<p>
|
||||
In order to be able to use .NET on OS X, you need to install <b>OpenSSL</b> version <b>1.0.1/1.0.2</b>.
|
||||
There are many ways to install/update your libssl. Using <a href="https://brew.sh">Homebrew</a> is the easiest.
|
||||
You can view the instructions <a href="http://brewformulas.org/Openssl">here</a> or if you're updating, <a href="https://github.com/dotnet/runtime/blob/master/docs/workflow/building/coreclr/osx-instructions.md#openssl">on this page</a>.
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,20 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title styles="color:white">Welcome to the .NET CLI installer.</title>
|
||||
</head>
|
||||
<body>
|
||||
<font face="Helvetica">
|
||||
<h3>
|
||||
Microsoft .NET CLI
|
||||
</h3>
|
||||
<p>
|
||||
.NET is a development platform that you can use to build command-line applications, microservices and modern websites. It is open source, cross-platform and is supported by Microsoft. We hope you enjoy using it! If you do, please consider joining the active community of developers that are contributing to the project on GitHub (https://github.com/dotnet/core). We happily accept issues and PRs.
|
||||
</p>
|
||||
<p>
|
||||
This package contains all the tools you will need to start writing applications with .NET. It includes the several tools, including the C# compiler and the NuGet package manager, and a copy of .NET for both you and the tools to use.
|
||||
</p>
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
|
@ -1,22 +0,0 @@
|
|||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title styles="color:white">Congratulations! You've successfully installed .NET CLI!</title>
|
||||
</head>
|
||||
<body>
|
||||
<div align="center" style="font-family: Helvetica;">
|
||||
<h1>The installation was successful.</h1>
|
||||
<p>.NET CLI was successfully installed.</p>
|
||||
<h2>
|
||||
Install dependencies
|
||||
</h2>
|
||||
<p>
|
||||
In order to be able to use .NET on OS X, you need to install <b>OpenSSL</b> version <b>1.0.1/1.0.2</b>.
|
||||
There are many ways to install/update your libssl. Using <a href="https://brew.sh">Homebrew</a> is the easiest.
|
||||
You can view the instructions <a href="http://brewformulas.org/Openssl">here</a> or if you're updating, <a href="https://github.com/dotnet/runtime/blob/master/docs/workflow/building/coreclr/osx-instructions.md#openssl">on this page</a>.
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,20 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title styles="color:white">Welcome to the .NET CLI installer.</title>
|
||||
</head>
|
||||
<body>
|
||||
<font face="Helvetica">
|
||||
<h3>
|
||||
Microsoft .NET CLI
|
||||
</h3>
|
||||
<p>
|
||||
.NET is a development platform that you can use to build command-line applications, microservices and modern websites. It is open source, cross-platform and is supported by Microsoft. We hope you enjoy using it! If you do, please consider joining the active community of developers that are contributing to the project on GitHub (https://github.com/dotnet/core). We happily accept issues and PRs.
|
||||
</p>
|
||||
<p>
|
||||
This package contains all the tools you will need to start writing applications with .NET. It includes the several tools, including the C# compiler and the NuGet package manager, and a copy of .NET for both you and the tools to use.
|
||||
</p>
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
|
@ -1,22 +0,0 @@
|
|||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title styles="color:white">Congratulations! You've successfully installed .NET CLI!</title>
|
||||
</head>
|
||||
<body>
|
||||
<div align="center" style="font-family: Helvetica;">
|
||||
<h1>The installation was successful.</h1>
|
||||
<p>.NET CLI was successfully installed.</p>
|
||||
<h2>
|
||||
Install dependencies
|
||||
</h2>
|
||||
<p>
|
||||
In order to be able to use .NET on OS X, you need to install <b>OpenSSL</b> version <b>1.0.1/1.0.2</b>.
|
||||
There are many ways to install/update your libssl. Using <a href="https://brew.sh">Homebrew</a> is the easiest.
|
||||
You can view the instructions <a href="http://brewformulas.org/Openssl">here</a> or if you're updating, <a href="https://github.com/dotnet/runtime/blob/master/docs/workflow/building/coreclr/osx-instructions.md#openssl">on this page</a>.
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,20 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title styles="color:white">Welcome to the .NET CLI installer.</title>
|
||||
</head>
|
||||
<body>
|
||||
<font face="Helvetica">
|
||||
<h3>
|
||||
Microsoft .NET CLI
|
||||
</h3>
|
||||
<p>
|
||||
.NET is a development platform that you can use to build command-line applications, microservices and modern websites. It is open source, cross-platform and is supported by Microsoft. We hope you enjoy using it! If you do, please consider joining the active community of developers that are contributing to the project on GitHub (https://github.com/dotnet/core). We happily accept issues and PRs.
|
||||
</p>
|
||||
<p>
|
||||
This package contains all the tools you will need to start writing applications with .NET. It includes the several tools, including the C# compiler and the NuGet package manager, and a copy of .NET for both you and the tools to use.
|
||||
</p>
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
|
@ -1,22 +0,0 @@
|
|||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title styles="color:white">Congratulations! You've successfully installed .NET CLI!</title>
|
||||
</head>
|
||||
<body>
|
||||
<div align="center" style="font-family: Helvetica;">
|
||||
<h1>The installation was successful.</h1>
|
||||
<p>.NET CLI was successfully installed.</p>
|
||||
<h2>
|
||||
Install dependencies
|
||||
</h2>
|
||||
<p>
|
||||
In order to be able to use .NET on OS X, you need to install <b>OpenSSL</b> version <b>1.0.1/1.0.2</b>.
|
||||
There are many ways to install/update your libssl. Using <a href="https://brew.sh">Homebrew</a> is the easiest.
|
||||
You can view the instructions <a href="http://brewformulas.org/Openssl">here</a> or if you're updating, <a href="https://github.com/dotnet/runtime/blob/master/docs/workflow/building/coreclr/osx-instructions.md#openssl">on this page</a>.
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,20 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title styles="color:white">Welcome to the .NET CLI installer.</title>
|
||||
</head>
|
||||
<body>
|
||||
<font face="Helvetica">
|
||||
<h3>
|
||||
Microsoft .NET CLI
|
||||
</h3>
|
||||
<p>
|
||||
.NET is a development platform that you can use to build command-line applications, microservices and modern websites. It is open source, cross-platform and is supported by Microsoft. We hope you enjoy using it! If you do, please consider joining the active community of developers that are contributing to the project on GitHub (https://github.com/dotnet/core). We happily accept issues and PRs.
|
||||
</p>
|
||||
<p>
|
||||
This package contains all the tools you will need to start writing applications with .NET. It includes the several tools, including the C# compiler and the NuGet package manager, and a copy of .NET for both you and the tools to use.
|
||||
</p>
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
|
@ -1,6 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<OSXScriptRoot>$(PackagingRoot)osx/</OSXScriptRoot>
|
||||
</PropertyGroup>
|
||||
</Project>
|
|
@ -1,103 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project='package.props' />
|
||||
|
||||
<UsingTask TaskName="ReplaceFileContents" AssemblyFile="$(InstallerTasksAssemblyPath)"/>
|
||||
|
||||
<Target Name="InitPkg"
|
||||
Condition="'$(TargetOS)' == 'OSX' or '$(TargetOS)' == 'iOS' or '$(TargetOS)' == 'tvOS'">
|
||||
<MakeDir Condition="!Exists('$(PackagesIntermediateDir)')"
|
||||
Directories="$(PackagesIntermediateDir)" />
|
||||
</Target>
|
||||
|
||||
<Target Name="GeneratePkgs"
|
||||
Condition="'$(TargetOS)' == 'OSX' or '$(TargetOS)' == 'iOS' or '$(TargetOS)' == 'tvOS'"
|
||||
DependsOnTargets="GetInstallerBrandingNames;InitPkg">
|
||||
<ItemGroup>
|
||||
<OSXPackages Include="sharedframework">
|
||||
<Id>$(SharedFxComponentId)</Id>
|
||||
<Root>$(SharedFrameworkPublishRoot)</Root>
|
||||
<Script>$(OSXScriptRoot)sharedframework/scripts</Script>
|
||||
<OutFile>$(PackagesIntermediateDir)$(SharedFxComponentId).pkg</OutFile>
|
||||
<InstallerFile>$(SharedFrameworkInstallerFile)</InstallerFile>
|
||||
</OSXPackages>
|
||||
<OSXPackages Include="sharedhost">
|
||||
<Id>$(SharedHostComponentId)</Id>
|
||||
<Root>$(SharedHostPublishRoot)</Root>
|
||||
<Script>$(OSXScriptRoot)sharedhost/scripts</Script>
|
||||
<OutFile>$(PackagesIntermediateDir)$(SharedHostComponentId).pkg</OutFile>
|
||||
<InstallerFile>$(SharedHostInstallerFile)</InstallerFile>
|
||||
</OSXPackages>
|
||||
<OSXPackages Include="hostfxr">
|
||||
<Id>$(HostFxrComponentId)</Id>
|
||||
<Root>$(HostFxrPublishRoot)</Root>
|
||||
<Script>$(OSXScriptRoot)hostfxr/scripts</Script>
|
||||
<OutFile>$(PackagesIntermediateDir)$(HostFxrComponentId).pkg</OutFile>
|
||||
<InstallerFile>$(HostFxrInstallerFile)</InstallerFile>
|
||||
</OSXPackages>
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<InstallLocation>/usr/local/share/dotnet</InstallLocation>
|
||||
<CommonArgs>--version $(SharedFrameworkNugetVersion) --install-location $(InstallLocation)</CommonArgs>
|
||||
</PropertyGroup>
|
||||
|
||||
<Exec Command="pkgbuild --root %(OSXPackages.Root) --identifier %(OSXPackages.Id) $(CommonArgs) --scripts %(OSXPackages.Script) %(OSXPackages.OutFile)" />
|
||||
|
||||
<Copy SourceFiles="%(OSXPackages.OutFile)" DestinationFiles="%(OSXPackages.InstallerFile)" />
|
||||
|
||||
<!-- GenerateSharedFrameworkProductArchive -->
|
||||
<PropertyGroup>
|
||||
<SharedFxScriptRoot>$(OSXScriptRoot)sharedframework/</SharedFxScriptRoot>
|
||||
<ResourcePath>$(PackagesIntermediateDir)resources</ResourcePath>
|
||||
<OutFilePath>$(CombinedInstallerFile)</OutFilePath>
|
||||
<TemplateFile>shared-framework-distribution-template.xml</TemplateFile>
|
||||
<DistributionFile>$(PackagesIntermediateDir)$(TemplateFile)</DistributionFile>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Copy Resources directory to Package intermediate location-->
|
||||
<MakeDir Condition="!Exists('$(ResourcePath')"
|
||||
Directories="$(ResourcePath)" />
|
||||
<ItemGroup>
|
||||
<ResourceFiles Include="$(OSXScriptRoot)sharedframework/resources\**\*" />
|
||||
<ResourceFiles Include="$(OSXScriptRoot)resources/**/*" />
|
||||
</ItemGroup>
|
||||
|
||||
<Copy Sourcefiles="@(ResourceFiles)"
|
||||
DestinationFolder="$(ResourcePath)/%(ResourceFiles.RecursiveDir)" />
|
||||
|
||||
<!-- Replace Product brand in Conclusion file -->
|
||||
<PropertyGroup>
|
||||
<ConclusionPage>conclusion.html</ConclusionPage>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<UIFiles Include="$(PackagesIntermediateDir)resources/**/*$(ConclusionPage)" />
|
||||
</ItemGroup>
|
||||
|
||||
<ReplaceFileContents
|
||||
InputFile="%(UIFiles.Identity)"
|
||||
DestinationFile="%(UIFiles.Identity)"
|
||||
ReplacementPatterns="{SharedFxBrandName}"
|
||||
ReplacementStrings="$(SharedFrameworkBrandName)" />
|
||||
|
||||
<ItemGroup>
|
||||
<ConfigPattern Include="{SharedFxComponentId}" /> <ConfigReplace Include="$(SharedFxComponentId)" />
|
||||
<ConfigPattern Include="{SharedHostComponentId}" /> <ConfigReplace Include="$(SharedHostComponentId)" />
|
||||
<ConfigPattern Include="{HostFxrComponentId}" /> <ConfigReplace Include="$(HostFxrComponentId)" />
|
||||
<ConfigPattern Include="{SharedFrameworkNugetName}" /> <ConfigReplace Include="$(SharedFrameworkName)'" />
|
||||
<ConfigPattern Include="{SharedFrameworkNugetVersion}" /> <ConfigReplace Include="$(SharedFrameworkNugetVersion)" />
|
||||
<ConfigPattern Include="{SharedFxBrandName}" /> <ConfigReplace Include="$(SharedFrameworkBrandName)" />
|
||||
<ConfigPattern Include="{SharedHostBrandName}" /> <ConfigReplace Include="$(SharedHostBrandName)" />
|
||||
<ConfigPattern Include="{HostFxrBrandName}" /> <ConfigReplace Include="$(HostFxrBrandName)" />
|
||||
</ItemGroup>
|
||||
|
||||
<ReplaceFileContents
|
||||
InputFile="$(SharedFxScriptRoot)$(TemplateFile)"
|
||||
DestinationFile="$(DistributionFile)"
|
||||
ReplacementPatterns="@(ConfigPattern)"
|
||||
ReplacementStrings="@(ConfigReplace)" />
|
||||
|
||||
<Exec Command="productbuild --version $(ProductVersion) --identifier $(SharedPackageId) --package-path $(PackagesIntermediateDir) --resources $(ResourcePath) --distribution $(DistributionFile) $(OutFilePath)" />
|
||||
</Target>
|
||||
|
||||
</Project>
|
Binary file not shown.
Before Width: | Height: | Size: 4.5 KiB |
|
@ -1,13 +0,0 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# Licensed to the .NET Foundation under one or more agreements.
|
||||
# The .NET Foundation licenses this file to you under the MIT license.
|
||||
#
|
||||
|
||||
PACKAGE=$1
|
||||
INSTALL_DESTINATION=$2
|
||||
|
||||
# A temporary fix for the permissions issue(s)
|
||||
chmod -R 755 $INSTALL_DESTINATION/shared
|
||||
|
||||
exit 0
|
|
@ -1,30 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<installer-gui-script minSpecVersion="1">
|
||||
<title>{SharedFxBrandName} (x64)</title>
|
||||
<background file="dotnetbackground.png" mime-type="image/png"/>
|
||||
<options customize="never" require-scripts="false" />
|
||||
<welcome file="welcome.html" mime-type="text/html" />
|
||||
<conclusion file="conclusion.html" mime-type="text/html" />
|
||||
<volume-check>
|
||||
<allowed-os-versions>
|
||||
<os-version min="10.13" />
|
||||
</allowed-os-versions>
|
||||
</volume-check>
|
||||
<choices-outline>
|
||||
<line choice="{SharedFxComponentId}.pkg" />
|
||||
<line choice="{SharedHostComponentId}.pkg" />
|
||||
<line choice="{HostFxrComponentId}.pkg" />
|
||||
</choices-outline>
|
||||
<choice id="{SharedFxComponentId}.pkg" visible="true" title="{SharedFxBrandName} (x64)" description="The .NET Shared Framework">
|
||||
<pkg-ref id="{SharedFxComponentId}.pkg" />
|
||||
</choice>
|
||||
<choice id="{HostFxrComponentId}.pkg" visible="true" title="{HostFxrBrandName} (x64)" description="The .NET HostFxr">
|
||||
<pkg-ref id="{HostFxrComponentId}.pkg" />
|
||||
</choice>
|
||||
<choice id="{SharedHostComponentId}.pkg" visible="true" title="{SharedHostBrandName} (x64)" description="The .NET Shared Host." >
|
||||
<pkg-ref id="{SharedHostComponentId}.pkg" />
|
||||
</choice>
|
||||
<pkg-ref id="{SharedFxComponentId}.pkg">{SharedFxComponentId}.pkg</pkg-ref>
|
||||
<pkg-ref id="{HostFxrComponentId}.pkg">{HostFxrComponentId}.pkg</pkg-ref>
|
||||
<pkg-ref id="{SharedHostComponentId}.pkg">{SharedHostComponentId}.pkg</pkg-ref>
|
||||
</installer-gui-script>
|
|
@ -1,24 +0,0 @@
|
|||
<Project>
|
||||
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>$(NetCoreAppCurrent)</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
|
||||
|
||||
<!--
|
||||
Ensure managed binaries are signed (if necessary) then call the Pack target on them. These
|
||||
packages are used in other parts of the build, so this can't wait for Arcade's Pack stage.
|
||||
-->
|
||||
<Target Name="Build">
|
||||
<MSBuild Projects="$(SigningToolsDir)\SignBinaries.proj" Targets="Build" />
|
||||
|
||||
<ItemGroup>
|
||||
<ManagedProject Include="$(InstallerProjectRoot)managed\**\*.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<MSBuild Projects="@(ManagedProject)" Targets="Pack" />
|
||||
</Target>
|
||||
|
||||
</Project>
|
|
@ -1,43 +0,0 @@
|
|||
{
|
||||
"maintainer_name": ".NET Team",
|
||||
"maintainer_email": "dotnetpackages@dotnetfoundation.org",
|
||||
"vendor": ".NET Foundation",
|
||||
|
||||
"package_name": "%HOSTFXR_RPM_PACKAGE_NAME%",
|
||||
"install_root": "/usr/share/dotnet",
|
||||
"install_doc": "/usr/share/doc/%HOSTFXR_RPM_PACKAGE_NAME%/",
|
||||
|
||||
"short_description": "%HOSTFXR_BRAND_NAME% %HOSTFXR_NUGET_VERSION%",
|
||||
"long_description": ".NET is a development platform that you can use to build command-line\napplications, microservices and modern websites. It is open source,\ncross-platform and is supported by Microsoft. We hope you enjoy using it!\nIf you do, please consider joining the active community of developers that are\ncontributing to the project on GitHub (https://github.com/dotnet/core).\nWe happily accept issues and PRs.",
|
||||
"homepage": "https://github.com/dotnet/core",
|
||||
|
||||
"release":{
|
||||
"package_version":"1.0.0.0",
|
||||
"package_revision":"%HOSTFXR_REVISION%",
|
||||
"urgency" : "low",
|
||||
"changelog_message" : "https://github.com/dotnet/core/tree/master/release-notes"
|
||||
},
|
||||
|
||||
"control": {
|
||||
"priority":"standard",
|
||||
"section":"libs",
|
||||
"architecture":"amd64"
|
||||
},
|
||||
|
||||
"copyright": "2017 Microsoft",
|
||||
|
||||
"license": {
|
||||
"type": "MIT and ASL 2.0 and BSD",
|
||||
"full_text": "Copyright (c) 2017 Microsoft\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE."
|
||||
},
|
||||
|
||||
"rpm_dependencies": [{
|
||||
"package_name": "dotnet-host",
|
||||
"package_version": "%SHARED_HOST_RPM_VERSION%"
|
||||
}],
|
||||
|
||||
"directories" : [
|
||||
"/usr/share/dotnet/host",
|
||||
"/usr/share/doc/%HOSTFXR_RPM_PACKAGE_NAME%"
|
||||
]
|
||||
}
|
|
@ -1,44 +0,0 @@
|
|||
{
|
||||
"maintainer_name": ".NET Team",
|
||||
"maintainer_email": "dotnetpackages@dotnetfoundation.org",
|
||||
"vendor": ".NET Foundation",
|
||||
|
||||
"package_name": "%RUNTIME_DEPS_RPM_PACKAGE_NAME%",
|
||||
"install_root": "/usr/share/dotnet",
|
||||
|
||||
"short_description": "%RUNTIME_DEPS_RPM_PACKAGE_NAME% %RUNTIME_DEPS_VERSION%",
|
||||
"long_description": ".NET is a development platform that you can use to build command-line applications, microservices and modern websites. This package installs all the system dependencies for .NET Runtime.",
|
||||
"homepage": "https://dot.net/core",
|
||||
|
||||
"release":{
|
||||
"package_version":"1.0.0.0",
|
||||
"package_revision":"%RUNTIME_DEPS_REVISION%",
|
||||
"urgency" : "low",
|
||||
"changelog_message" : "https://github.com/dotnet/core/tree/master/release-notes"
|
||||
},
|
||||
|
||||
"control": {
|
||||
"priority":"standard",
|
||||
"section":"libs",
|
||||
"architecture":"amd64"
|
||||
},
|
||||
|
||||
"copyright": "2018 Microsoft",
|
||||
"license": {
|
||||
"type": "MIT",
|
||||
"full_text": "Copyright (c) 2018 Microsoft\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE."
|
||||
},
|
||||
|
||||
"rpm_dependencies":[{
|
||||
"package_name": "openssl-libs",
|
||||
"package_version": ""
|
||||
},
|
||||
{
|
||||
"package_name": "libicu",
|
||||
"package_version": ""
|
||||
},
|
||||
{
|
||||
"package_name": "krb5-libs",
|
||||
"package_version": ""
|
||||
}]
|
||||
}
|
|
@ -1,44 +0,0 @@
|
|||
{
|
||||
"maintainer_name": ".NET Team",
|
||||
"maintainer_email": "dotnetpackages@dotnetfoundation.org",
|
||||
"vendor": ".NET Foundation",
|
||||
|
||||
"package_name": "%RUNTIME_DEPS_RPM_PACKAGE_NAME%",
|
||||
"install_root": "/usr/share/dotnet",
|
||||
|
||||
"short_description": "%RUNTIME_DEPS_RPM_PACKAGE_NAME% %RUNTIME_DEPS_VERSION%",
|
||||
"long_description": ".NET is a development platform that you can use to build command-line applications, microservices and modern websites. This package installs all the system dependencies for .NET Runtime.",
|
||||
"homepage": "https://dot.net/core",
|
||||
|
||||
"release":{
|
||||
"package_version":"1.0.0.0",
|
||||
"package_revision":"%RUNTIME_DEPS_REVISION%",
|
||||
"urgency" : "low",
|
||||
"changelog_message" : "https://github.com/dotnet/core/tree/master/release-notes"
|
||||
},
|
||||
|
||||
"control": {
|
||||
"priority":"standard",
|
||||
"section":"libs",
|
||||
"architecture":"amd64"
|
||||
},
|
||||
|
||||
"copyright": "2018 Microsoft",
|
||||
"license": {
|
||||
"type": "MIT",
|
||||
"full_text": "Copyright (c) 2018 Microsoft\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE."
|
||||
},
|
||||
|
||||
"rpm_dependencies":[{
|
||||
"package_name": "compat-openssl10",
|
||||
"package_version": ""
|
||||
},
|
||||
{
|
||||
"package_name": "libicu",
|
||||
"package_version": ""
|
||||
},
|
||||
{
|
||||
"package_name": "krb5-libs",
|
||||
"package_version": ""
|
||||
}]
|
||||
}
|
|
@ -1,44 +0,0 @@
|
|||
{
|
||||
"maintainer_name": ".NET Team",
|
||||
"maintainer_email": "dotnetpackages@dotnetfoundation.org",
|
||||
"vendor": ".NET Foundation",
|
||||
|
||||
"package_name": "%RUNTIME_DEPS_RPM_PACKAGE_NAME%",
|
||||
"install_root": "/usr/share/dotnet",
|
||||
|
||||
"short_description": "%RUNTIME_DEPS_RPM_PACKAGE_NAME% %RUNTIME_DEPS_VERSION%",
|
||||
"long_description": ".NET is a development platform that you can use to build command-line applications, microservices and modern websites. This package installs all the system dependencies for .NET Runtime.",
|
||||
"homepage": "https://dot.net/core",
|
||||
|
||||
"release":{
|
||||
"package_version":"1.0.0.0",
|
||||
"package_revision":"%RUNTIME_DEPS_REVISION%",
|
||||
"urgency" : "low",
|
||||
"changelog_message" : "https://github.com/dotnet/core/tree/master/release-notes"
|
||||
},
|
||||
|
||||
"control": {
|
||||
"priority":"standard",
|
||||
"section":"libs",
|
||||
"architecture":"amd64"
|
||||
},
|
||||
|
||||
"copyright": "2018 Microsoft",
|
||||
"license": {
|
||||
"type": "MIT",
|
||||
"full_text": "Copyright (c) 2018 Microsoft\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE."
|
||||
},
|
||||
|
||||
"rpm_dependencies":[{
|
||||
"package_name": "libopenssl1_0_0",
|
||||
"package_version": ""
|
||||
},
|
||||
{
|
||||
"package_name": "libicu",
|
||||
"package_version": ""
|
||||
},
|
||||
{
|
||||
"package_name": "krb5",
|
||||
"package_version": ""
|
||||
}]
|
||||
}
|
|
@ -1,44 +0,0 @@
|
|||
{
|
||||
"maintainer_name": ".NET Team",
|
||||
"maintainer_email": "dotnetpackages@dotnetfoundation.org",
|
||||
"vendor": ".NET Foundation",
|
||||
|
||||
"package_name": "%RUNTIME_DEPS_RPM_PACKAGE_NAME%",
|
||||
"install_root": "/usr/share/dotnet",
|
||||
|
||||
"short_description": "%RUNTIME_DEPS_RPM_PACKAGE_NAME% %RUNTIME_DEPS_VERSION%",
|
||||
"long_description": ".NET is a development platform that you can use to build command-line applications, microservices and modern websites. This package installs all the system dependencies for .NET Runtime.",
|
||||
"homepage": "https://dot.net/core",
|
||||
|
||||
"release":{
|
||||
"package_version":"1.0.0.0",
|
||||
"package_revision":"%RUNTIME_DEPS_REVISION%",
|
||||
"urgency" : "low",
|
||||
"changelog_message" : "https://github.com/dotnet/core/tree/master/release-notes"
|
||||
},
|
||||
|
||||
"control": {
|
||||
"priority":"standard",
|
||||
"section":"libs",
|
||||
"architecture":"amd64"
|
||||
},
|
||||
|
||||
"copyright": "2018 Microsoft",
|
||||
"license": {
|
||||
"type": "MIT",
|
||||
"full_text": "Copyright (c) 2018 Microsoft\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE."
|
||||
},
|
||||
|
||||
"rpm_dependencies":[{
|
||||
"package_name": "openssl-libs",
|
||||
"package_version": ""
|
||||
},
|
||||
{
|
||||
"package_name": "libicu",
|
||||
"package_version": ""
|
||||
},
|
||||
{
|
||||
"package_name": "krb5-libs",
|
||||
"package_version": ""
|
||||
}]
|
||||
}
|
|
@ -1,44 +0,0 @@
|
|||
{
|
||||
"maintainer_name": ".NET Team",
|
||||
"maintainer_email": "dotnetpackages@dotnetfoundation.org",
|
||||
"vendor": ".NET Foundation",
|
||||
|
||||
"package_name": "%RUNTIME_DEPS_RPM_PACKAGE_NAME%",
|
||||
"install_root": "/usr/share/dotnet",
|
||||
|
||||
"short_description": "%RUNTIME_DEPS_RPM_PACKAGE_NAME% %RUNTIME_DEPS_VERSION%",
|
||||
"long_description": ".NET is a development platform that you can use to build command-line applications, microservices and modern websites. This package installs all the system dependencies for .NET Runtime.",
|
||||
"homepage": "https://dot.net/core",
|
||||
|
||||
"release":{
|
||||
"package_version":"1.0.0.0",
|
||||
"package_revision":"%RUNTIME_DEPS_REVISION%",
|
||||
"urgency" : "low",
|
||||
"changelog_message" : "https://github.com/dotnet/core/tree/master/release-notes"
|
||||
},
|
||||
|
||||
"control": {
|
||||
"priority":"standard",
|
||||
"section":"libs",
|
||||
"architecture":"amd64"
|
||||
},
|
||||
|
||||
"copyright": "2018 Microsoft",
|
||||
"license": {
|
||||
"type": "MIT",
|
||||
"full_text": "Copyright (c) 2018 Microsoft\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE."
|
||||
},
|
||||
|
||||
"rpm_dependencies":[{
|
||||
"package_name": "openssl-libs",
|
||||
"package_version": ""
|
||||
},
|
||||
{
|
||||
"package_name": "libicu",
|
||||
"package_version": ""
|
||||
},
|
||||
{
|
||||
"package_name": "krb5-libs",
|
||||
"package_version": ""
|
||||
}]
|
||||
}
|
|
@ -1,44 +0,0 @@
|
|||
{
|
||||
"maintainer_name": ".NET Team",
|
||||
"maintainer_email": "dotnetpackages@dotnetfoundation.org",
|
||||
"vendor": ".NET Foundation",
|
||||
|
||||
"package_name": "%RUNTIME_DEPS_RPM_PACKAGE_NAME%",
|
||||
"install_root": "/usr/share/dotnet",
|
||||
|
||||
"short_description": "%RUNTIME_DEPS_RPM_PACKAGE_NAME% %RUNTIME_DEPS_VERSION%",
|
||||
"long_description": ".NET is a development platform that you can use to build command-line applications, microservices and modern websites. This package installs all the system dependencies for .NET Runtime.",
|
||||
"homepage": "https://dot.net/core",
|
||||
|
||||
"release":{
|
||||
"package_version":"1.0.0.0",
|
||||
"package_revision":"%RUNTIME_DEPS_REVISION%",
|
||||
"urgency" : "low",
|
||||
"changelog_message" : "https://github.com/dotnet/core/tree/master/release-notes"
|
||||
},
|
||||
|
||||
"control": {
|
||||
"priority":"standard",
|
||||
"section":"libs",
|
||||
"architecture":"amd64"
|
||||
},
|
||||
|
||||
"copyright": "2018 Microsoft",
|
||||
"license": {
|
||||
"type": "MIT",
|
||||
"full_text": "Copyright (c) 2018 Microsoft\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE."
|
||||
},
|
||||
|
||||
"rpm_dependencies":[{
|
||||
"package_name": "libopenssl1_1",
|
||||
"package_version": ""
|
||||
},
|
||||
{
|
||||
"package_name": "libicu",
|
||||
"package_version": ""
|
||||
},
|
||||
{
|
||||
"package_name": "krb5",
|
||||
"package_version": ""
|
||||
}]
|
||||
}
|
|
@ -1,46 +0,0 @@
|
|||
{
|
||||
"maintainer_name": ".NET Team",
|
||||
"maintainer_email": "dotnetpackages@dotnetfoundation.org",
|
||||
"vendor": ".NET Foundation",
|
||||
|
||||
"package_name": "%SHARED_FRAMEWORK_RPM_PACKAGE_NAME%",
|
||||
"install_root": "/usr/share/dotnet",
|
||||
"install_doc": "/usr/share/doc/%SHARED_FRAMEWORK_RPM_PACKAGE_NAME%/",
|
||||
|
||||
"short_description": "%SHARED_FRAMEWORK_BRAND_NAME% %SHARED_FRAMEWORK_NUGET_NAME%",
|
||||
"long_description": ".NET is a development platform that you can use to build command-line\napplications, microservices and modern websites. It is open source,\ncross-platform and is supported by Microsoft. We hope you enjoy using it!\nIf you do, please consider joining the active community of developers that are\ncontributing to the project on GitHub (https://github.com/dotnet/core).\nWe happily accept issues and PRs.",
|
||||
"homepage": "https://github.com/dotnet/core",
|
||||
|
||||
"release":{
|
||||
"package_version":"1.0.0.0",
|
||||
"package_revision":"%SHARED_FRAMEWORK_REVISION%",
|
||||
"urgency" : "low",
|
||||
"changelog_message" : "https://github.com/dotnet/core/tree/master/release-notes"
|
||||
},
|
||||
|
||||
"control": {
|
||||
"priority":"standard",
|
||||
"section":"libs",
|
||||
"architecture":"amd64"
|
||||
},
|
||||
|
||||
"copyright": "2017 Microsoft",
|
||||
"license": {
|
||||
"type": "MIT and ASL 2.0 and BSD",
|
||||
"full_text": "Copyright (c) 2017 Microsoft\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE."
|
||||
},
|
||||
|
||||
"rpm_dependencies": [{
|
||||
"package_name": "%HOSTFXR_RPM_PACKAGE_NAME%",
|
||||
"package_version": "%HOSTFXR_NUGET_VERSION%"
|
||||
},
|
||||
{
|
||||
"package_name": "%RUNTIME_DEPS_RPM_PACKAGE_NAME%",
|
||||
"package_version": "%RUNTIME_DEPS_VERSION%"
|
||||
}],
|
||||
|
||||
"directories" : [
|
||||
"/usr/share/dotnet/shared",
|
||||
"/usr/share/doc/%SHARED_FRAMEWORK_RPM_PACKAGE_NAME%"
|
||||
]
|
||||
}
|
|
@ -1,43 +0,0 @@
|
|||
{
|
||||
"maintainer_name": ".NET Team",
|
||||
"maintainer_email": "dotnetpackages@dotnetfoundation.org",
|
||||
"vendor": ".NET Foundation",
|
||||
|
||||
"package_name": "dotnet-host",
|
||||
"install_root": "/",
|
||||
"install_doc": "/usr/share/doc/dotnet-host/",
|
||||
"install_man": "/usr/share/man/man1",
|
||||
|
||||
"short_description": "%SHARED_HOST_BRAND_NAME%",
|
||||
"long_description": ".NET is a development platform that you can use to build command-line\napplications, microservices and modern websites. It is open source,\ncross-platform and is supported by Microsoft. We hope you enjoy using it!\nIf you do, please consider joining the active community of developers that are\ncontributing to the project on GitHub (https://github.com/dotnet/core).\nWe happily accept issues and PRs.",
|
||||
"homepage": "https://github.com/dotnet/core",
|
||||
|
||||
"release":{
|
||||
"package_version":"1.0.0.0",
|
||||
"package_revision":"%SHARED_HOST_REVISION%",
|
||||
"urgency" : "low",
|
||||
"changelog_message" : "https://github.com/dotnet/core/tree/master/release-notes"
|
||||
},
|
||||
|
||||
"control": {
|
||||
"priority":"standard",
|
||||
"section":"libs",
|
||||
"architecture":"amd64"
|
||||
},
|
||||
|
||||
"copyright": "2017 Microsoft",
|
||||
"license": {
|
||||
"type": "MIT and ASL 2.0 and BSD",
|
||||
"full_text": "Copyright (c) 2017 Microsoft\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE."
|
||||
},
|
||||
|
||||
"package_conflicts" : [
|
||||
"dotnet",
|
||||
"dotnet-nightly"
|
||||
],
|
||||
|
||||
"directories" : [
|
||||
"/usr/share/dotnet",
|
||||
"/usr/share/doc/dotnet-host"
|
||||
]
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<rpmConfigJsonName>rpm_config.json</rpmConfigJsonName>
|
||||
<rpmPackagingConfigPath>$(PackagingRoot)rpm/</rpmPackagingConfigPath>
|
||||
<SharedHostRpmPkgName>dotnet-host</SharedHostRpmPkgName>
|
||||
<SharedHostRpmPkgName>$(SharedHostRpmPkgName.ToLower())</SharedHostRpmPkgName>
|
||||
|
||||
<TemplatesDir>$(RpmTemplatesDir)</TemplatesDir>
|
||||
<ScriptsDir>$(MSBuildThisFileDirectory)/scripts</ScriptsDir>
|
||||
</PropertyGroup>
|
||||
</Project>
|
|
@ -1,434 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project='package.props' />
|
||||
|
||||
<UsingTask TaskName="ReplaceFileContents" AssemblyFile="$(InstallerTasksAssemblyPath)"/>
|
||||
<UsingTask TaskName="BuildFPMToolPreReqs" AssemblyFile="$(InstallerTasksAssemblyPath)"/>
|
||||
|
||||
<Target Name="GenerateRpms"
|
||||
DependsOnTargets="TestFPMTool;BuildRpms;"
|
||||
Condition="'$(BuildRpmPackage)'=='true'" />
|
||||
|
||||
<Target Name="GenerateRuntimeRpms"
|
||||
DependsOnTargets="
|
||||
GetInstallerBrandingNames;
|
||||
GenerateSharedHostRpm;
|
||||
GenerateHostFxrRpm;
|
||||
GenerateSharedFrameworkRpm"
|
||||
Condition="'$(BuildRuntimeRpms)' == 'true'" />
|
||||
|
||||
<Target Name="BuildRpms"
|
||||
DependsOnTargets="GenerateRuntimeRpms; GenerateRuntimeDependenciesRpms"
|
||||
Condition="'$(BuildRpmPackage)'=='true' and '$(FPMPresent)'=='true'" />
|
||||
|
||||
<Target Name="GenerateSharedHostRpm">
|
||||
<PropertyGroup>
|
||||
<RpmPackageName>$(SharedHostRpmPkgName)</RpmPackageName>
|
||||
<RpmPackageVersion>$(HostPackageVersion)</RpmPackageVersion>
|
||||
<InputRoot>$(SharedHostPublishRoot)</InputRoot>
|
||||
<RpmFile>$(SharedHostInstallerFile)</RpmFile>
|
||||
<ConfigJsonName>dotnet-sharedhost-rpm_config.json</ConfigJsonName>
|
||||
<ConfigJsonFile>$(rpmPackagingConfigPath)$(ConfigJsonName)</ConfigJsonFile>
|
||||
<RpmIntermediatesDir>$(PackagesIntermediateDir)$(RpmPackageName)/$(RpmPackageVersion)</RpmIntermediatesDir>
|
||||
<UsrShareDotnetPath>usr/share/dotnet/</UsrShareDotnetPath>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<rpmLayoutDirectory>$(RpmIntermediatesDir)/rpmLayoutDirectory/</rpmLayoutDirectory>
|
||||
<rpmLayoutPackageRoot>$(rpmLayoutDirectory)package_root/</rpmLayoutPackageRoot>
|
||||
<rpmLayoutUsrShareDotnetDir>$(rpmLayoutPackageRoot)$(UsrShareDotnetPath)</rpmLayoutUsrShareDotnetDir>
|
||||
<rpmLayoutUsrBinDir>$(rpmLayoutPackageRoot)usr/bin/</rpmLayoutUsrBinDir>
|
||||
<rpmLayoutDocs>$(rpmLayoutDirectory)docs</rpmLayoutDocs> <!-- Man Pages -->
|
||||
<rpmLayoutTemplates>$(rpmLayoutDirectory)templates</rpmLayoutTemplates> <!-- Copyright, Changelog -->
|
||||
</PropertyGroup>
|
||||
|
||||
<RemoveDir Condition="Exists('$(RpmIntermediatesDir)')" Directories="$(RpmIntermediatesDir)" />
|
||||
<MakeDir Directories="$(RpmIntermediatesDir)" />
|
||||
|
||||
<!-- Create empty rpm layout -->
|
||||
<RemoveDir Condition="Exists('$(rpmLayoutDirectory)')" Directories="$(rpmLayoutDirectory)" />
|
||||
<MakeDir Directories="$(rpmLayoutDirectory)" />
|
||||
<MakeDir Directories="$(rpmLayoutPackageRoot)" />
|
||||
<MakeDir Directories="$(rpmLayoutUsrShareDotnetDir)" />
|
||||
<MakeDir Directories="$(rpmLayoutUsrBinDir)" />
|
||||
<MakeDir Directories="$(rpmLayoutDocs)" />
|
||||
<MakeDir Directories="$(rpmLayoutTemplates)" />
|
||||
|
||||
<!-- Copy files to rpm layout -->
|
||||
<ItemGroup>
|
||||
<SHFiles Include="$(InputRoot)/**/*" />
|
||||
<SHManpages Include="$(ManPagesDir)/**/*" />
|
||||
<SHTemplatesFiles Include="$(TemplatesDir)/**/*" />
|
||||
</ItemGroup>
|
||||
|
||||
<!--
|
||||
Detect no files being found and emit an early error to avoid breaking the build in a way that
|
||||
prevents binlog publish in the official build.
|
||||
|
||||
We create a temporary symlink before calling FPM, and if FPM fails due to not finding some of
|
||||
these files, the build terminates before deleting the symlink. The symlink causes the 'find'
|
||||
command to fail. AzDO uses 'find' to find the binlogs, so we get into a bad state.
|
||||
-->
|
||||
<Error Condition="'@(SHFiles)' == ''" Text="No SHFiles found." />
|
||||
<Error Condition="'@(SHManpages)' == ''" Text="No SHManpages found." />
|
||||
<Error Condition="'@(SHTemplatesFiles)' == ''" Text="No SHTemplatesFiles found." />
|
||||
|
||||
<Copy SourceFiles="@(SHFiles)" DestinationFiles="@(SHFiles->'$(rpmLayoutUsrShareDotnetDir)/%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
<Copy SourceFiles="@(SHManpages)" DestinationFiles="@(SHManpages->'$(rpmLayoutDocs)/%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
<Copy SourceFiles="@(SHTemplatesFiles)" DestinationFiles="@(SHTemplatesFiles->'$(rpmLayoutTemplates)/%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
|
||||
<!--
|
||||
Create symlink so the dotnet host is in PATH. It points to where dotnet will be installed, so
|
||||
it may seem to point to the wrong place in the build machine's layout.
|
||||
-->
|
||||
<Exec Command="ln -sf "/$(UsrShareDotnetPath)dotnet" "$(rpmLayoutUsrBinDir)dotnet"" />
|
||||
|
||||
<!-- Replace config json variables -->
|
||||
<ItemGroup>
|
||||
<SharedHostTokenValue Include="%SHARED_HOST_BRAND_NAME%">
|
||||
<ReplacementString>$(SharedHostBrandName)</ReplacementString>
|
||||
</SharedHostTokenValue>
|
||||
<SharedHostTokenValue Include="%SHARED_HOST_REVISION%">
|
||||
<ReplacementString>$(HostPackageRelease)</ReplacementString>
|
||||
</SharedHostTokenValue>
|
||||
</ItemGroup>
|
||||
|
||||
<ReplaceFileContents InputFile="$(ConfigJsonFile)"
|
||||
DestinationFile="$(rpmLayoutDirectory)$(rpmConfigJsonName)"
|
||||
ReplacementItems="@(SharedHostTokenValue)" />
|
||||
|
||||
<!-- Call the task to build the pre-reqs (parameters, copyright, changelog) for calling the FPM tool -->
|
||||
<BuildFPMToolPreReqs InputDir="$(rpmLayoutDirectory)"
|
||||
OutputDir="$(RpmIntermediatesDir)"
|
||||
PackageVersion="$(RpmPackageVersion)"
|
||||
ConfigJsonFile="$(rpmLayoutDirectory)$(rpmConfigJsonName)">
|
||||
<Output TaskParameter="FPMParameters" PropertyName="FPMCmdParameters" />
|
||||
</BuildFPMToolPreReqs>
|
||||
|
||||
<!-- Build the RPM package by calling the FPM tool and passing the parameter list -->
|
||||
<Exec Command="fpm $(FPMCmdParameters)" WorkingDirectory="$(RpmIntermediatesDir)" />
|
||||
|
||||
<!-- Copy package to output -->
|
||||
<ItemGroup>
|
||||
<GeneratedRpmFiles Remove="@(GeneratedRpmFiles)" />
|
||||
<GeneratedRpmFiles Include="$(RpmIntermediatesDir)/*.rpm" />
|
||||
</ItemGroup>
|
||||
|
||||
<Error Text="@(GeneratedRpmFiles->Count()) .rpm files generated." Condition="'@(GeneratedRpmFiles->Count())' != 1" />
|
||||
|
||||
<Copy SourceFiles="@(GeneratedRpmFiles)"
|
||||
DestinationFiles="$(RpmFile)"
|
||||
OverwriteReadOnlyFiles="True"
|
||||
SkipUnchangedFiles="False"
|
||||
UseHardlinksIfPossible="False" />
|
||||
|
||||
<!--
|
||||
Clean up dotnet symlink. Later build steps are confused and fail because the symlink points to
|
||||
a path that doesn't exist on the build machine.
|
||||
-->
|
||||
<Delete Files="$(rpmLayoutUsrBinDir)dotnet" />
|
||||
</Target>
|
||||
|
||||
<Target Name="GenerateHostFxrRpm">
|
||||
<PropertyGroup>
|
||||
<RpmPackageName>$(HostFxrRpmPkgName)</RpmPackageName>
|
||||
<RpmPackageVersion>$(HostResolverPackageVersion)</RpmPackageVersion>
|
||||
<InputRoot>$(HostFxrPublishRoot)</InputRoot>
|
||||
<RpmFile>$(HostFxrInstallerFile)</RpmFile>
|
||||
<ConfigJsonName>dotnet-hostfxr-rpm_config.json</ConfigJsonName>
|
||||
<ConfigJsonFile>$(rpmPackagingConfigPath)$(ConfigJsonName)</ConfigJsonFile>
|
||||
<RpmIntermediatesDir>$(PackagesIntermediateDir)$(RpmPackageName)/$(RpmPackageVersion)</RpmIntermediatesDir>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<rpmLayoutDirectory>$(RpmIntermediatesDir)/rpmLayoutDirectory/</rpmLayoutDirectory>
|
||||
<rpmLayoutPackageRoot>$(rpmLayoutDirectory)package_root</rpmLayoutPackageRoot>
|
||||
<rpmLayoutDocs>$(rpmLayoutDirectory)docs</rpmLayoutDocs>
|
||||
<rpmLayoutTemplates>$(rpmLayoutDirectory)templates</rpmLayoutTemplates> <!-- Copyright, Changelog -->
|
||||
</PropertyGroup>
|
||||
|
||||
<RemoveDir Condition="Exists('$(RpmIntermediatesDir)')" Directories="$(RpmIntermediatesDir)" />
|
||||
<MakeDir Directories="$(RpmIntermediatesDir)" />
|
||||
|
||||
<!-- Create empty rpm layout -->
|
||||
<RemoveDir Condition="Exists('$(rpmLayoutDirectory)')" Directories="$(rpmLayoutDirectory)" />
|
||||
<MakeDir Directories="$(rpmLayoutDirectory)" />
|
||||
<MakeDir Directories="$(rpmLayoutPackageRoot)" />
|
||||
<MakeDir Directories="$(rpmLayoutDocs)" />
|
||||
<MakeDir Directories="$(rpmLayoutTemplates)" />
|
||||
|
||||
<!-- Copy files to rpm layout -->
|
||||
<ItemGroup>
|
||||
<HFFiles Include="$(InputRoot)/**/*" />
|
||||
<HFTemplatesFiles Include="$(TemplatesDir)/**/*" />
|
||||
</ItemGroup>
|
||||
|
||||
<Copy SourceFiles="@(HFFiles)" DestinationFiles="@(HFFiles->'$(rpmLayoutPackageRoot)/%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
<Copy SourceFiles="@(HFTemplatesFiles)" DestinationFiles="@(HFTemplatesFiles->'$(rpmLayoutTemplates)/%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
|
||||
<!-- Replace config json variables -->
|
||||
<ItemGroup>
|
||||
<HostFxrTokenValue Include="%HOSTFXR_BRAND_NAME%">
|
||||
<ReplacementString>$(HostFxrBrandName)</ReplacementString>
|
||||
</HostFxrTokenValue>
|
||||
<HostFxrTokenValue Include="%SHARED_HOST_RPM_VERSION%">
|
||||
<ReplacementString>$(HostPackageVersion)</ReplacementString>
|
||||
</HostFxrTokenValue>
|
||||
<HostFxrTokenValue Include="%HOSTFXR_NUGET_VERSION%">
|
||||
<ReplacementString>$(HostResolverPackageVersion)</ReplacementString>
|
||||
</HostFxrTokenValue>
|
||||
<HostFxrTokenValue Include="%HOSTFXR_RPM_PACKAGE_NAME%">
|
||||
<ReplacementString>$(RpmPackageName)</ReplacementString>
|
||||
</HostFxrTokenValue>
|
||||
<HostFxrTokenValue Include="%HOSTFXR_REVISION%">
|
||||
<ReplacementString>$(HostResolverPackageRelease)</ReplacementString>
|
||||
</HostFxrTokenValue>
|
||||
</ItemGroup>
|
||||
|
||||
<ReplaceFileContents InputFile="$(ConfigJsonFile)"
|
||||
DestinationFile="$(rpmLayoutDirectory)$(rpmConfigJsonName)"
|
||||
ReplacementItems="@(HostFxrTokenValue)" />
|
||||
|
||||
<!-- Call the task to build the pre-reqs (parameters, copyright, changelog) for calling the FPM tool -->
|
||||
<BuildFPMToolPreReqs InputDir="$(rpmLayoutDirectory)"
|
||||
OutputDir="$(RpmIntermediatesDir)"
|
||||
PackageVersion="$(RpmPackageVersion)"
|
||||
ConfigJsonFile="$(rpmLayoutDirectory)$(rpmConfigJsonName)">
|
||||
<Output TaskParameter="FPMParameters" PropertyName="FPMCmdParameters" />
|
||||
</BuildFPMToolPreReqs>
|
||||
|
||||
<!-- Build the RPM package by calling the FPM tool and passing the parameter list -->
|
||||
<Exec Command="fpm $(FPMCmdParameters)" WorkingDirectory="$(RpmIntermediatesDir)" />
|
||||
|
||||
<!-- Copy package to output -->
|
||||
<ItemGroup>
|
||||
<GeneratedRpmFiles Remove="@(GeneratedRpmFiles)" />
|
||||
<GeneratedRpmFiles Include="$(RpmIntermediatesDir)/*.rpm" />
|
||||
</ItemGroup>
|
||||
|
||||
<Error Text="@(GeneratedRpmFiles->Count()) .rpm files generated." Condition="'@(GeneratedRpmFiles->Count())' != 1" />
|
||||
|
||||
<Copy SourceFiles="@(GeneratedRpmFiles)"
|
||||
DestinationFiles="$(RpmFile)"
|
||||
OverwriteReadOnlyFiles="True"
|
||||
SkipUnchangedFiles="False"
|
||||
UseHardlinksIfPossible="False" />
|
||||
|
||||
</Target>
|
||||
|
||||
<Target Name="GenerateSharedFrameworkRpm">
|
||||
<PropertyGroup>
|
||||
<RpmPackageName>$(SharedFxRpmPkgName)</RpmPackageName>
|
||||
<RpmPackageVersion>$(RuntimePackageVersion)</RpmPackageVersion>
|
||||
<InputRoot>$(SharedFrameworkPublishRoot)</InputRoot>
|
||||
<RpmFile>$(SharedFrameworkInstallerFile)</RpmFile>
|
||||
<ConfigJsonName>dotnet-sharedframework-rpm_config.json</ConfigJsonName>
|
||||
<ConfigJsonFile>$(rpmPackagingConfigPath)$(ConfigJsonName)</ConfigJsonFile>
|
||||
<RpmIntermediatesDir>$(PackagesIntermediateDir)$(RpmPackageName)/$(RpmPackageVersion)</RpmIntermediatesDir>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<rpmLayoutDirectory>$(RpmIntermediatesDir)/rpmLayoutDirectory/</rpmLayoutDirectory>
|
||||
<rpmLayoutPackageRoot>$(rpmLayoutDirectory)package_root</rpmLayoutPackageRoot>
|
||||
<rpmLayoutDocs>$(rpmLayoutDirectory)docs</rpmLayoutDocs>
|
||||
<rpmLayoutTemplates>$(rpmLayoutDirectory)templates</rpmLayoutTemplates> <!-- Copyright, Changelog -->
|
||||
</PropertyGroup>
|
||||
|
||||
<RemoveDir Condition="Exists('$(RpmIntermediatesDir)')" Directories="$(RpmIntermediatesDir)" />
|
||||
<MakeDir Directories="$(RpmIntermediatesDir)" />
|
||||
|
||||
<!-- Create empty rpm layout -->
|
||||
<RemoveDir Condition="Exists('$(rpmLayoutDirectory)')" Directories="$(rpmLayoutDirectory)" />
|
||||
<MakeDir Directories="$(rpmLayoutDirectory)" />
|
||||
<MakeDir Directories="$(rpmLayoutPackageRoot)" />
|
||||
<MakeDir Directories="$(rpmLayoutDocs)" />
|
||||
<MakeDir Directories="$(rpmLayoutTemplates)" />
|
||||
|
||||
<!-- Copy files to rpm layout -->
|
||||
<ItemGroup>
|
||||
<SFFiles Include="$(InputRoot)/**/*" />
|
||||
<SFTemplatesFiles Include="$(TemplatesDir)/**/*" />
|
||||
</ItemGroup>
|
||||
|
||||
<Copy SourceFiles="@(SFFiles)" DestinationFiles="@(SFFiles->'$(rpmLayoutPackageRoot)/%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
<Copy SourceFiles="@(SFTemplatesFiles)" DestinationFiles="@(SFTemplatesFiles->'$(rpmLayoutTemplates)/%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
|
||||
<!-- Replace config json variables -->
|
||||
<ItemGroup>
|
||||
<SharedFrameworkTokenValue Include="%HOSTFXR_RPM_PACKAGE_NAME%">
|
||||
<ReplacementString>$(HostFxrRpmPkgName)</ReplacementString>
|
||||
</SharedFrameworkTokenValue>
|
||||
<SharedFrameworkTokenValue Include="%HOSTFXR_NUGET_VERSION%">
|
||||
<ReplacementString>$(HostResolverPackageVersion)</ReplacementString>
|
||||
</SharedFrameworkTokenValue>
|
||||
<SharedFrameworkTokenValue Include="%RUNTIME_DEPS_RPM_PACKAGE_NAME%">
|
||||
<ReplacementString>$(RuntimeDependenciesRpmPkgName)</ReplacementString>
|
||||
</SharedFrameworkTokenValue>
|
||||
<SharedFrameworkTokenValue Include="%RUNTIME_DEPS_VERSION%">
|
||||
<ReplacementString>$(RuntimeDepsRpmPackageVersion)</ReplacementString>
|
||||
</SharedFrameworkTokenValue>
|
||||
<SharedFrameworkTokenValue Include="%SHARED_FRAMEWORK_RPM_PACKAGE_NAME%">
|
||||
<ReplacementString>$(SharedFxRpmPkgName)</ReplacementString>
|
||||
</SharedFrameworkTokenValue>
|
||||
<SharedFrameworkTokenValue Include="%SHARED_FRAMEWORK_NUGET_NAME%">
|
||||
<ReplacementString>$(SharedFrameworkName)</ReplacementString>
|
||||
</SharedFrameworkTokenValue>
|
||||
<SharedFrameworkTokenValue Include="%SHARED_FRAMEWORK_NUGET_VERSION%">
|
||||
<ReplacementString>$(RuntimePackageVersion)</ReplacementString>
|
||||
</SharedFrameworkTokenValue>
|
||||
<SharedFrameworkTokenValue Include="%SHARED_FRAMEWORK_BRAND_NAME%">
|
||||
<ReplacementString>$(SharedFrameworkBrandName)</ReplacementString>
|
||||
</SharedFrameworkTokenValue>
|
||||
<SharedFrameworkTokenValue Include="%SHARED_FRAMEWORK_REVISION%">
|
||||
<ReplacementString>$(RuntimePackageRelease)</ReplacementString>
|
||||
</SharedFrameworkTokenValue>
|
||||
</ItemGroup>
|
||||
|
||||
<ReplaceFileContents InputFile="$(ConfigJsonFile)"
|
||||
DestinationFile="$(rpmLayoutDirectory)$(rpmConfigJsonName)"
|
||||
ReplacementItems="@(SharedFrameworkTokenValue)" />
|
||||
|
||||
<!-- Call the task to build the pre-reqs (parameters, copyright, changelog) for calling the FPM tool -->
|
||||
<BuildFPMToolPreReqs InputDir="$(rpmLayoutDirectory)"
|
||||
OutputDir="$(RpmIntermediatesDir)"
|
||||
PackageVersion="$(RpmPackageVersion)"
|
||||
ConfigJsonFile="$(rpmLayoutDirectory)$(rpmConfigJsonName)">
|
||||
<Output TaskParameter="FPMParameters" PropertyName="FPMCmdParameters" />
|
||||
</BuildFPMToolPreReqs>
|
||||
|
||||
<!-- Build the RPM package by calling the FPM tool and passing the parameter list -->
|
||||
<Exec Command="fpm $(FPMCmdParameters)" WorkingDirectory="$(RpmIntermediatesDir)" />
|
||||
|
||||
<!-- Copy package to output -->
|
||||
<ItemGroup>
|
||||
<GeneratedRpmFiles Remove="@(GeneratedRpmFiles)" />
|
||||
<GeneratedRpmFiles Include="$(RpmIntermediatesDir)/*.rpm" />
|
||||
</ItemGroup>
|
||||
|
||||
<Error Text="@(GeneratedRpmFiles->Count()) .rpm files generated." Condition="'@(GeneratedRpmFiles->Count())' != 1" />
|
||||
|
||||
<Copy SourceFiles="@(GeneratedRpmFiles)"
|
||||
DestinationFiles="$(RpmFile)"
|
||||
OverwriteReadOnlyFiles="True"
|
||||
SkipUnchangedFiles="False"
|
||||
UseHardlinksIfPossible="False" />
|
||||
|
||||
</Target>
|
||||
|
||||
<Target Name="GenerateRuntimeDependenciesRpms">
|
||||
|
||||
<PropertyGroup>
|
||||
<SharedProperties>
|
||||
rpmPackagingConfigPath=$(rpmPackagingConfigPath);
|
||||
DotnetRuntimeDependenciesPackageInstallerFile=$(DotnetRuntimeDependenciesPackageInstallerFile);
|
||||
OutputRid=$(OutputRid);
|
||||
RuntimeDependenciesRpmPkgName=$(RuntimeDependenciesRpmPkgName);
|
||||
RuntimeDepsRpmPackageVersion=$(RuntimeDepsRpmPackageVersion);
|
||||
RuntimeDepsRpmPackageRelease=$(RuntimeDepsRpmPackageRelease);
|
||||
TemplatesDir=$(TemplatesDir)
|
||||
</SharedProperties>
|
||||
<DepsConfigFilePrefix>dotnet-runtime-deps-rpm_config_</DepsConfigFilePrefix>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- non-portable build - build a single dotnet-runtime-deps package using OutputRid -->
|
||||
<ItemGroup Condition="'$(PortableBuild)' != 'true'">
|
||||
<DepsProjects Include="$(MSBuildProjectFullPath)">
|
||||
<Properties>DepsRid=$(OutputRid);$(SharedProperties)</Properties>
|
||||
</DepsProjects>
|
||||
</ItemGroup>
|
||||
|
||||
<!-- portable build - build all dotnet-runtime-deps packages for all targets discovered in config filenames -->
|
||||
<ItemGroup Condition="'$(PortableBuild)' == 'true'">
|
||||
<ConfigJsonFilenames Include="$(rpmPackagingConfigPath)$(DepsConfigFilePrefix)*.json" />
|
||||
<Rids Include="$([System.Text.RegularExpressions.Regex]::Match('%(ConfigJsonFilenames.Filename)', '$(DepsConfigFilePrefix)([A-Za-z0-9_\-\.]+)').Groups[1].Value)" />
|
||||
<DepsProjects Include="$(MSBuildProjectFullPath)">
|
||||
<Properties>DepsRid=%(Rids.Identity);$(SharedProperties)</Properties>
|
||||
</DepsProjects>
|
||||
</ItemGroup>
|
||||
|
||||
<MSBuild Projects="@(DepsProjects)" Targets="GenerateSingleRuntimeDependenciesRpm" />
|
||||
|
||||
</Target>
|
||||
|
||||
<Target Name="GenerateSingleRuntimeDependenciesRpm">
|
||||
<PropertyGroup>
|
||||
<RpmFile>$([System.String]::Copy('$(DotnetRuntimeDependenciesPackageInstallerFile)').Replace('$(OutputRid)', '$(DepsRid)'))</RpmFile>
|
||||
<RpmPackageName>$(RuntimeDependenciesRpmPkgName)</RpmPackageName>
|
||||
<RpmPackageVersion>$(RuntimeDepsRpmPackageVersion)</RpmPackageVersion>
|
||||
<ConfigJsonName>dotnet-runtime-deps-rpm_config_$(DepsRid).json</ConfigJsonName>
|
||||
<ConfigJsonFile>$(rpmPackagingConfigPath)$(ConfigJsonName)</ConfigJsonFile>
|
||||
<RpmIntermediatesDir>$(PackagesIntermediateDir)$(RpmPackageName)/$(RpmPackageVersion)</RpmIntermediatesDir>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<RpmLayoutDirectory>$(RpmIntermediatesDir)/rpmLayoutDirectory/</RpmLayoutDirectory>
|
||||
<RpmLayoutPackageRoot>$(RpmLayoutDirectory)package_root</RpmLayoutPackageRoot>
|
||||
<RpmLayoutDocs>$(RpmLayoutDirectory)docs</RpmLayoutDocs>
|
||||
<RpmLayoutTemplates>$(RpmLayoutDirectory)templates</RpmLayoutTemplates> <!-- Copyright, Changelog -->
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Error out if the configuration file doesn't exist -->
|
||||
<Error Condition="!Exists('$(ConfigJsonFile)')" Text="Config file does not exist : '$(ConfigJsonFile)'" />
|
||||
|
||||
<RemoveDir Condition="Exists('$(RpmIntermediatesDir)')" Directories="$(RpmIntermediatesDir)" />
|
||||
<MakeDir Directories="$(RpmIntermediatesDir)" />
|
||||
|
||||
<!-- Create empty rpm layout -->
|
||||
<RemoveDir Condition="Exists('$(RpmLayoutDirectory)')" Directories="$(RpmLayoutDirectory)" />
|
||||
<MakeDir Directories="$(RpmLayoutDirectory)" />
|
||||
<MakeDir Directories="$(RpmLayoutPackageRoot)" />
|
||||
<MakeDir Directories="$(RpmLayoutDocs)" />
|
||||
<MakeDir Directories="$(RpmLayoutTemplates)" />
|
||||
|
||||
<!-- Copy files to rpm layout -->
|
||||
<ItemGroup>
|
||||
<RDTemplatesFiles Include="$(TemplatesDir)/**/*" />
|
||||
</ItemGroup>
|
||||
|
||||
<Copy SourceFiles="@(RDTemplatesFiles)" DestinationFiles="@(RDTemplatesFiles->'$(RpmLayoutTemplates)/%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
|
||||
<!-- Replace config json variables -->
|
||||
<ItemGroup>
|
||||
<RuntimeDependenciesTokenValue Include="%RUNTIME_DEPS_RPM_PACKAGE_NAME%">
|
||||
<ReplacementString>$(RpmPackageName)</ReplacementString>
|
||||
</RuntimeDependenciesTokenValue>
|
||||
<RuntimeDependenciesTokenValue Include="%RUNTIME_DEPS_VERSION%">
|
||||
<ReplacementString>$(RuntimeDepsRpmPackageVersion)</ReplacementString>
|
||||
</RuntimeDependenciesTokenValue>
|
||||
<RuntimeDependenciesTokenValue Include="%RUNTIME_DEPS_REVISION%">
|
||||
<ReplacementString>$(RuntimeDepsRpmPackageRelease)</ReplacementString>
|
||||
</RuntimeDependenciesTokenValue>
|
||||
</ItemGroup>
|
||||
|
||||
<ReplaceFileContents InputFile="$(ConfigJsonFile)"
|
||||
DestinationFile="$(RpmLayoutDirectory)$(rpmConfigJsonName)"
|
||||
ReplacementItems="@(RuntimeDependenciesTokenValue)" />
|
||||
|
||||
<!-- Call the task to build the pre-reqs (parameters, copyright, changelog) for calling the FPM tool -->
|
||||
<BuildFPMToolPreReqs InputDir="$(RpmLayoutDirectory)"
|
||||
OutputDir="$(RpmIntermediatesDir)"
|
||||
PackageVersion="$(RpmPackageVersion)"
|
||||
ConfigJsonFile="$(RpmLayoutDirectory)$(rpmConfigJsonName)">
|
||||
<Output TaskParameter="FPMParameters" PropertyName="FPMCmdParameters" />
|
||||
</BuildFPMToolPreReqs>
|
||||
|
||||
<!-- Build the RPM package by calling the FPM tool and passing the parameter list -->
|
||||
<Exec Command="fpm $(FPMCmdParameters)" WorkingDirectory="$(RpmIntermediatesDir)" />
|
||||
|
||||
<!-- Copy package to output -->
|
||||
<ItemGroup>
|
||||
<GeneratedRpmFiles Remove="@(GeneratedRpmFiles)" />
|
||||
<GeneratedRpmFiles Include="$(RpmIntermediatesDir)/*.rpm" />
|
||||
</ItemGroup>
|
||||
|
||||
<Error Text="@(GeneratedRpmFiles->Count()) .rpm files generated." Condition="'@(GeneratedRpmFiles->Count())' != 1" />
|
||||
|
||||
<Copy SourceFiles="@(GeneratedRpmFiles)"
|
||||
DestinationFiles="$(RpmFile)"
|
||||
OverwriteReadOnlyFiles="True"
|
||||
SkipUnchangedFiles="False"
|
||||
UseHardlinksIfPossible="False" />
|
||||
|
||||
</Target>
|
||||
|
||||
</Project>
|
|
@ -1,2 +0,0 @@
|
|||
* {DATE} {MAINTAINER_NAME} <{MAINTAINER_EMAIL}> - {PACKAGE_VERSION}-{PACKAGE_REVISION}
|
||||
- {CHANGELOG_MESSAGE}
|
|
@ -1,8 +0,0 @@
|
|||
Comment: Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
Files: *
|
||||
Copyright: {COPYRIGHT_TEXT}
|
||||
License: {LICENSE_NAME}
|
||||
|
||||
License: {LICENSE_NAME}
|
||||
{LICENSE_TEXT}
|
|
@ -1,40 +0,0 @@
|
|||
name: dotnet-sdk
|
||||
version: 3.1.201
|
||||
summary: Cross-Platform .NET Core SDK
|
||||
description: |
|
||||
.NET Core SDK. https://dot.net/core.
|
||||
|
||||
grade: stable
|
||||
confinement: classic
|
||||
|
||||
apps:
|
||||
dotnet:
|
||||
command: dotnet
|
||||
|
||||
architectures:
|
||||
- build-on: [amd64]
|
||||
run-on: [armhf]
|
||||
|
||||
base: core
|
||||
|
||||
parts:
|
||||
dotnet-sdk:
|
||||
plugin: dump
|
||||
source: https://download.visualstudio.microsoft.com/download/pr/ccbcbf70-9911-40b1-a8cf-e018a13e720e/03c0621c6510f9c6f4cca6951f2cc1a4/dotnet-sdk-3.1.201-linux-arm.tar.gz
|
||||
source-checksum: sha512/f37d0e55c9f593c6951bea5a6bb1ea3194486956efe08a2a0f266b419d912cdcbf4ac279358976f0bfa1fe560c333ca5d5437f8e8c718bb5963991e4395e0cd7
|
||||
stage-packages:
|
||||
- libicu55
|
||||
- libssl1.0.0
|
||||
- libcurl3
|
||||
- libgssapi-krb5-2
|
||||
- libstdc++6
|
||||
- zlib1g
|
||||
- libgcc1
|
||||
- libtinfo5
|
||||
- liblttng-ust0
|
||||
- liburcu4
|
||||
|
||||
runtime-wrapper:
|
||||
plugin: dump
|
||||
source: .
|
||||
|
|
@ -1,40 +0,0 @@
|
|||
name: dotnet-sdk
|
||||
version: 5.0.100-preview.2.20176.6
|
||||
summary: Cross-Platform .NET Core SDK
|
||||
description: |
|
||||
.NET Core SDK. https://dot.net/core.
|
||||
|
||||
grade: stable
|
||||
confinement: classic
|
||||
|
||||
apps:
|
||||
dotnet:
|
||||
command: dotnet
|
||||
|
||||
architectures:
|
||||
- build-on: [amd64]
|
||||
run-on: [armhf]
|
||||
|
||||
base: core
|
||||
|
||||
parts:
|
||||
dotnet-sdk:
|
||||
plugin: dump
|
||||
source: https://download.visualstudio.microsoft.com/download/pr/f87574ee-c128-4e91-b436-68c99d801daf/b296bea9d987a4edaa71df47cd2e7aca/dotnet-sdk-5.0.100-preview.2.20176.6-linux-arm64.tar.gz
|
||||
source-checksum: sha512/53cbf213e2e97b909b256d931f061178f26e5647424f144266d4af2e12d6443ef7398207a8f4e6f220c61db9ce49de3dc09d88417288a6a61d9b05e1def6b279
|
||||
stage-packages:
|
||||
- libicu55
|
||||
- libssl1.0.0
|
||||
- libcurl3
|
||||
- libgssapi-krb5-2
|
||||
- libstdc++6
|
||||
- zlib1g
|
||||
- libgcc1
|
||||
- libtinfo5
|
||||
- liblttng-ust0
|
||||
- liburcu4
|
||||
|
||||
runtime-wrapper:
|
||||
plugin: dump
|
||||
source: .
|
||||
|
|
@ -1,40 +0,0 @@
|
|||
name: dotnet-sdk
|
||||
version: 5.0.100-preview.2.20176.6
|
||||
summary: Cross-Platform .NET Core SDK
|
||||
description: |
|
||||
.NET Core SDK. https://dot.net/core.
|
||||
|
||||
grade: stable
|
||||
confinement: classic
|
||||
|
||||
apps:
|
||||
dotnet:
|
||||
command: dotnet
|
||||
|
||||
architectures:
|
||||
- build-on: [amd64]
|
||||
run-on: [arm64]
|
||||
|
||||
base: core18
|
||||
|
||||
parts:
|
||||
dotnet-sdk:
|
||||
plugin: dump
|
||||
source: https://download.visualstudio.microsoft.com/download/pr/f87574ee-c128-4e91-b436-68c99d801daf/b296bea9d987a4edaa71df47cd2e7aca/dotnet-sdk-5.0.100-preview.2.20176.6-linux-arm64.tar.gz
|
||||
source-checksum: sha512/53cbf213e2e97b909b256d931f061178f26e5647424f144266d4af2e12d6443ef7398207a8f4e6f220c61db9ce49de3dc09d88417288a6a61d9b05e1def6b279
|
||||
stage-packages:
|
||||
- libicu60
|
||||
- libssl1.0.0
|
||||
- libcurl3
|
||||
- libgssapi-krb5-2
|
||||
- libstdc++6
|
||||
- zlib1g
|
||||
- libgcc1
|
||||
- libtinfo5
|
||||
- liblttng-ust0
|
||||
- liburcu6
|
||||
|
||||
runtime-wrapper:
|
||||
plugin: dump
|
||||
source: .
|
||||
|
|
@ -1,45 +0,0 @@
|
|||
name: dotnet-runtime-21
|
||||
base: core18
|
||||
version: 2.1.15
|
||||
summary: Cross-Platform .NET Core Runtime.
|
||||
description: |
|
||||
.NET Core runtimes and libraries which are optimized for running .NET Core apps in production. See https://dot.net/core.
|
||||
.NET Core is a general purpose development platform maintained by Microsoft.
|
||||
|
||||
grade: stable
|
||||
confinement: strict
|
||||
|
||||
apps:
|
||||
dotnet:
|
||||
command: dotnet
|
||||
plugs:
|
||||
- network
|
||||
- network-bind
|
||||
- removable-media
|
||||
- home
|
||||
|
||||
slots:
|
||||
dotnet-runtime:
|
||||
content: dotnet-runtime-21
|
||||
interface: content
|
||||
read: [/]
|
||||
|
||||
parts:
|
||||
dotnet-runtime:
|
||||
plugin: dump
|
||||
source: https://download.visualstudio.microsoft.com/download/pr/d2fb0b54-01ce-452c-b2a2-86dbef286265/055ad7740827cbe862d14ceb7ea54fac/dotnet-runtime-2.1.15-linux-x64.tar.gz
|
||||
source-checksum: sha512/cfd7f7caea7e896dd4d68a05c827c86f38595f24e854edb3f934715ee1268e2623f17ff768215e465fe596cd474497384be2b1381f04ddd6d555665a341f65f6
|
||||
stage-packages:
|
||||
- libicu60
|
||||
- libssl1.0.0
|
||||
- libcurl3
|
||||
- libgssapi-krb5-2
|
||||
- liblttng-ust0
|
||||
- libstdc++6
|
||||
- zlib1g
|
||||
- libgcc1
|
||||
- lldb
|
||||
- libunwind8
|
||||
- libtinfo5
|
||||
- libdb5.3
|
||||
- libc6
|
|
@ -1,45 +0,0 @@
|
|||
name: dotnet-runtime-30
|
||||
base: core18
|
||||
version: 3.0.2
|
||||
summary: Cross-Platform .NET Core Runtime.
|
||||
description: |
|
||||
.NET Core runtimes and libraries which are optimized for running .NET Core apps in production. See https://dot.net/core.
|
||||
.NET Core is a general purpose development platform maintained by Microsoft.
|
||||
|
||||
grade: stable
|
||||
confinement: strict
|
||||
|
||||
apps:
|
||||
dotnet:
|
||||
command: dotnet
|
||||
plugs:
|
||||
- network
|
||||
- network-bind
|
||||
- removable-media
|
||||
- home
|
||||
|
||||
slots:
|
||||
dotnet-runtime:
|
||||
content: dotnet-runtime-30
|
||||
interface: content
|
||||
read: [/]
|
||||
|
||||
parts:
|
||||
dotnet-runtime:
|
||||
plugin: dump
|
||||
source: https://download.visualstudio.microsoft.com/download/pr/7647815e-9c28-40a5-96ea-c6ac4ebe2020/c026b1e93a5d6750a7666d3fe36a87f5/dotnet-runtime-3.0.2-linux-x64.tar.gz
|
||||
source-checksum: sha512/c8f0e4eb220fa896c4a803a8d9d0c704ae7b8383801a977036f3089b1d779159f5a2d9293dc11ff5f4f6c76febc6f70f6cfcdff0debd3243cad5eb635f853d45
|
||||
stage-packages:
|
||||
- libicu60
|
||||
- libssl1.0.0
|
||||
- libcurl3
|
||||
- libgssapi-krb5-2
|
||||
- liblttng-ust0
|
||||
- libstdc++6
|
||||
- zlib1g
|
||||
- libgcc1
|
||||
- lldb
|
||||
- libunwind8
|
||||
- libtinfo5
|
||||
- libdb5.3
|
||||
- libc6
|
|
@ -1,43 +0,0 @@
|
|||
name: dotnet-runtime-31
|
||||
base: core18
|
||||
version: 3.1.1
|
||||
summary: Cross-Platform .NET Core Runtime.
|
||||
description: |
|
||||
.NET Core runtimes and libraries which are optimized for running .NET Core apps in production. See https://dot.net/core.
|
||||
.NET Core is a general purpose development platform maintained by Microsoft.
|
||||
|
||||
grade: stable
|
||||
confinement: strict
|
||||
|
||||
apps:
|
||||
dotnet:
|
||||
command: dotnet
|
||||
plugs:
|
||||
- network
|
||||
- network-bind
|
||||
- removable-media
|
||||
- home
|
||||
|
||||
slots:
|
||||
dotnet-runtime:
|
||||
content: dotnet-runtime-31
|
||||
interface: content
|
||||
read: [/]
|
||||
|
||||
parts:
|
||||
dotnet-runtime:
|
||||
plugin: dump
|
||||
source: https://download.visualstudio.microsoft.com/download/pr/e060c2eb-1476-4d70-857c-24f5eead2070/ff0e007b7373c04f754b3818ffdb2134/dotnet-runtime-3.1.1-linux-x64.tar.gz
|
||||
source-checksum: sha512/991a89ac7b52d3bf6c00359ce94c5a3f7488cd3d9e4663ba0575e1a5d8214c5fcc459e2cb923c369c2cdb789a96f0b1dfb5c5aae1a04df6e7f1f365122072611
|
||||
stage-packages:
|
||||
- libicu60
|
||||
- libssl1.0.0
|
||||
- libcurl3
|
||||
- libgssapi-krb5-2
|
||||
- liblttng-ust0
|
||||
- libstdc++6
|
||||
- zlib1g
|
||||
- libgcc1
|
||||
- libtinfo5
|
||||
- libdb5.3
|
||||
- libc6
|
|
@ -1,43 +0,0 @@
|
|||
name: dotnet-runtime-50
|
||||
base: core18
|
||||
version: 5.0.0-preview.2.20167.3
|
||||
summary: Cross-Platform .NET Core Runtime.
|
||||
description: |
|
||||
.NET Core runtimes and libraries which are optimized for running .NET Core apps in production. See https://dot.net/core.
|
||||
.NET Core is a general purpose development platform maintained by Microsoft.
|
||||
|
||||
grade: stable
|
||||
confinement: strict
|
||||
|
||||
apps:
|
||||
dotnet:
|
||||
command: dotnet
|
||||
plugs:
|
||||
- network
|
||||
- network-bind
|
||||
- removable-media
|
||||
- home
|
||||
|
||||
slots:
|
||||
dotnet-runtime:
|
||||
content: dotnet-runtime-50
|
||||
interface: content
|
||||
read: [/]
|
||||
|
||||
parts:
|
||||
dotnet-runtime:
|
||||
plugin: dump
|
||||
source: https://download.visualstudio.microsoft.com/download/pr/169871b7-ce8f-4518-a342-209f98342569/4bb2abeecf4b064eac907fb28f96b5ca/aspnetcore-runtime-5.0.0-preview.2.20167.3-linux-x64.tar.gz
|
||||
source-checksum: sha512/c155a94b463020f413b9cc6650219b27c08f331f9d1926966e4c4471b1a3cc79e199fbbd4747e8ad89bd03d66cd90cbc68a5554c54e931ac59f7508810303327
|
||||
stage-packages:
|
||||
- libicu60
|
||||
- libssl1.0.0
|
||||
- libcurl3
|
||||
- libgssapi-krb5-2
|
||||
- liblttng-ust0
|
||||
- libstdc++6
|
||||
- zlib1g
|
||||
- libgcc1
|
||||
- libtinfo5
|
||||
- libdb5.3
|
||||
- libc6
|
|
@ -1,37 +0,0 @@
|
|||
name: dotnet-sdk
|
||||
version: 2.1.804
|
||||
summary: Cross-Platform .NET Core SDK
|
||||
description: |
|
||||
.NET Core SDK. https://dot.net/core.
|
||||
|
||||
grade: stable
|
||||
confinement: classic
|
||||
|
||||
apps:
|
||||
dotnet:
|
||||
command: dotnet
|
||||
|
||||
base: core18
|
||||
|
||||
parts:
|
||||
dotnet-sdk:
|
||||
plugin: dump
|
||||
source: https://download.visualstudio.microsoft.com/download/pr/9ba4d9b0-3fca-40ed-b5a2-1552dfa4f89e/8e5e555b543a7afd8fd764e080d25671/dotnet-sdk-2.1.804-linux-x64.tar.gz
|
||||
source-checksum: sha512/82b039856dadd2b47fa56a262d1a1a389132f0db037d4ee5c0872f2949c2cd447c33a978e1f532783119aa416860e03f26b840863ca3a97392a4b77f8df5bf66
|
||||
stage-packages:
|
||||
- libicu60
|
||||
- libssl1.0.0
|
||||
- libcurl3
|
||||
- libgssapi-krb5-2
|
||||
- libstdc++6
|
||||
- zlib1g
|
||||
- libgcc1
|
||||
- libtinfo5
|
||||
- liblttng-ust0
|
||||
- liburcu6
|
||||
- lldb
|
||||
|
||||
runtime-wrapper:
|
||||
plugin: dump
|
||||
source: .
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
name: dotnet-sdk
|
||||
version: 3.1.200
|
||||
summary: Cross-Platform .NET Core SDK
|
||||
description: |
|
||||
.NET Core SDK. https://dot.net/core.
|
||||
|
||||
grade: stable
|
||||
confinement: classic
|
||||
|
||||
apps:
|
||||
dotnet:
|
||||
command: dotnet
|
||||
|
||||
base: core18
|
||||
|
||||
parts:
|
||||
dotnet-sdk:
|
||||
plugin: dump
|
||||
source: https://download.visualstudio.microsoft.com/download/pr/daec2daf-b458-4ae1-9046-b8ba09b5fb49/733e2d73b41640d6e6bdf1cc6b9ef03b/dotnet-sdk-3.1.200-linux-x64.tar.gz
|
||||
source-checksum: sha512/5b9398c7bfe7f67cd9f38fdd4e6e429e1b6aaac0fe04672be0f8dca26580fb46906fd1d2deea6a7d3fb07d77e898f067d3ac1805fe077dc7c1adf9515c9bc9a9
|
||||
stage-packages:
|
||||
- libicu60
|
||||
- libssl1.0.0
|
||||
- libcurl3
|
||||
- libgssapi-krb5-2
|
||||
- libstdc++6
|
||||
- zlib1g
|
||||
- libgcc1
|
||||
- libtinfo5
|
||||
- liblttng-ust0
|
||||
- liburcu6
|
||||
|
||||
runtime-wrapper:
|
||||
plugin: dump
|
||||
source: .
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
name: dotnet-sdk
|
||||
version: 5.0.100-preview.2.20176.6
|
||||
summary: Cross-Platform .NET Core SDK
|
||||
description: |
|
||||
.NET Core SDK. https://dot.net/core.
|
||||
|
||||
grade: stable
|
||||
confinement: classic
|
||||
|
||||
apps:
|
||||
dotnet:
|
||||
command: dotnet
|
||||
|
||||
base: core18
|
||||
|
||||
parts:
|
||||
dotnet-sdk:
|
||||
plugin: dump
|
||||
source: https://download.visualstudio.microsoft.com/download/pr/727a5825-d29a-4f45-beaa-053399f8b5ee/5f15827ceb4851ef87a008f5de0acf6c/dotnet-sdk-5.0.100-preview.2.20176.6-linux-x64.tar.gz
|
||||
source-checksum: sha512/fface8ff5facdec10d11f8249b426a71cd5bc17aa4e4b1fbe85f4a462e55bdb648a456973a3257f0a700be1aeb0f9bb41639ceca12c2e67d1571e4544ae62bd7
|
||||
stage-packages:
|
||||
- libicu60
|
||||
- libssl1.0.0
|
||||
- libcurl3
|
||||
- libgssapi-krb5-2
|
||||
- libstdc++6
|
||||
- zlib1g
|
||||
- libgcc1
|
||||
- libtinfo5
|
||||
- liblttng-ust0
|
||||
- liburcu6
|
||||
|
||||
runtime-wrapper:
|
||||
plugin: dump
|
||||
source: .
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
dotnet_runtime_snaps=$(ls "$SNAP/../.." | grep dotnet-runtime)
|
||||
|
||||
for snap in "$dotnet_runtime_snaps"
|
||||
do
|
||||
runtime_dir=$(realpath "$SNAP/../../$snap/current/shared/Microsoft.NETCore.App")
|
||||
if [ -d "$runtime_dir" ]; then
|
||||
runtime_version=$(ls "$runtime_dir")
|
||||
runtime_path="$SNAP_DATA/Microsoft.NETCore.App/$runtime_version"
|
||||
if [ ! -d "$runtime_path" ]; then
|
||||
sudo ln -s "$runtime_dir/$runtime_version" "$runtime_path"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
exec $SNAP/dotnet "$@"
|
|
@ -1,36 +0,0 @@
|
|||
name: dotnet-sdk
|
||||
version: $(DOTNET_SDK_VERSION)
|
||||
summary: Cross-Platform .NET Core SDK
|
||||
description: |
|
||||
.NET Core SDK. https://dot.net/core.
|
||||
|
||||
grade: devel
|
||||
confinement: classic
|
||||
|
||||
apps:
|
||||
dotnet:
|
||||
command: dotnet
|
||||
|
||||
base: core18
|
||||
|
||||
parts:
|
||||
dotnet-sdk:
|
||||
plugin: dump
|
||||
source: $(SOURCE_TARGZ)
|
||||
source-checksum: sha512/$(SOURCE_TARGZ_SHA)
|
||||
stage-packages:
|
||||
- libicu60
|
||||
- libssl1.0.0
|
||||
- libcurl3
|
||||
- libgssapi-krb5-2
|
||||
- libstdc++6
|
||||
- zlib1g
|
||||
- libgcc1
|
||||
- lldb
|
||||
- libunwind8
|
||||
- libtinfo5
|
||||
- liblttng-ust0
|
||||
- liburcu6
|
||||
runtime-wrapper:
|
||||
plugin: dump
|
||||
source: .
|
|
@ -1,16 +0,0 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="240" height="20">
|
||||
<mask id="a">
|
||||
<rect width="240" height="20" rx="0" fill="#fff" />
|
||||
</mask>
|
||||
<g mask="url(#a)">
|
||||
<path fill="#555" d="M0 0h52v20H0z" />
|
||||
<path fill="#007ec6" d="M52 0h188v20H52z" />
|
||||
<path fill="url(#b)" d="M0 0h240v20H0z" />
|
||||
</g>
|
||||
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
|
||||
<text x="26" y="15" fill="#010101" fill-opacity=".3">version</text>
|
||||
<text x="26" y="14">version</text>
|
||||
<text x="146" y="15" fill="#010101" fill-opacity=".3">ver_number</text>
|
||||
<text x="146" y="14">ver_number</text>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 708 B |
|
@ -1,21 +0,0 @@
|
|||
<Project>
|
||||
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>$(NetCoreAppCurrent)</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
|
||||
|
||||
<!--
|
||||
Ensure MSIs are built and signed (if necessary) then call the target that generates the MSI
|
||||
insertion NuGet packages on each project. Bundle installers aren't inserted, so this is enough.
|
||||
-->
|
||||
<Target Name="Build" DependsOnTargets="GetSharedFrameworkProjects">
|
||||
<MSBuild Projects="$(SigningToolsDir)\SignMsiFiles.proj" Targets="Build" />
|
||||
<MSBuild Projects="@(PkgprojProjectToBuild);@(SharedFrameworkProject)" Targets="GenerateVSInsertionNupkg" />
|
||||
</Target>
|
||||
|
||||
<Target Name="Test" />
|
||||
|
||||
</Project>
|
|
@ -1,8 +0,0 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<VersionProp>AppHostVersion</VersionProp>
|
||||
<SkipBuildOnRuntimePackOnlyOS>true</SkipBuildOnRuntimePackOnlyOS>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="$(MSBuildProjectName).props" />
|
||||
</Project>
|
|
@ -1,31 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<ItemGroup>
|
||||
<NativeBinary Include="$(DotNetHostBinDir)/apphost$(ApplicationFileExtension)" />
|
||||
<NativeBinary Include="$(DotNetHostBinDir)/singlefilehost$(ApplicationFileExtension)" />
|
||||
<NativeBinary Include="$(DotNetHostBinDir)/$(LibraryFilePrefix)nethost$(LibraryFileExtension)" />
|
||||
<NativeBinary Include="$(DotNetHostBinDir)/$(LibraryFilePrefix)nethost$(StaticLibraryFileExtension)" />
|
||||
<NativeBinary Include="$(DotNetHostBinDir)/coreclr_delegates.h" />
|
||||
<NativeBinary Include="$(DotNetHostBinDir)/hostfxr.h" />
|
||||
<NativeBinary Include="$(DotNetHostBinDir)/nethost.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="'$(TargetOS)' == 'windows'">
|
||||
<NativeBinary Include="$(DotNetHostBinDir)/comhost.dll" />
|
||||
<NativeBinary Include="$(DotNetHostBinDir)/ijwhost.dll" />
|
||||
<NativeBinary Include="$(DotNetHostBinDir)/ijwhost.lib" />
|
||||
<!-- The libnethost.lib is a static library for the nethost scenario.
|
||||
The symbols file is also shipped to enable users to fully debug
|
||||
binaries that link against the static version. -->
|
||||
<NativeBinary Include="$(DotNetHostBinDir)/libnethost.lib" />
|
||||
<NativeBinary Include="$(DotNetHostBinDir)/PDB/libnethost.pdb" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="'$(PackageTargetRuntime)' != ''">
|
||||
<File Include="@(NativeBinary)">
|
||||
<TargetPath>runtimes/$(PackageTargetRuntime)/native</TargetPath>
|
||||
<IsNative>true</IsNative>
|
||||
</File>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
|
@ -4,50 +4,9 @@
|
|||
<VersionProp>HostVersion</VersionProp>
|
||||
|
||||
<InstallerName>dotnet-host</InstallerName>
|
||||
<GenerateSharedFrameworkPart>true</GenerateSharedFrameworkPart>
|
||||
<SkipBuildOnRuntimePackOnlyOS>true</SkipBuildOnRuntimePackOnlyOS>
|
||||
</PropertyGroup>
|
||||
|
||||
<Target Name="SetupHostSpecificWixBuild"
|
||||
DependsOnTargets="GetInstallerBrandingNames"
|
||||
BeforeTargets="GetWixBuildConfiguration">
|
||||
<PropertyGroup>
|
||||
<WixProductMoniker>$(SharedHostBrandName)</WixProductMoniker>
|
||||
<RegKeyProductName>sharedhost</RegKeyProductName>
|
||||
<WixDependencyKeyName>Dotnet_CLI_SharedHost</WixDependencyKeyName>
|
||||
<VSInsertionShortComponentName>SharedHost</VSInsertionShortComponentName>
|
||||
|
||||
<PublishRootDir>$(IntermediateOutputPath)publishRoot/</PublishRootDir>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Always clean this up to avoid side-by-side versions in unclean dev builds. -->
|
||||
<RemoveDir Directories="$(PublishRootDir)" />
|
||||
|
||||
<!-- copy shared host layout -->
|
||||
<Copy SourceFiles="$(DotNetHostBinDir)/dotnet$(ApplicationFileExtension)"
|
||||
DestinationFolder="$(PublishRootDir)" />
|
||||
|
||||
<Copy SourceFiles="$(InstallerProjectRoot)pkg\THIRD-PARTY-NOTICES.TXT"
|
||||
DestinationFiles="$(PublishRootDir)ThirdPartyNotices.txt" />
|
||||
|
||||
<Copy SourceFiles="$(RepoRoot)LICENSE.TXT"
|
||||
DestinationFiles="$(PublishRootDir)LICENSE.txt"
|
||||
Condition="'$(TargetsUnix)' == 'true'"/>
|
||||
|
||||
<Copy SourceFiles="$(InstallerProjectRoot)pkg\LICENSE-MSFT.TXT"
|
||||
DestinationFiles="$(PublishRootDir)LICENSE.txt"
|
||||
Condition="'$(TargetsUnix)' != 'true'"/>
|
||||
|
||||
<ItemGroup>
|
||||
<WixSrcFile Include="host.wxs" />
|
||||
|
||||
<WixExtraComponentGroupRefId Include="InstallSharedHostandDetectionKeys" />
|
||||
|
||||
<CandleVariables Include="ExtraPropertyRefIds" Value="ProductCPU;RTM_ProductVersion" />
|
||||
<CandleVariables Include="HostSrc" Value="$(PublishRootDir)" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<ItemGroup Condition="'$(PackageTargetRuntime)' != ''">
|
||||
<NativeBinary Include="$(DotNetHostBinDir)/dotnet$(ApplicationFileExtension)" />
|
||||
<File Include="@(NativeBinary)">
|
||||
|
|
|
@ -9,5 +9,11 @@
|
|||
<Dependency Include="Microsoft.NETCore.DotNetHostResolver" VersionProp="HostResolverVersion" />
|
||||
</ItemGroup>
|
||||
|
||||
<Import Project="$(MSBuildProjectName).props" />
|
||||
<ItemGroup Condition="'$(PackageTargetRuntime)' != ''">
|
||||
<NativeBinary Include="$(DotNetHostBinDir)/$(LibraryFilePrefix)hostpolicy$(LibraryFileExtension)"/>
|
||||
<File Include="@(NativeBinary)">
|
||||
<TargetPath>runtimes/$(PackageTargetRuntime)/native</TargetPath>
|
||||
<IsNative>true</IsNative>
|
||||
</File>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<ItemGroup Condition="'$(PackageTargetRuntime)' != ''">
|
||||
<NativeBinary Include="$(DotNetHostBinDir)/$(LibraryFilePrefix)hostpolicy$(LibraryFileExtension)"/>
|
||||
<File Include="@(NativeBinary)">
|
||||
<TargetPath>runtimes/$(PackageTargetRuntime)/native</TargetPath>
|
||||
<IsNative>true</IsNative>
|
||||
</File>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
|
@ -4,7 +4,6 @@
|
|||
<VersionProp>HostResolverVersion</VersionProp>
|
||||
|
||||
<InstallerName>dotnet-hostfxr</InstallerName>
|
||||
<GenerateSharedFrameworkPart>true</GenerateSharedFrameworkPart>
|
||||
<SkipBuildOnRuntimePackOnlyOS>true</SkipBuildOnRuntimePackOnlyOS>
|
||||
</PropertyGroup>
|
||||
|
||||
|
@ -12,40 +11,12 @@
|
|||
<Dependency Include="Microsoft.NETCore.DotNetAppHost" VersionProp="AppHostVersion" />
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="SetupHostResolverSpecificWixBuild"
|
||||
DependsOnTargets="
|
||||
GetProductVersions;
|
||||
GetInstallerBrandingNames"
|
||||
BeforeTargets="GetWixBuildConfiguration">
|
||||
<PropertyGroup>
|
||||
<WixProductMoniker>$(HostFxrBrandName)</WixProductMoniker>
|
||||
<RegKeyProductName>hostfxr</RegKeyProductName>
|
||||
<WixDependencyKeyName>Dotnet_CLI_HostFxr</WixDependencyKeyName>
|
||||
<VSInsertionShortComponentName>HostFXR</VSInsertionShortComponentName>
|
||||
|
||||
<PublishRootDir>$(IntermediateOutputPath)publishRoot/</PublishRootDir>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Always clean this up to avoid side-by-side versions in unclean dev builds. -->
|
||||
<RemoveDir Directories="$(PublishRootDir)" />
|
||||
|
||||
<!-- Copy files to staging location to easily set up relative directory for WiX. -->
|
||||
<Copy
|
||||
SourceFiles="$(DotNetHostBinDir)/$(LibraryFilePrefix)hostfxr$(LibraryFileExtension)"
|
||||
DestinationFolder="$(PublishRootDir)host/fxr/$(HostResolverVersion)" />
|
||||
|
||||
<ItemGroup>
|
||||
<CandleVariables Include="AuthoredRegistryKeys;RegKeyNugetVersionValue" Value="true" />
|
||||
|
||||
<DirectoryToHarvest
|
||||
Include="$(PublishRootDir)"
|
||||
Name="install-files"
|
||||
SubstituteVar="HostFxrSrc"
|
||||
ComponentGroupName="InstallFiles"
|
||||
DirectoryRef="DOTNETHOME" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<Import Project="$(MSBuildProjectName).props" />
|
||||
<ItemGroup Condition="'$(PackageTargetRuntime)' != ''">
|
||||
<NativeBinary Include="$(DotNetHostBinDir)/$(LibraryFilePrefix)hostfxr$(LibraryFileExtension)"/>
|
||||
<File Include="@(NativeBinary)">
|
||||
<TargetPath>runtimes/$(PackageTargetRuntime)/native</TargetPath>
|
||||
<IsNative>true</IsNative>
|
||||
</File>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<ItemGroup Condition="'$(PackageTargetRuntime)' != ''">
|
||||
<NativeBinary Include="$(DotNetHostBinDir)/$(LibraryFilePrefix)hostfxr$(LibraryFileExtension)"/>
|
||||
<File Include="@(NativeBinary)">
|
||||
<TargetPath>runtimes/$(PackageTargetRuntime)/native</TargetPath>
|
||||
<IsNative>true</IsNative>
|
||||
</File>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
|
@ -28,25 +28,5 @@
|
|||
"Name": "Microsoft.NETCore.DotNetHost",
|
||||
"Description": "Provides an executable implementation of the Microsoft DotNet Framework and SDK launcher module",
|
||||
"CommonTypes": [ ]
|
||||
},
|
||||
{
|
||||
"Name": "Microsoft.NETCore",
|
||||
"Description": "Provides a set of packages that can be used when building portable libraries on .NETCore based platforms.",
|
||||
"CommonTypes": [ ]
|
||||
},
|
||||
{
|
||||
"Name": "Microsoft.NETCore.App",
|
||||
"Description": "A set of .NET APIs that are included in the default .NET application model.",
|
||||
"CommonTypes": [ ]
|
||||
},
|
||||
{
|
||||
"Name": "Microsoft.NETCore.App.Internal",
|
||||
"Description": "Transport package for .NET App runtime assets.",
|
||||
"CommonTypes": [ ]
|
||||
},
|
||||
{
|
||||
"Name": "Microsoft.NETCore.App.Ref",
|
||||
"Description": "A set of .NET APIs that are included in the default .NET application model. Contains reference assemblies, documentation, and other design-time assets.",
|
||||
"CommonTypes": [ ]
|
||||
}
|
||||
]
|
||||
|
|
|
@ -1,27 +0,0 @@
|
|||
<Project>
|
||||
<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props, $(MSBuildThisFileDirectory)..))" />
|
||||
|
||||
<!--
|
||||
Determine CoreCLR/Libraries TargetOS based on Installer TargetOS. For example,
|
||||
Installer uses Unix when applicable, but others go straight to Linux.
|
||||
-->
|
||||
<PropertyGroup>
|
||||
<CoreCLRTargetOS Condition="'$(TargetsWindows)' == 'true'">windows</CoreCLRTargetOS>
|
||||
<CoreCLRTargetOS Condition="'$(TargetsLinux)' == 'true'">Linux</CoreCLRTargetOS>
|
||||
<CoreCLRTargetOS Condition="'$(TargetsOSX)' == 'true'">OSX</CoreCLRTargetOS>
|
||||
<CoreCLRTargetOS Condition="'$(TargetsiOS)' == 'true'">iOS</CoreCLRTargetOS>
|
||||
<CoreCLRTargetOS Condition="'$(TargetstvOS)' == 'true'">tvOS</CoreCLRTargetOS>
|
||||
<CoreCLRTargetOS Condition="'$(TargetsAndroid)' == 'true'">Android</CoreCLRTargetOS>
|
||||
<CoreCLRTargetOS Condition="'$(TargetsBrowser)' == 'true'">Browser</CoreCLRTargetOS>
|
||||
<CoreCLRTargetOS Condition="'$(TargetsFreeBSD)' == 'true'">FreeBSD</CoreCLRTargetOS>
|
||||
<CoreCLRTargetOS Condition="'$(TargetsNetBSD)' == 'true'">NetBSD</CoreCLRTargetOS>
|
||||
<CoreCLRTargetOS Condition="'$(TargetsIllumos)' == 'true'">illumos</CoreCLRTargetOS>
|
||||
<CoreCLRTargetOS Condition="'$(TargetsSolaris)' == 'true'">Solaris</CoreCLRTargetOS>
|
||||
<LibrariesTargetOS>$(CoreCLRTargetOS)</LibrariesTargetOS>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<ShortFrameworkName>dotnet</ShortFrameworkName>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
|
@ -1,38 +0,0 @@
|
|||
<Project>
|
||||
<PropertyGroup>
|
||||
<IsFrameworkPackage>true</IsFrameworkPackage>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props, $(MSBuildThisFileDirectory)..))" />
|
||||
|
||||
<PropertyGroup>
|
||||
<FrameworkListName>$(NetCoreAppCurrentBrandName)</FrameworkListName>
|
||||
<FrameworkListTargetFrameworkIdentifier>$(NetCoreAppCurrentIdentifier)</FrameworkListTargetFrameworkIdentifier>
|
||||
<FrameworkListTargetFrameworkVersion>$(NetCoreAppCurrentVersion)</FrameworkListTargetFrameworkVersion>
|
||||
<FrameworkListFrameworkName>$(SharedFrameworkName)</FrameworkListFrameworkName>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<!-- LINUX -->
|
||||
|
||||
<!-- OSX -->
|
||||
<SingleFileHostIncludeFilename Include="libSystem.IO.Compression.Native.dylib" />
|
||||
<SingleFileHostIncludeFilename Include="libSystem.Native.dylib" />
|
||||
<SingleFileHostIncludeFilename Include="libSystem.Net.Security.Native.dylib" />
|
||||
<SingleFileHostIncludeFilename Include="libSystem.Security.Cryptography.Native.Apple.dylib" />
|
||||
<SingleFileHostIncludeFilename Include="libSystem.Security.Cryptography.Native.OpenSsl.dylib" />
|
||||
|
||||
<!-- Windows -->
|
||||
<SingleFileHostIncludeFilename Include="clrcompression.dll" />
|
||||
<SingleFileHostIncludeFilename Include="mscordaccore.dll" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Redistribute package content from other nuget packages. -->
|
||||
<ItemGroup Condition="
|
||||
'$(FrameworkPackType)' != 'apphost' AND
|
||||
'$(ExcludeDepprojReference)' != 'true'">
|
||||
<ProjectReference Include="$(MSBuildThisFileDirectory)..\src\netcoreapp.depproj">
|
||||
<AdditionalProperties Condition="'$(PackageTargetRuntime)' != ''">RuntimeIdentifier=$(PackageTargetRuntime)</AdditionalProperties>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,113 +0,0 @@
|
|||
<Project>
|
||||
|
||||
<!--
|
||||
Use framework pack tooling to support building RID-specific crossgen2 packs.
|
||||
Consider porting to central infrastructure: https://github.com/dotnet/runtime/issues/1867
|
||||
-->
|
||||
<PropertyGroup>
|
||||
<FrameworkPackType>crossgen2</FrameworkPackType>
|
||||
<BuildRidSpecificPacks>true</BuildRidSpecificPacks>
|
||||
<SkipBuildOnRuntimePackOnlyOS>true</SkipBuildOnRuntimePackOnlyOS>
|
||||
</PropertyGroup>
|
||||
|
||||
<!--
|
||||
Get installer properties, in particular for MSIs.
|
||||
Consider porting to central infrastructure: https://github.com/dotnet/runtime/issues/1867
|
||||
-->
|
||||
<Target Name="GetCrossgen2PackInstallerProperties"
|
||||
Condition="'$(FrameworkPackType)' == 'crossgen2'"
|
||||
BeforeTargets="GetInstallerProperties">
|
||||
<PropertyGroup>
|
||||
<InstallerName>$(ShortFrameworkName)-crossgen2-pack</InstallerName>
|
||||
<WixProductMoniker>$(Crossgen2PackBrandName)</WixProductMoniker>
|
||||
<VSInsertionShortComponentName>Crossgen2Pack</VSInsertionShortComponentName>
|
||||
</PropertyGroup>
|
||||
</Target>
|
||||
|
||||
<PropertyGroup>
|
||||
<RIDPropsFile>$(MSBuildThisFileDirectory)crossgenRIDs.props</RIDPropsFile>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
|
||||
|
||||
<!--
|
||||
We're publishing crossgen2 as a self-contained application against the live runtime bits,
|
||||
so we need to assemble the self-contained framework here.
|
||||
-->
|
||||
<Target Name="GetCrossgen2Files"
|
||||
DependsOnTargets="ConvertItems"
|
||||
BeforeTargets="GetPackageFiles">
|
||||
<ItemGroup>
|
||||
<RuntimeFile Include="@(File->HasMetadata('TargetPath'))" Exclude="$(PackageIconFullPath)" />
|
||||
<File Remove="@(RuntimeFile)" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetOSComponent>unix</TargetOSComponent>
|
||||
<TargetOSComponent Condition="'$(TargetOS)' == 'windows'">win</TargetOSComponent>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Crossgen2File Include="$(CoreCLRCrossgen2Dir)crossgen2$(ExeSuffix)" />
|
||||
<Crossgen2File Include="$(CoreCLRCrossgen2Dir)crossgen2.dll" />
|
||||
<Crossgen2File Include="$(CoreCLRCrossgen2Dir)ILCompiler*.dll" />
|
||||
<Crossgen2File Include="$(CoreCLRCrossgen2Dir)Microsoft.DiaSymReader.dll" />
|
||||
<Crossgen2File Include="$(CoreCLRCrossgen2Dir)$(LibraryFilePrefix)jitinterface_$(TargetArchitecture)$(LibraryFileExtension)" />
|
||||
<Crossgen2File Include="$(CoreCLRCrossgen2Dir)$(LibraryFilePrefix)clrjit_win_x86_$(TargetArchitecture)$(LibraryFileExtension)" />
|
||||
<Crossgen2File Include="$(CoreCLRCrossgen2Dir)$(LibraryFilePrefix)clrjit_win_arm_$(TargetArchitecture)$(LibraryFileExtension)" />
|
||||
<Crossgen2File Include="$(CoreCLRCrossgen2Dir)$(LibraryFilePrefix)clrjit_unix_arm_$(TargetArchitecture)$(LibraryFileExtension)" />
|
||||
<Crossgen2File Condition="'$(TargetArchitecture)' == 'arm64' or '$(TargetArchitecture)' == 'x64'" Include="$(CoreCLRCrossgen2Dir)$(LibraryFilePrefix)clrjit_win_x64_$(TargetArchitecture)$(LibraryFileExtension)" />
|
||||
<Crossgen2File Condition="'$(TargetArchitecture)' == 'arm64' or '$(TargetArchitecture)' == 'x64'" Include="$(CoreCLRCrossgen2Dir)$(LibraryFilePrefix)clrjit_win_arm64_$(TargetArchitecture)$(LibraryFileExtension)" />
|
||||
<Crossgen2File Condition="'$(TargetArchitecture)' == 'arm64' or '$(TargetArchitecture)' == 'x64'" Include="$(CoreCLRCrossgen2Dir)$(LibraryFilePrefix)clrjit_unix_x64_$(TargetArchitecture)$(LibraryFileExtension)" />
|
||||
<Crossgen2File Condition="'$(TargetArchitecture)' == 'arm64' or '$(TargetArchitecture)' == 'x64'" Include="$(CoreCLRCrossgen2Dir)$(LibraryFilePrefix)clrjit_unix_arm64_$(TargetArchitecture)$(LibraryFileExtension)" />
|
||||
<!-- Include the native and managed files from the Microsoft.NETCore.App shared framework -->
|
||||
<Crossgen2File Include="@(RuntimeFile)" Condition="'%(RuntimeFile.TargetPath)' == 'runtimes/$(PackageRID)/native' and '%(RuntimeFile.Extension)' != '$(StaticLibraryFileExtension)'" />
|
||||
<Crossgen2File Include="@(RuntimeFile)" Condition="'%(RuntimeFile.TargetPath)' == 'runtimes/$(PackageRID)/lib/$(NetCoreAppCurrent)'" />
|
||||
<!-- Include the native hosting layer -->
|
||||
<Crossgen2File Include="$(DotNetHostBinDir)/$(LibraryFilePrefix)hostfxr$(LibraryFileExtension)" />
|
||||
<Crossgen2File Include="$(DotNetHostBinDir)/$(LibraryFilePrefix)hostpolicy$(LibraryFileExtension)" />
|
||||
</ItemGroup>
|
||||
|
||||
<MSBuild Projects="$(CoreClrProjectRoot)src/tools/aot/crossgen2/crossgen2.csproj"
|
||||
Targets="Restore"
|
||||
Properties="
|
||||
Configuration=$(RuntimeConfiguration);
|
||||
SelfContained=true;
|
||||
RuntimeIdentifier=$(PackageRID)">
|
||||
<Output TaskParameter="TargetOutputs" ItemName="Crossgen2File" />
|
||||
</MSBuild>
|
||||
|
||||
<MSBuild Projects="$(CoreClrProjectRoot)src/tools/aot/crossgen2/crossgen2.csproj"
|
||||
Targets="GenerateDepsJsonFile"
|
||||
Properties="
|
||||
Configuration=$(RuntimeConfiguration);
|
||||
GenerateDependencyFile=true;
|
||||
IncludeFileVersionsInDependencyFile=false;
|
||||
SelfContained=true;
|
||||
RemoveLongNameDac=true;
|
||||
RuntimeGraphPath=$(LiveRuntimeIdentifierGraphPath);
|
||||
RuntimeIdentifier=$(PackageRID)">
|
||||
<Output TaskParameter="TargetOutputs" ItemName="Crossgen2File" />
|
||||
</MSBuild>
|
||||
|
||||
<ItemGroup>
|
||||
<!-- Avoid having two copies of System.Private.CoreLib.ni.pdb in the same directory -->
|
||||
<Crossgen2File Update="@(Crossgen2File)" SavedIdentity="%(Identity)" />
|
||||
<Crossgen2FileDistinct Include="@(Crossgen2File->'%(Filename)%(Extension)'->Distinct())" />
|
||||
|
||||
<File Include="@(Crossgen2FileDistinct->'%(SavedIdentity)')" RemoveMetadata="SavedIdentity">
|
||||
<TargetPath>tools</TargetPath>
|
||||
</File>
|
||||
<!--
|
||||
System.Private.CoreLib's R2R pdb ends up in two locations (CoreCLR and the depproj output).
|
||||
Remove them here and let the symbol file location infra find exactly one.
|
||||
-->
|
||||
<CoreLibSymbolFile Include="@(Crossgen2File)" Condition="'%(FileName)%(Extension)' == 'System.Private.CoreLib.ni.pdb'" />
|
||||
<File Remove="@(CoreLibSymbolFile)" />
|
||||
</ItemGroup>
|
||||
|
||||
</Target>
|
||||
|
||||
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
|
||||
|
||||
</Project>
|
|
@ -1,33 +0,0 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<!--
|
||||
Create AppHost Pack based on legacy DotNetAppHost package. This can be collapsed once the legacy
|
||||
package is no longer used.
|
||||
-->
|
||||
<Import Project="..\..\Microsoft.NETCore.DotNetAppHost\Microsoft.NETCore.DotNetAppHost.props" />
|
||||
|
||||
<!--
|
||||
These files are not signed, because they're templates: they are modified by the SDK on the
|
||||
user's machine before use. We have a signing validation exception for Visual Studio insertion's
|
||||
signature validation. However, the exceptions are based on the file IDs, which are not stable
|
||||
because product version is in the path. We need to force these IDs to be stable by modifying
|
||||
the WiX source file. https://github.com/dotnet/core-setup/issues/7327
|
||||
-->
|
||||
<ItemGroup>
|
||||
<HeatOutputFileElementToStabilize Include="native\apphost.exe" ReplacementId="apphosttemplateapphostexe" />
|
||||
<HeatOutputFileElementToStabilize Include="native\singlefilehost.exe" ReplacementId="staticapphosttemplateapphostexe" />
|
||||
<HeatOutputFileElementToStabilize Include="native\comhost.dll" ReplacementId="comhosttemplatecomhostdll" />
|
||||
</ItemGroup>
|
||||
|
||||
<!--
|
||||
See https://github.com/dotnet/core-setup/issues/7846. Cross-arch MSI installers are needed for
|
||||
C++/CLI project system support.
|
||||
-->
|
||||
<ItemGroup>
|
||||
<CrossArchSdkMsiInstallerArch Include="x64;x86" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<SkipBuildOnRuntimePackOnlyOS>true</SkipBuildOnRuntimePackOnlyOS>
|
||||
</PropertyGroup>
|
||||
</Project>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue