* Tweaks for RTM stable building and servicing
- When building from source offline in a stable configuration, the shared frameworks versions will match the directory from which the runtime archives are located in, both stable. This is in contrast to when not building from source, in which the runtime archives will appear in non-stable directories.
- The targeting pack versions should not be assumed to always match the runtime framework versions, and the blob directories containing them are the same. Add new dependencies so that we can track where the targeting pack directory is over time.
- PGO archives coming from runtime are always built non-stable. This means the download location needs to be tweaks, and crossgen calls need to look for shared framework binaries in the non-stable locations.
- For source-build, the templating should move to a new non-stable dependency. This is used to determine the version of the source build intermediate package.
* Generate the full nuget version in the source build tarball job.
The source build tarball job needs the full nuget version so that it can publish the blob to the right location (`Sdk/<full version>/source-<stable version>.zip). This involves being able to call the GenerateFullNuGetVersion target and the targets it depends on.
* Copy instead of clone and remove .git/objects directories
* Add depth 1 to fetch command
* Add commit count to git-info for installer repo
* Update targets to fix dependency ordering
Some repos take a dependency on PrepareInnerSourceBuildRepoRoot,
assuming that the inner repo will be setup. The condition for copy
instead of clone caused a conflict.
Keep PrepareInnerSourceBuildRepoRoot and make it depend on
either copy or clone completing.
* Don't copy artifacts dir
* Actually don't remove artifacts directory
* Update prebuilt version
[release/6.0.1xx] Update dependencies from dotnet/sdk
- Coherency Updates:
- Microsoft.WindowsDesktop.App.Ref: from 6.0.0-rc.2.21423.1 to 6.0.0-rc.2.21427.2 (parent: Microsoft.NET.Sdk)
- VS.Redist.Common.WindowsDesktop.SharedFramework.x64.6.0: from 6.0.0-rc.2.21423.1 to 6.0.0-rc.2.21427.2 (parent: Microsoft.NET.Sdk)
- Microsoft.NETCore.App.Ref: from 6.0.0-rc.2.21423.6 to 6.0.0-rc.2.21427.5 (parent: Microsoft.NET.Sdk)
- Microsoft.NETCore.App.Runtime.win-x64: from 6.0.0-rc.2.21423.6 to 6.0.0-rc.2.21427.5 (parent: Microsoft.NET.Sdk)
- Microsoft.NETCore.App.Host.win-x64: from 6.0.0-rc.2.21423.6 to 6.0.0-rc.2.21427.5 (parent: Microsoft.NET.Sdk)
- Microsoft.NETCore.DotNetHostResolver: from 6.0.0-rc.2.21423.6 to 6.0.0-rc.2.21427.5 (parent: Microsoft.NET.Sdk)
- Microsoft.NETCore.Platforms: from 6.0.0-rc.2.21423.6 to 6.0.0-rc.2.21427.5 (parent: Microsoft.NET.Sdk)
- Microsoft.AspNetCore.App.Ref: from 6.0.0-rc.2.21420.26 to 6.0.0-rc.2.21427.4 (parent: Microsoft.NET.Sdk)
- Microsoft.AspNetCore.App.Ref.Internal: from 6.0.0-rc.2.21420.26 to 6.0.0-rc.2.21427.4 (parent: Microsoft.NET.Sdk)
- Microsoft.AspNetCore.App.Runtime.win-x64: from 6.0.0-rc.2.21420.26 to 6.0.0-rc.2.21427.4 (parent: Microsoft.NET.Sdk)
- VS.Redist.Common.AspNetCore.SharedFramework.x64.6.0: from 6.0.0-rc.2.21420.26 to 6.0.0-rc.2.21427.4 (parent: Microsoft.NET.Sdk)
- dotnet-dev-certs: from 6.0.0-rc.2.21420.26 to 6.0.0-rc.2.21427.4 (parent: Microsoft.NET.Sdk)
- dotnet-user-secrets: from 6.0.0-rc.2.21420.26 to 6.0.0-rc.2.21427.4 (parent: Microsoft.NET.Sdk)
- Microsoft.DotNet.Common.ItemTemplates: from 6.0.100-rc.2.21423.5 to 6.0.100-rc.2.21426.9 (parent: Microsoft.NET.Sdk)
- Microsoft.WindowsDesktop.App.Runtime.win-x64: from 6.0.0-rc.2.21423.1 to 6.0.0-rc.2.21427.2 (parent: Microsoft.NET.Sdk)
- Microsoft.Dotnet.WinForms.ProjectTemplates: from 6.0.0-rc.2.21423.3 to 6.0.0-rc.2.21427.1 (parent: Microsoft.WindowsDesktop.App.Runtime.win-x64)
- Microsoft.WindowsDesktop.App.Runtime.win-x64: from 6.0.0-rc.2.21423.1 to 6.0.0-rc.2.21427.2 (parent: Microsoft.NET.Sdk)
- Microsoft.DotNet.Wpf.ProjectTemplates: from 6.0.0-rc.2.21423.3 to 6.0.0-rc.2.21427.2 (parent: Microsoft.WindowsDesktop.App.Runtime.win-x64)
- Microsoft.FSharp.Compiler: from 12.0.0-beta.21418.3 to 12.0.0-beta.21426.5 (parent: Microsoft.NET.Sdk)
- Microsoft.SourceBuild.Intermediate.fsharp: from 5.0.3-beta.21418.3 to 5.0.3-beta.21426.5 (parent: Microsoft.NET.Sdk)
- Microsoft.Net.Compilers.Toolset: from 4.0.0-4.21420.19 to 4.0.0-4.21427.2 (parent: Microsoft.NET.Sdk)
- Microsoft.Build: from 17.0.0-preview-21423-05 to 17.0.0-preview-21427-02 (parent: Microsoft.NET.Sdk)
- VS.Redist.Common.NetCore.SharedFramework.x64.6.0: from 6.0.0-rc.2.21423.6 to 6.0.0-rc.2.21427.5 (parent: Microsoft.NET.Sdk)
- Microsoft.NET.Workload.Emscripten.Manifest-6.0.100: from 6.0.0-rc.1.21419.1 to 6.0.0-rc.2.21425.6 (parent: VS.Redist.Common.NetCore.SharedFramework.x64.6.0)
- Update stage0
- Update package name for Microsoft.DotNet.Web.ItemTemplates
React to this commit in aspnetcore that updated the package name to be suffixed with the Major.Minor of the current release: 43f52607fa
[release/6.0.1xx-rc1] Update dependencies from dotnet/sdk
- Coherency Updates:
- Microsoft.NETCore.App.Ref: from 6.0.0-rc.1.21425.15 to 6.0.0-rc.1.21426.17 (parent: Microsoft.NET.Sdk)
- Microsoft.NETCore.App.Runtime.win-x64: from 6.0.0-rc.1.21425.15 to 6.0.0-rc.1.21426.17 (parent: Microsoft.NET.Sdk)
- Microsoft.NETCore.App.Host.win-x64: from 6.0.0-rc.1.21425.15 to 6.0.0-rc.1.21426.17 (parent: Microsoft.NET.Sdk)
- Microsoft.NETCore.DotNetHostResolver: from 6.0.0-rc.1.21425.15 to 6.0.0-rc.1.21426.17 (parent: Microsoft.NET.Sdk)
- Microsoft.NETCore.Platforms: from 6.0.0-rc.1.21425.15 to 6.0.0-rc.1.21426.17 (parent: Microsoft.NET.Sdk)
- Microsoft.AspNetCore.App.Ref: from 6.0.0-rc.1.21425.34 to 6.0.0-rc.1.21426.34 (parent: Microsoft.NET.Sdk)
- Microsoft.AspNetCore.App.Ref.Internal: from 6.0.0-rc.1.21425.34 to 6.0.0-rc.1.21426.34 (parent: Microsoft.NET.Sdk)
- Microsoft.AspNetCore.App.Runtime.win-x64: from 6.0.0-rc.1.21425.34 to 6.0.0-rc.1.21426.34 (parent: Microsoft.NET.Sdk)
- VS.Redist.Common.AspNetCore.SharedFramework.x64.6.0: from 6.0.0-rc.1.21425.34 to 6.0.0-rc.1.21426.34 (parent: Microsoft.NET.Sdk)
- dotnet-dev-certs: from 6.0.0-rc.1.21425.34 to 6.0.0-rc.1.21426.34 (parent: Microsoft.NET.Sdk)
- dotnet-user-secrets: from 6.0.0-rc.1.21425.34 to 6.0.0-rc.1.21426.34 (parent: Microsoft.NET.Sdk)
- Microsoft.DotNet.Common.ItemTemplates: from 6.0.100-rc.1.21426.4 to 6.0.100-rc.1.21426.10 (parent: Microsoft.NET.Sdk)
- Microsoft.FSharp.Compiler: from 12.0.0-beta.21426.1 to 12.0.0-beta.21426.5 (parent: Microsoft.NET.Sdk)
- Microsoft.SourceBuild.Intermediate.fsharp: from 5.0.3-beta.21426.1 to 5.0.3-beta.21426.5 (parent: Microsoft.NET.Sdk)
- Microsoft.Net.Compilers.Toolset: from 4.0.0-4.21426.10 to 4.0.0-4.21426.21 (parent: Microsoft.NET.Sdk)
- VS.Redist.Common.NetCore.SharedFramework.x64.6.0: from 6.0.0-rc.1.21425.15 to 6.0.0-rc.1.21426.17 (parent: Microsoft.NET.Sdk)
- Update package name for Microsoft.DotNet.Web.ItemTemplates
React to this commit in aspnetcore that updated the package name to be suffixed with the Major.Minor of the current release: 43f52607fa
* [main] Update dependencies from dotnet/sdk (#11565)
[main] Update dependencies from dotnet/sdk
- Coherency Updates:
- Microsoft.AspNetCore.App.Ref: from 6.0.0-rc.1.21417.2 to 6.0.0-rc.1.21417.8 (parent: Microsoft.NET.Sdk)
- Microsoft.AspNetCore.App.Ref.Internal: from 6.0.0-rc.1.21417.2 to 6.0.0-rc.1.21417.8 (parent: Microsoft.NET.Sdk)
- Microsoft.AspNetCore.App.Runtime.win-x64: from 6.0.0-rc.1.21417.2 to 6.0.0-rc.1.21417.8 (parent: Microsoft.NET.Sdk)
- VS.Redist.Common.AspNetCore.SharedFramework.x64.6.0: from 6.0.0-rc.1.21417.2 to 6.0.0-rc.1.21417.8 (parent: Microsoft.NET.Sdk)
- dotnet-dev-certs: from 6.0.0-rc.1.21417.2 to 6.0.0-rc.1.21417.8 (parent: Microsoft.NET.Sdk)
- dotnet-user-secrets: from 6.0.0-rc.1.21417.2 to 6.0.0-rc.1.21417.8 (parent: Microsoft.NET.Sdk)
* Update dependencies from https://github.com/dotnet/sdk build 20210817.21 (#11569)
[main] Update dependencies from dotnet/sdk
- Coherency Updates:
- Microsoft.NET.Test.Sdk: from 17.0.0-preview-20210817-01 to 17.0.0-preview-20210817-02 (parent: Microsoft.NET.Sdk)
* Update dependencies from https://github.com/dotnet/arcade build 20210817.1 (#11570)
[main] Update dependencies from dotnet/arcade
- Coherency Updates:
- Microsoft.SourceLink.GitHub: from 1.1.0-beta-21309-01 to 1.1.0-beta-21416-05 (parent: Microsoft.DotNet.Arcade.Sdk)
- Microsoft.DotNet.XliffTasks: from 1.0.0-beta.21412.1 to 1.0.0-beta.21414.1 (parent: Microsoft.DotNet.Arcade.Sdk)
* [ArPow] Add runtime repo to tarball (#11506)
* Add runtime repo / update runtime project
* Update runtime-portable logs and properties
* Create runtime-portable git-info
* Fix unpack of IntermediatePackages
* Re-enable references to runtime
* Pass TargetRid and NonPortable to runtime build
* Only build allconfigurations in non-portable build
* Add SDK patch to disable new CA warning
* Increase built tarball timeout
* Update prebuilt version
* Remove 5.0.3xx and preview 7
Add rc1, 6.0 daily, and move main to 7.0
* Removing 7.0 for now as there aren't builds yet.
* Update dependencies from https://github.com/dotnet/arcade build 20210818.12 (#11594)
[main] Update dependencies from dotnet/arcade
- Coherency Updates:
- Microsoft.SourceLink.GitHub: from 1.1.0-beta-21416-05 to 1.1.0-beta-21417-01 (parent: Microsoft.DotNet.Arcade.Sdk)
- Microsoft.DotNet.XliffTasks: from 1.0.0-beta.21414.1 to 1.0.0-beta.21417.1 (parent: Microsoft.DotNet.Arcade.Sdk)
* [ArPow] Add installer repo to tarball (#11483)
* Fix the rc2 aka.ms links
* Add NuGet
* Make safe repo name safer.
* some more props filename stuff
* Patches to get the repo to build
* Use NuGet build script instead of manually calling msbuild.
* Add patch for source-build in build.sh in nuget.
* Use existing 5.0 nuget patch.
* Fixes for build scripts and .NET 6 SDK upgrade.
* Remove obsolete patch - this was caused by not using the correct source-build SDK.
* Address code review comment for source-build build script.
* Restore reference from installer to NuGet.
* Fix patch not applying.
* Don't try to pass Arcade build args to MSBuild.
* Fix script typo.
* Patch NuGet.Frameworks to produce netstandard2.0 for VSTest.
* Did this patch the wrong way around.
* Ignore failure in no-network case
* UPdate prebuilts version.
Co-authored-by: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Dan Seefeldt <dseefeld@microsoft.com>
Co-authored-by: Marc Paine <marcpop@microsoft.com>
Co-authored-by: Michael Simons <msimons@microsoft.com>
Co-authored-by: Matt Galbraith <mattgal@microsoft.com>
* [ArPow] Add runtime repo to tarball (#11506)
* Add runtime repo / update runtime project
* Update runtime-portable logs and properties
* Create runtime-portable git-info
* Fix unpack of IntermediatePackages
* Re-enable references to runtime
* Pass TargetRid and NonPortable to runtime build
* Only build allconfigurations in non-portable build
* Add SDK patch to disable new CA warning
* Increase built tarball timeout
* Update prebuilt version
* [ArPow] Add installer repo to tarball (#11483)
* Ignore failure in no-network case
Co-authored-by: Dan Seefeldt <dseefeld@microsoft.com>
Co-authored-by: Michael Simons <msimons@microsoft.com>
Co-authored-by: Matt Galbraith <mattgal@microsoft.com>
Add a 50 bundled version as not all three were changing at once. Modify the code to use the 31 and 21 versions. This way, we only ever have to update one set of numbers each month rather than 3.
* [ArPow Tarball] Tier 2 - Add runtime-portable repo to arpow tarball
* Update TemporaryBootstrapPackageVersions.props
* Revert too aggressive of version updates in TemporaryBootstrapPackageVersions.props
* Remove allconfigurations flag since some are not valid in source-build
* Don't copy tools anymore after Package
This target is no longer needed as it was meant to copy ilasm/ildasm to
a known directory to be picked up by SBRP. SBRP now uses the nupkg.
* Update binlog param to ensure we get inner binlog
* Don't build stable versions for preview
* Update DirectoryBuild.props in src if root one isn't found
* Add dotnet6 feed to NuGet.Configs
* Remove unneeded properties in runtime.common.props
* Increase timeout on create tarball job
* Update portable build cleanup
* Remove timeout on Create Tarball job
* Only add source when building online
* Update prebuilts version
Co-authored-by: dseefeld <dseefeld@microsoft.com>
- Cherry pick the internal runtime download changes over
- Cherry pick changes to the arcade SB template over (making the next update a noop and unblocking P7+)
- Hoist out the variable groups and parameters needed for the internal download to the top level yaml file.
- Remove the old DownloadFile task and replace this with the Arcade version. Specifically this allows us to remove
set/use of the DOTNETCLIMSRC_READ_SAS_TOKEN environment variable and instead rely on that task's ability to decode and
use a base64 encoded SAS token. The reason for the environment variable usage before was that the
non-encoded SAS token was getting mangled by msbuild/bash/etc. on non-Windows OSs.
- Update the source build tarball template with support for internal runtimes
Update to source build template