* Enable NuGet Audit and fix issues (#107639)
* Enable NuGet Audit and fix issues
Microsoft.NET.HostModel can reference the live builds of the packages
it depends on. These will be deployed by the SDK.
Most other audit alerts were due to tasks pulling in old dependencies
that aren't even used by the task. Avoid these by cherry-picking
just the assemblies needed by the tasks and provided by MSBuild / SDK.
This prevents NuGet from downloading the package closure with the
vulnerable packages. We don't need those packages since the tasks
aren't responsible for deploying them. A better solution in the future
would be a targeting pack for MSBuild and the .NET SDK - so that
components that contribute to these hosts have a surface area they can
target without taking on responsibility for servicing.
There is once case where we have a test that references NuGet.* packages
which also bring in stale dependencies that overlap with framework
assemblies. Avoid these by cherry-picking the NuGet packages in the
same way.
* Fix package path on linux
* Only use live JSON from HostModel
SDK pins S.R.M and a few others, so don't make them upgrade yet.
* Add a couple missing assembly references
* Refactor tasks dependencies
Consolidate representation of msbuild-provided task dependencies
* Fix audit warnings in tests
* Remove MetadataLoadContext from WasmAppBuilder package
* Update Analyzer.Testing packages
* Reduce exposure of Microsoft.Build.Tasks.Core
* Fix audit warnings that only occur on browser
* Update Asn1 used by linker analyzer tests
* React to breaking change in analyzer test SDK
* Enable working DryIoc tests
* Fix double-write when LibrariesConfiguration differs from Configuration
* Fix LibrariesConfiguration update target
* Clean up references and add comments.
* Make HostModel references private
This ensures projects referenced will not be rebuilt by tests.
This also means the HostModel package will not list these as references,
but that's OK since the SDK provides them and this is not a shipping
package.
* Use ProjectReferenceExclusion to avoid framework project references
On .NETCore we want to use the targeting pack and avoid rebuilding libs.
* Update src/libraries/System.Runtime.InteropServices.JavaScript/tests/JSImportGenerator.UnitTest/JSImportGenerator.Unit.Tests.csproj
Co-authored-by: Jeremy Koritzinsky <jkoritzinsky@gmail.com>
---------
Co-authored-by: Jeremy Koritzinsky <jkoritzinsky@gmail.com>
* Remove live System.Text.Json reference from HostModel (#108263)
* Reduce changes to src/installer
Since we're no longer trying to reference live S.T.J we don't need these.
* Update JSON toolset version
* Don't error for NuGet audit on non-official builds (#108718)
* Reference live S.T.JSON from DI.ExternalContainers.Tests
* Update STJ in Wasm.Build.Tests
* Make SystemTextJsonToolsetVersion 8.0.4
We cannot count on VS and MSBuild updating by the time 9.0 ships GA.
Fix WASM projects which only target .NET by referencing the LKG and dropping all assets.
For Microsoft.NET.HostModel and other build tasks, keep them on the version we can garuntee is present in VS. NoWarn the Audit warnings here. This is safe because we can ensure one of two things.
1. The package is non-shipping and customers won't see the warning and the referencing repo in the product will ensure an update or exclusion of the dependency. (HostModel)
2. The project excludes the reference entirely as making it PrivateAssets (not in package) and ExcludeAssets=runtime (no possibility of using runtime).
* Fix STJ audit warning in installer tests
---------
Co-authored-by: Jeremy Koritzinsky <jkoritzinsky@gmail.com>
* Remove unused reference assembly projects from Bcl folders
Contributes to https://github.com/dotnet/runtime/issues/58163
- Remove unused reference assembly projects and move the
forwards.cs files into the src folder.
- Don't rely on IsPartialFacadeAssembly switch anymore
which makes it possible to use the compiler generated xml
file and removes the dependency on the reference source project.
- Enable package baseline validation for Microsoft.Bcl.Numerics
This improves restore and build perf in total as well as per leaf
project on the CLI and inside VS.
* Update project references
- Update projects that now need to reference the src project as
the ref project got deleted.
- Remove target that validates that ref projects only reference ref
project. That target doesn't make sense anymore with our direction
towards removing reference assembly projects.
* Update dependencies from https://github.com/dotnet/runtime build 20240129.2
Microsoft.DotNet.ILCompiler , Microsoft.NET.Sdk.IL , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.ILAsm , runtime.native.System.IO.Ports , System.Text.Json
From Version 9.0.0-alpha.1.24072.1 -> To Version 9.0.0-preview.2.24079.2
* Update dependencies from https://github.com/dotnet/sdk build 20240128.5
Microsoft.DotNet.ApiCompat.Task
From Version 9.0.100-alpha.1.24072.3 -> To Version 9.0.100-preview.2.24078.5
* Update dependencies from https://github.com/dotnet/icu build 20240129.1
Microsoft.NETCore.Runtime.ICU.Transport
From Version 9.0.0-preview.2.24072.3 -> To Version 9.0.0-preview.2.24079.1
* Update dependencies from https://github.com/dotnet/xharness build 20240130.1
Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit
From Version 9.0.0-prerelease.24077.1 -> To Version 9.0.0-prerelease.24080.1
* Update dependencies from https://github.com/dotnet/runtime-assets build 20240130.1
Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData
From Version 9.0.0-beta.24072.1 -> To Version 9.0.0-beta.24080.1
* Update dependencies from https://github.com/dotnet/hotreload-utils build 20240129.1
Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
From Version 9.0.0-alpha.0.24072.1 -> To Version 9.0.0-alpha.0.24079.1
* Update dependencies from https://github.com/dotnet/cecil build 20240129.1
Microsoft.DotNet.Cecil
From Version 0.11.4-alpha.24065.1 -> To Version 0.11.4-alpha.24079.1
* Update dependencies from https://github.com/dotnet/icu build 20240129.1
Microsoft.NETCore.Runtime.ICU.Transport
From Version 9.0.0-preview.2.24072.3 -> To Version 9.0.0-preview.2.24079.1
* Update dependencies from https://github.com/dotnet/xharness build 20240130.1
Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit
From Version 9.0.0-prerelease.24077.1 -> To Version 9.0.0-prerelease.24080.1
* Update dependencies from https://github.com/dotnet/runtime-assets build 20240130.1
Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData
From Version 9.0.0-beta.24072.1 -> To Version 9.0.0-beta.24080.1
* Update dependencies from https://github.com/dotnet/hotreload-utils build 20240129.1
Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
From Version 9.0.0-alpha.0.24072.1 -> To Version 9.0.0-alpha.0.24079.1
* Update dependencies from https://github.com/dotnet/cecil build 20240130.1
Microsoft.DotNet.Cecil
From Version 0.11.4-alpha.24065.1 -> To Version 0.11.4-alpha.24080.1
* Update dependencies from https://github.com/dotnet/icu build 20240129.1
Microsoft.NETCore.Runtime.ICU.Transport
From Version 9.0.0-preview.2.24072.3 -> To Version 9.0.0-preview.2.24079.1
* Update dependencies from https://github.com/dotnet/xharness build 20240130.1
Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit
From Version 9.0.0-prerelease.24077.1 -> To Version 9.0.0-prerelease.24080.1
* Update dependencies from https://github.com/dotnet/runtime-assets build 20240130.1
Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData
From Version 9.0.0-beta.24072.1 -> To Version 9.0.0-beta.24080.1
* Update dependencies from https://github.com/dotnet/hotreload-utils build 20240129.1
Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
From Version 9.0.0-alpha.0.24072.1 -> To Version 9.0.0-alpha.0.24079.1
* Update dependencies from https://github.com/dotnet/cecil build 20240130.1
Microsoft.DotNet.Cecil
From Version 0.11.4-alpha.24065.1 -> To Version 0.11.4-alpha.24080.1
* Update dependencies from https://github.com/dotnet/icu build 20240129.1
Microsoft.NETCore.Runtime.ICU.Transport
From Version 9.0.0-preview.2.24072.3 -> To Version 9.0.0-preview.2.24079.1
* Update dependencies from https://github.com/dotnet/xharness build 20240130.1
Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit
From Version 9.0.0-prerelease.24077.1 -> To Version 9.0.0-prerelease.24080.1
* Update dependencies from https://github.com/dotnet/runtime-assets build 20240130.1
Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData
From Version 9.0.0-beta.24072.1 -> To Version 9.0.0-beta.24080.1
* Update dependencies from https://github.com/dotnet/hotreload-utils build 20240129.1
Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
From Version 9.0.0-alpha.0.24072.1 -> To Version 9.0.0-alpha.0.24079.1
* Update dependencies from https://github.com/dotnet/cecil build 20240202.1
Microsoft.DotNet.Cecil
From Version 0.11.4-alpha.24065.1 -> To Version 0.11.4-alpha.24102.1
* Update dependencies from https://github.com/dotnet/icu build 20240129.1
Microsoft.NETCore.Runtime.ICU.Transport
From Version 9.0.0-preview.2.24072.3 -> To Version 9.0.0-preview.2.24079.1
* Update dependencies from https://github.com/dotnet/xharness build 20240130.1
Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit
From Version 9.0.0-prerelease.24077.1 -> To Version 9.0.0-prerelease.24080.1
* Update dependencies from https://github.com/dotnet/runtime-assets build 20240130.1
Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData
From Version 9.0.0-beta.24072.1 -> To Version 9.0.0-beta.24080.1
* Update dependencies from https://github.com/dotnet/hotreload-utils build 20240129.1
Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
From Version 9.0.0-alpha.0.24072.1 -> To Version 9.0.0-alpha.0.24079.1
* Update dependencies from https://github.com/dotnet/icu build 20240129.1
Microsoft.NETCore.Runtime.ICU.Transport
From Version 9.0.0-preview.2.24072.3 -> To Version 9.0.0-preview.2.24079.1
* Update dependencies from https://github.com/dotnet/runtime-assets build 20240130.1
Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData
From Version 9.0.0-beta.24072.1 -> To Version 9.0.0-beta.24080.1
* Update dependencies from https://github.com/dotnet/xharness build 20240130.1
Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit
From Version 9.0.0-prerelease.24077.1 -> To Version 9.0.0-prerelease.24080.1
* Update dependencies from https://github.com/dotnet/hotreload-utils build 20240129.1
Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
From Version 9.0.0-alpha.0.24072.1 -> To Version 9.0.0-alpha.0.24079.1
* Update dependencies from https://github.com/dotnet/icu build 20240129.1
Microsoft.NETCore.Runtime.ICU.Transport
From Version 9.0.0-preview.2.24072.3 -> To Version 9.0.0-preview.2.24079.1
* Update dependencies from https://github.com/dotnet/runtime-assets build 20240130.1
Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData
From Version 9.0.0-beta.24072.1 -> To Version 9.0.0-beta.24080.1
* Update dependencies from https://github.com/dotnet/xharness build 20240205.1
Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit
From Version 9.0.0-prerelease.24077.1 -> To Version 9.0.0-prerelease.24105.1
* Update dependencies from https://github.com/dotnet/hotreload-utils build 20240129.1
Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
From Version 9.0.0-alpha.0.24072.1 -> To Version 9.0.0-alpha.0.24079.1
* Update dependencies from https://github.com/dotnet/runtime build 20240205.1
Microsoft.DotNet.ILCompiler , Microsoft.NET.Sdk.IL , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.ILAsm , runtime.native.System.IO.Ports , System.Text.Json
From Version 9.0.0-alpha.1.24072.1 -> To Version 9.0.0-preview.2.24105.1
* Update dependencies from https://github.com/dotnet/icu build 20240205.1
Microsoft.NETCore.Runtime.ICU.Transport
From Version 9.0.0-preview.2.24072.3 -> To Version 9.0.0-preview.2.24105.1
* Update dependencies from https://github.com/dotnet/xharness build 20240206.1
Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit
From Version 9.0.0-prerelease.24077.1 -> To Version 9.0.0-prerelease.24106.1
* Update dependencies from https://github.com/dotnet/runtime-assets build 20240205.1
Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData
From Version 9.0.0-beta.24072.1 -> To Version 9.0.0-beta.24105.1
* Update dependencies from https://github.com/dotnet/hotreload-utils build 20240205.1
Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
From Version 9.0.0-alpha.0.24072.1 -> To Version 9.0.0-alpha.0.24105.1
* Fix flowing in verbosity arg from xharness
* Fix
* Update dependencies from https://github.com/dotnet/icu build 20240205.1
Microsoft.NETCore.Runtime.ICU.Transport
From Version 9.0.0-preview.2.24072.3 -> To Version 9.0.0-preview.2.24105.1
* Update dependencies from https://github.com/dotnet/xharness build 20240206.1
Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit
From Version 9.0.0-prerelease.24077.1 -> To Version 9.0.0-prerelease.24106.1
* Update dependencies from https://github.com/dotnet/runtime-assets build 20240205.1
Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData
From Version 9.0.0-beta.24072.1 -> To Version 9.0.0-beta.24105.1
* Update dependencies from https://github.com/dotnet/icu build 20240205.1
Microsoft.NETCore.Runtime.ICU.Transport
From Version 9.0.0-preview.2.24072.3 -> To Version 9.0.0-preview.2.24105.1
* Update dependencies from https://github.com/dotnet/runtime-assets build 20240205.1
Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData
From Version 9.0.0-beta.24072.1 -> To Version 9.0.0-beta.24105.1
* Update dependencies from https://github.com/dotnet/xharness build 20240206.1
Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit
From Version 9.0.0-prerelease.24077.1 -> To Version 9.0.0-prerelease.24106.1
* Update dependencies from https://github.com/dotnet/hotreload-utils build 20240205.1
Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
From Version 9.0.0-alpha.0.24072.1 -> To Version 9.0.0-alpha.0.24105.1
* Update dependencies from https://github.com/dotnet/cecil build 20240205.1
Microsoft.SourceBuild.Intermediate.cecil , Microsoft.DotNet.Cecil
From Version 0.11.4-alpha.24065.1 -> To Version 0.11.4-alpha.24105.1
* Fix WBT that count arguments
* Fix WBT that count arguments (2)
* Fix quotes
* Fix arguments for nodejs
* Update dependencies from https://github.com/dotnet/icu build 20240205.1
Microsoft.NETCore.Runtime.ICU.Transport
From Version 9.0.0-preview.2.24072.3 -> To Version 9.0.0-preview.2.24105.1
* Update dependencies from https://github.com/dotnet/xharness build 20240206.1
Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit
From Version 9.0.0-prerelease.24077.1 -> To Version 9.0.0-prerelease.24106.1
* Update dependencies from https://github.com/dotnet/runtime-assets build 20240208.2
Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData
From Version 9.0.0-beta.24072.1 -> To Version 9.0.0-beta.24108.2
* Update dependencies from https://github.com/dotnet/hotreload-utils build 20240205.1
Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
From Version 9.0.0-alpha.0.24072.1 -> To Version 9.0.0-alpha.0.24105.1
* Update dependencies from https://github.com/dotnet/cecil build 20240205.1
Microsoft.SourceBuild.Intermediate.cecil , Microsoft.DotNet.Cecil
From Version 0.11.4-alpha.24065.1 -> To Version 0.11.4-alpha.24105.1
* Update dependencies from https://github.com/dotnet/icu build 20240205.1
Microsoft.NETCore.Runtime.ICU.Transport
From Version 9.0.0-preview.2.24072.3 -> To Version 9.0.0-preview.2.24105.1
* Update dependencies from https://github.com/dotnet/xharness build 20240206.1
Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit
From Version 9.0.0-prerelease.24077.1 -> To Version 9.0.0-prerelease.24106.1
* Update dependencies from https://github.com/dotnet/runtime-assets build 20240208.2
Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData
From Version 9.0.0-beta.24072.1 -> To Version 9.0.0-beta.24108.2
* Update dependencies from https://github.com/dotnet/hotreload-utils build 20240205.1
Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
From Version 9.0.0-alpha.0.24072.1 -> To Version 9.0.0-alpha.0.24105.1
* Update dependencies from https://github.com/dotnet/cecil build 20240205.1
Microsoft.SourceBuild.Intermediate.cecil , Microsoft.DotNet.Cecil
From Version 0.11.4-alpha.24065.1 -> To Version 0.11.4-alpha.24105.1
* Update dependencies from https://github.com/dotnet/icu build 20240205.1
Microsoft.NETCore.Runtime.ICU.Transport
From Version 9.0.0-preview.2.24072.3 -> To Version 9.0.0-preview.2.24105.1
* Update dependencies from https://github.com/dotnet/runtime-assets build 20240208.2
Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData
From Version 9.0.0-beta.24072.1 -> To Version 9.0.0-beta.24108.2
* Update dependencies from https://github.com/dotnet/xharness build 20240206.1
Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit
From Version 9.0.0-prerelease.24077.1 -> To Version 9.0.0-prerelease.24106.1
* Update dependencies from https://github.com/dotnet/hotreload-utils build 20240205.1
Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
From Version 9.0.0-alpha.0.24072.1 -> To Version 9.0.0-alpha.0.24105.1
* Update dependencies from https://github.com/dotnet/cecil build 20240205.1
Microsoft.SourceBuild.Intermediate.cecil , Microsoft.DotNet.Cecil
From Version 0.11.4-alpha.24065.1 -> To Version 0.11.4-alpha.24105.1
* Update Version.Details.xml
* Update dependencies from https://github.com/dotnet/icu build 20240205.1
Microsoft.NETCore.Runtime.ICU.Transport
From Version 9.0.0-preview.2.24072.3 -> To Version 9.0.0-preview.2.24105.1
* Update dependencies from https://github.com/dotnet/runtime build 20240211.9
Microsoft.DotNet.ILCompiler , Microsoft.NET.Sdk.IL , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.ILAsm , runtime.native.System.IO.Ports , System.Reflection.Metadata , System.Reflection.MetadataLoadContext , System.Text.Json , Microsoft.SourceBuild.Intermediate.runtime.linux-x64
From Version 9.0.0-alpha.1.24072.1 -> To Version 9.0.0-preview.2.24111.9
* Update dependencies from https://github.com/dotnet/xharness build 20240212.1
Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit
From Version 9.0.0-prerelease.24077.1 -> To Version 9.0.0-prerelease.24112.1
* Update dependencies from https://github.com/dotnet/runtime-assets build 20240208.2
Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData
From Version 9.0.0-beta.24072.1 -> To Version 9.0.0-beta.24108.2
* Update dependencies from https://github.com/dotnet/hotreload-utils build 20240205.1
Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
From Version 9.0.0-alpha.0.24072.1 -> To Version 9.0.0-alpha.0.24105.1
* Update dependencies from https://github.com/dotnet/cecil build 20240205.1
Microsoft.SourceBuild.Intermediate.cecil , Microsoft.DotNet.Cecil
From Version 0.11.4-alpha.24065.1 -> To Version 0.11.4-alpha.24105.1
* Update dependencies from https://github.com/dotnet/sdk build 20240212.1
Microsoft.SourceBuild.Intermediate.sdk , Microsoft.DotNet.ApiCompat.Task
From Version 9.0.100-alpha.1.24072.3 -> To Version 9.0.100-preview.2.24112.1
* Fix System.Reflection.MetadataLoadContext dependency
* PR feedback
* Fix csproj
* Add back System.Reflection.MetadataLoadContext and override it for source build
* Fix WasmAppBuilder and add comment to Versions.props
* Add todo
* Fix Versions.props
* Add ApiCompatUseRoslynToolsetPackagePath
* Set SystemReflectionMetadataLoadContextToolsetVersion in Directory.Build.targets
---------
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
Co-authored-by: Marek Fišera <mara@neptuo.com>
Co-authored-by: Larry Ewing <lewing@microsoft.com>
In https://github.com/dotnet/runtime/pull/75597, for source-build we replace all the RIDs with only the `PackageRID` in the `KnownFrameworkReference` for `NetCurrent` when we should have only added an additional RID.
This was causing issues in crossbuilds of vertical builds. The crossgen and ilc projects that run within the build require a runtime for the build machine's RID, but it wasn't found in `KnownFrameworkReference` and the build failed during restore.
Part of reenabling Crossgen and ILC in arm64 crossbuild verticals https://github.com/dotnet/source-build/issues/3698
* Move portable RID graph into runtime and clean-up
1. Move portable RID graph into runtime
2. Allow updates to both the non-portable and portable RID graphs under
source build.
3. Clean-up project and remove hacks
* Update README and delete test
* Fix RID graph update when the key already exists
* Update src/libraries/Microsoft.NETCore.Platforms/readme.md
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
* Update src/libraries/Microsoft.NETCore.Platforms/readme.md
Co-authored-by: Andy Gocke <angocke@microsoft.com>
---------
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
Co-authored-by: Andy Gocke <angocke@microsoft.com>
* Bump main version to 9.0-alpha1
* Try bumping SdkBandVersion
* Bump the emscripten transport package
* Fix typo
* Update TFM to net9.0, minimum to net8.0, use RC1 nightly for SDK to avoid regressions in .NET 8.0 targets and clean up .NET 8->.NET 9 API compat baselining.
* Add compat suppressions for removed EOL TFM assets that will not be in the 9.0 variants of the packages.
* PR feedback
* Fix ILLink errors in the build.
* Update Versions.props
* PR feedback
* Don't use non-portable rids in src/tests infra
* Fix restore for Microsoft.NETCore.App.Runtime-based sfxprojs
* Fix libs build and expand where we set RunAnalyzers
* PR feedback
* Try fixing the package testing.
* Fix remaining restore issues.
* Patch preserialized resources to account for the major version bump (convert Version=8.0.0.0 to Version=9.0.0.0)
* Remove explicit hard-coding of net6.0 package testing
* Convert more references to net8.0 to net9.0
* Revert TFM changes
* Add workaround for RequiresPreviewFeatures and regenerate SLE compat suppressions.
* [wasm] Unpin sdk version, and change channel to 9.0 for WBT
* Revert "[wasm] Unpin sdk version, and change channel to 9.0 for WBT"
This reverts commit be2c615226a6b3a53bfab056c1b7cb7c150d2f48.
* Patch preserialized resources to account for the major version bump (convert Version=8.0.0.0 to Version=9.0.0.0)
* Suppress EventLog package validation failures to get allconfigurations passing.
* Fix queue count in rate limiters (#90810)
* Adding PACKAGE.md to System.Runtime.Caching package (#90701)
* Adding PACKAGE.md to System.Runtime.Caching package
* add Remarks
* move PACKAGE.md to src folder
* update per PR feedback
* add important block
* [wasm] Unpin sdk version, and change channel to 9.0 for WBT
* workloads-testing.targets: Ignore standard error/warning formats
Prompted by the following getting caught as a warning, and converted to
an error:
```
EXEC : error : dotnet-install: Failed to check the disk space. Installation will continue, but it may fail if you do not have [D:\a\_work\1\s\src\mono\wasm\Wasm.Build.Tests\Wasm.Build.Tests.csproj]
enough disk space.
dotnet-install: Extracting the archive.
```
* Force AssemblyVersion
* Revert changes.
* Remove the SLE suppressions again.
* Fix 9.0->8.0 replace
* Revert "Fix queue count in rate limiters (#90810)"
This reverts commit 1b9e4e3c7e.
* Fix formatting
* Update Version.Details.xml for xlifftasks to try to fix prebuilt error.
---------
Co-authored-by: Larry Ewing <lewing@microsoft.com>
Co-authored-by: Jeremy Koritzinsky <jekoritz@microsoft.com>
Co-authored-by: Ankit Jain <radical@gmail.com>
Co-authored-by: Brennan <brecon@microsoft.com>
Co-authored-by: Hong Li <hongli@microsoft.com>
* Use analyzers from targeting pack for NetCoreAppCurrent
Fixes that analyzer failures didn't show-up in #74897
Add analyzers to the frameworklist that OOB projects in src/libraries
use, and only auto ProjectReference the analyzers in generators.targets
when not using the analyzers from the targeting pack.
Also move the generator projects related code into a separate file.
Continuation of https://github.com/dotnet/runtime/pull/75093
* Fix project build
* Add missing reference to Regex tests
* Add missing generators for netfx build
* Fix paht in test project
* Fix typo
* Disable runtime marshalling for SharedTypes.csproj
* Disable runtime marshalling for NativeExports.csproj
* Don't enable ILLink analyzers for unsupported TFMs
This adds a condition to EnableSingleFileAnalyzer to prevent it from requiring
the ILLink pack that is only supported on netcoreapp3.0 and above.
Adding a condition on the TFM requires moving the setting into a targets file.
Also consolidates more of the analyzer logic into this file.
---------
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
Follow-up on #32451
Follow-up on #80074
In #43651, the "Windows" OS name was lowercased to achieve target frameworks with RIDs in them. At that time, the original plan was to lowercase all TargetOS values but that had to be cut because of resources. This PR finishes that and updates build systems, YML, markdowns and managed components.
To not break existing developer workflows, the passed-in -os value is automatically lower-cased in the script entry points and validated in the msbuild entry point.
* Move reference assembly logic into root msbuild files
That allows other components like the linker that don't reside under src/libraries to build reference assemblies without duplicating the infrastructure.
* source-build: support building runtime using non-portable runtime packages.
Currently source-build performs a 'runtime-portable' build that produces
'linux-{arch}' packages that are used when building target runtime (non-portable).
With this change, we can use the non-portable packages that are produced by
a previous (non-portable) 'runtime' build. This helps eliminate the
'runtime-portable' build.
* Avoid references to Microsoft.AspNetCore.App.<rid>.
* crossgen2: set RuntimeIdentifier explicitly.
* PR feedback
* Revert "crossgen2: set RuntimeIdentifier explicitly."
This reverts commit 10be2744e624b833c43eecbf3f6f6896d415b7d7.
* PR feedback.
* Revert changes to ILCompiler.csproj.
* Update Directory.Build.targets
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
* Make sure rid specific libs projs get packaged
RID specific runtime.*.runtime.native.System.IO.Ports projects weren't
packaged because the GeneratePackageOnBuild property wasn't set to true
for them. The property was only true during an allconfigurations build.
As these projects are only built outside of an allconfigurations build,
the GeneratePackageOnBuild property needs to account for such as well.
Also updating the NoTargets Sdk to clean the rid specific package up.
Moving the GeneratePackageOnBuild logic into a props file and set it to
false during servicing (or runtimelab) so that devs can set the property
during servicing directly in the project file if a project should be
packaged.
* Remove the GeneratePackage property
That property was intended to enabled incremental servicing but with
now using the NuGet Pack task we can just make use of the publicl
available GeneratePackageOnBuild property.
* Fix IsPackable setting
* Automatically generate .NETStandard compat errors
Before this change, a project had to explicitly add a
NETStandardCompatError item to declare that a given tfm range
shouldn't be supported when packaging.
Automate this logic so that projects don't need to specify the item
themselves anymore. Instead condition the NETStandardCompatError target
calcuation logic on the existence of both a .NETStandard and a
.NETCoreApp tfm.
* Update Directory.Build.targets
* Update packaging.targets
* Update eng/packaging.targets
Co-authored-by: Santiago Fernandez Madero <safern@microsoft.com>
Co-authored-by: Santiago Fernandez Madero <safern@microsoft.com>
It appears when we added the workloads subset, the msi projects
contained a step to add a License.txt file to the packages it creates.
This resulted in a conflict as runtime will also add one.
To fix, we'll skip adding the extra License.txt file when the project is
'msi.csproj'.
Fixes https://github.com/dotnet/runtime/issues/56516
* Clean-up pkgproj leftovers in libs and apply fixes
Remove any pkgproj infrastructure that was only used by src/libraries
(which is the majority). Delete the packageindex *YAY*.
Update the documentation that covered the packageindex and the pkgprojs.
Avoid any incremental builds during packaging by removing
libraries-packages.proj and use src.proj for packaging instead. Make use
of the `GeneratePackageOnBuild` property to build package during the
allconfigurations without requiring a different entry target.
Fix the addition of the DocumentationFile during packaging when
`GeneratePackageOnBuid` is used by hooking onto the
`DocumentationProjectOutputGroup` that NuGet uses and replacing the
generated documentation file with the one that comes via the
intellisense package.
Also introduce a property to choose the generated documentation file
over the one from the intellisense package:
<UseIntellisenseDocumentationFile>false</UseIntellisenseDocumentationFile>
Removing a few leftover PackageDescription properties from the projects'
Directory.Build.props file.
Cleaning up properties in Directory.Build.props & Directory.Build.targets
files.
* Actually run packaging during the allconfigurations build
* Update docs
* make runtime specific pkgs non packable
* io.ports native pkg fixes
* Generate targets files that throw for unsupported NS tfm
For S.D.Common, S.Speech and S.Sec.Crypto.Pkcs we manually added a
targets file to mark the .NETStandard asset as not applicable.
This was done to allow defining a minimum supported .NETCoreApp
version, even though a compatible .NETStandard asset is available.
This commit automatically generates that targets file based on
items.
* General cleanup and mono import Arcade in root
* More cleanup and coreclr import Arcade root
* Import Arcade root from libraries
* Set informationversion for corelib
* BuildArchitecture cleanup
* Fix property name
* Fix default target invocation of runtime.proj
* specify tfm correctly
* Remove unnecessary TestStrongNameKeyId
* Revert TestStrongNameKeyId removal
* Fix entrypoint target by using M.B.NoTargets
* Fix reference assembly paths
* PR feedback
* Set Platform correctly
* PR feedback and more cleanup
* Move BaselineMicrosoftNetCoreAppPackageVersion
* Fix reference to CoreLib
* Fix OS calculation
* Fix targets importing
* Remove *TargetOS
* Add RuntimeConfiguration doc
* Change conditions in root msbuild files
* installer test fixes
* Cleanup
* More cleanup because of well defined entrypoint
* Don't import D.B.* from installer tests at all
* Rename fix
* Include explicit reference to mscorlib in ilproj
* Update eng/restore/docs.targets
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
* Revert some installer test changes
* Installer test fix again
* Disable EOL tfm check for installer tests
* Set platform later for installer
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
* Consolidate packaging properties
* Remove versions.txt file from packages
The versions.txt file was added to packages to know which SHA a package
was built against. As the nuspec now contains the SHA, the versions file
isn't necessary anymore.
AOT can now be triggered through the libraries tests as well as the wasm samples.
Passing /p:RunAOTCompilation=true is all that is needed for the libraries test run. The property will be false (for now) by default.
* automatic version updates
* coreclr projects retargets to net5.0
* Removing manual addition of knownFrameworkReference
* disavling implicit references for sfx projects
* mono changes
* enable package testing
* installer changes
* installer tests ref pack changes
* remove the known framework reference for unit tests
Co-authored-by: Jeremy Koritzinsky <jkoritzinsky@gmail.com>
* TestInfraTargetFramework -> to net5.0
* set netcoremaxversion property for test utils
* retargeting mono sample apps to net5.0
Co-authored-by: Jeremy Koritzinsky <jkoritzinsky@gmail.com>
Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
Setting LangVersion in a .targets file makes it hard to override LangVersion in individual projects. Instead, move the default project setting back to the .props file and condition VB based on $(MSBuildProjectExtension), which is available in the .props file.
ILCompiler.Reflection.ReadyToRun needs to set LangVersion to 7.3 so it doesn't break ILSpy.
Fix#37498
* Enable dotnet test
* Update docs
* Use vstest in F5 scenarios
* Make dotnet test without framework switch work
* Code cleanup
* Only run code coverage conditionally
* Fix F5 condition for netcoreapp
* Downgrade sdk to check for helix submission failures
* Fix wrong conditions
* Add blame data collector
* fixing sourcelink
* enable sourcelink on official build
* addressing feedback
* removing extra space
* reverting eng common change
* adding comment
* moving comment to correct place
* not embedding files for test assemblies
* Move coreclr managed tools that don't need to be published and System.Private.CoreLib into their own subsets in Subsets.props and drive their builds via Arcade instead of the coreclr scripts.
* Remove building System.Private.CoreLib from build scripts. Eventing sources TBD.
* Build packages via an Arcade subset instead of within build.cmd/build.sh
* Remove packages and test build from build.cmd. Clean up options on build.cmd and build.sh
* Generate eventing sources for System.Private.CoreLib within MSBuild instead of in the build.cmd/sh scripts. Clean up the build.sh usage documentation (lots of copy-paste errors).
* Remove check-definitions.py script and supporting goo.
* Fix eventing generation.
* Wire up TargetArchitecture and OSGroup to coreclr's BuildArch and BuildOS to enable building System.Private.CoreLib for the correct output given the script parameters.
* Stop passing down now non-existent skiptests parameter.
* Fix coreclr .nuget rid parsing to account for linux-musl correctly.
* Update build scripts to use Arcade to build packages.
* Convert from Properties to AdditionalProperties.
* Build crossgen as part of Arcade (self-contained publish TBD).
* Pull down .NET runtime CLI for helix runs with crossgen2.
* Output crossgen2 to the BinDir/crossgen when built from the project file. Enable the test shell scripts to either resolve the dotnet CLI from the path or from relative to Core_Root if the __DotNet variable is undefined.
* Generate distro rid during windows build.
* Various fixes to get files binplaced correctly and builds to work on Linux.
* Fix search for dotnet in repo on bash.
* Remove __BuildTest variable and fix up the script.
* Fix steps in build-job to build S.P.CL before the runtime and build managed tools after the runtime.
* Fix casing typo.
* Refactor detecting system OS and Architecture.
* Fix wasm rid calculation.
* Run crossgen2 on corerun so we run it on the runtime we're going to ship it with.
* Assemble a live self-contained publish in the crossgen2 package.
* Fix init-os-and-arch resolution.
* Ensure that the runtime files we package in crossgen2 are the crossgened ones.
* Remove extraneous /bl
* Build R2RDump to a subfolder instead of the product dir.
* Seperate out the crosssgening corelib step into a separate script.
* Fix permissions on crossgen-corelib.sh
* Rename build.cmd/sh to build-runtime.cmd/sh
* Fix parameters in crossgen2determinism test.
* Run crossgen on System.Private.CoreLib in CI.
* Restore original build.cmd/sh scripts with a deprecation warning and update instructions.
* Initialize developer prompt in crossgen-corelib.cmd script so we can find DIA on CI machines.
* Make sure vs tools are enabled so we can resolve DiaSymReader.
* Call build-native instead of build.
* Fix build-native -> build-runtime.
* Fix permissions.
* Remove dead MSBuild code.
* Factor out python locating targets to make them available to the whole repo.
* PR Feedback/simplification.
* Create a self-contained deps.json for crossgen2 and add it to the package.
* Pass runtimeconfiguration as configuration for crossgen2 deps file generation.
* Try specifying rids directly in crossgen2 project to get the restore correct for the live-build pipeline.
* Run crossgen2 via corerun in R2R.SuperILC.
* Add binlogs to build-runtime.cmd
* Combine non build-runtime steps into a single step so we get one binlog that doesn't get overwritten.
* Add reference to issue describing new workflow.
* Quote python path
* Set arch default.
* PR Feedback and clean up crossgen-corelib's argument list.
* Fix subset name matching to work when one subset name is a substring of another.
* Pass the official build id as an msbuild arg at all times.
Additional cleanup for crossgen-corelib step.
* PR Feedback.
* Fix default subset list construction.
* Add deprecation warnings at beginning and end of build.cmd and build.sh.
* Setup dirs in crossgen-corelib.sh
* Move enforcepgo argument to before the official build arg so that it gets consumed correctly.
* Add cross-os DAC builds as subsets.
Clean up build-runtime parameters and passing the official build ID from runtime.proj.
* Update script usage docs.
* Skip the cross-os dac on x86.
* Build windows->linux cross dac on PR and CI.
* Don't build the cross-OS linux dac on Windows x86.
* Convert libraries and installer to use a live CoreCLR.
* Installer uses a live libraries build for DLLs.
* Remove newline in path.
* Enable live-live builds to build required live dependencies when the dependencies are in the building subset/subset category.
* Update path to coreclr output.
* Fix typo in coreclr.proj.
* Remove last usage of CoreCLRPDBOverridePath.
* Update path of binplaced runtime to include OS and Arch.
* Fix typo in coreclr/tests/src/Common/Directory.Build.targets.
* Restore CoreFX shared framework from live build for CoreCLR test dependencies.
* Remove dependency on Microsoft.NETCore.CoreCLR.TestDependencies package.
* Enable referencing live builds of the OOB libraries by temporarily adding a new BinplaceConfiguration. Update test_dependencies in the CoreCLR tree to use that to restore OOB libraries.
* Remove reference to System.Drawing.Common from NETClientPrimitives (the reference is only needed at runtime and Core_Root already has System.Drawing.Common).
* Remove package-based checked CoreCLR + CoreFX test runs. In the live-live world, we'll run this test configuration by pointing the CoreFX test host build step at the artifacts from a checked CoreCLR build (possible in both local and CI builds).
* Only copy the UCRT on Windows.
* CoreCLR test build now builds against a live libraries sfx+oob ref assembly set.
* Override GetCorePackagePaths target to not reference unused packages (breaks the live-live build on a clean system).
* Remove live references to Microsoft.NETCore.Platforms now that it seems to be unneeded since the SDK now packages a RID graph. Use the live RID graph in test_runtime.csproj where we may actually be looking for the live RID graph.
* Fix coreclr build arg generation bug that was causing build failures.
* Remove references to Microsoft.NETCore.Platforms outside of package references from the installers.
* Fix problems in installer build in live-live that were found from a clean build.
* Remove unused dependency on Microsoft.NETCore.Targets.
* Fix Microsoft.NETCore.App -> Microsoft.NETCore.Platforms dependency.
* Remove Microsoft.NETCore.Targets version from Versions.props.
* Remove unused deps.csproj file that was the last dependency on the packaged Microsoft.NETCore.Platforms package.
* Fix OSGroup calculation for dependent projects off-Windows.
* Fix construction of Microsoft.NETCore.App.Internal package.
* Remove unneeded CoreRun copying.
* Serialize subsets that have dependencies across subset groups. Don't use `<MSBuild />` tasks to rebuild subsets since we don't want to rebuild projects multiple times (coreclr was being built multiple times).
* Cleanup from PR feedback.
* Only copy libraries outputs to artifacts/bin/runtime.
* Use the netcoreapp output directories for OOB-included references to libraries outputs.
* Remove references to deleted old corefx override setup.
* First pass to get new runtime pipeline using the local live-live infra (coreclr+libraries only for now).
* Don't generate layout during test native build.
* Fix ref assembly default binplacing for netcoreapp.
* Remove msbuild goo around importing Subsets.props and Directory.Build.props only once each. This goo isn't needed anymore.
* Fix disabling of binplacing for the target vertical to exclude only runtime.depproj and not exclude winrt.depproj.
* Fix libraries test build.
* Copy all paths used by the "ResolveLibrariesFromLocalBuild" target to publish from libraries build.
* For shims, reference the System.Private.CoreLib directly from CoreCLR outputs instead of through runtime.depproj.
* Hard-code the libraries configuration to release in coreclr test builds.
* Resolve ReferenceFromRuntime items directly from the CoreCLR output instead of via the runtime.depproj project.
* Fix test host generation. Fix running the XML Serialization generator as part of libraries test build.
* Fix XmlSerializer.Generator.Tests again.
* Don't look for CoreCLR files when using ReferenceFromRuntime and not using netcoreapp.
* Crossgen-comparison should depend on a libraries build so we can populate Core_Root.
* Add job dependency on libraries build from run-test-job to ensure we wait correctly. Otherwise we might have a race since the managed test build might depend on one libraries build while the test run depends on another.
* Only resolve coreclr files from local build when targetting netcoreapp.
* Add steps to download libraries build for crossgen-comparison.
* Revive old method of resolving references to the runtime for building against old netcoreapp (ie netcoreapp 3.0). Fix correctly passing along aliases info.
* Fix failing AllConfigurations leg that was due to the netcoreapp runtime.depproj getting binplaced in the runtime output folder.
* Update eng/liveBuilds.targets
Co-Authored-By: Davis Goodin <dagood@users.noreply.github.com>
* HostArch->BuildArchitecture and share with installer.
* Fix format nits.
* Update YAML variable name.
* Remove setting property to import liveBuilds.targets.
* Upload docs and packages folders from libraries build
* Inclue doc files in the Microsoft.NETCore.App.Internal package
* Try making the runtime-installer pipeline live-live using the build-coreclr-and-libraries-job template.
* Update artifacts download paths and msbuild properties for installer build.
* Mark cross-component files as native.
* Remove FrameworkPackageName to remove error about missing $(FrameworkPackageName).versions.txt file that other shared frameworks also don't generate.
* Restore GetFilesFromPackageResolve override.
* Don't clean the unpack folder for the libraries download. It wipes out the CoreCLR download.
* Make sure that we restore the WinRT targetting pack during the installer build.
* Add libraries package directory to RestoreSources for the case where the LibrariesConfiguration is different from the installer build configuration.
* Don't pass OfficialBuildId unless it is an official build. We want to be consistent with the libraries build so our package versions match.
* Give default value for OfficialBuildArg variable
* Ensure installer tests can see the libraries-generated packages. Fix typo in TargetPath for CoreCLR assets (runtime instead of runtimes).
Fix paths for CoreCLR cross-target files as well as crossgen to place them in the correct directories.
* Add back FrameworkPackageName to get the partial platform manifest to generate.