2652 Commits
Author SHA1 Message Date
Matt Mitchell ebfd73b5c8 Update from emsdk 6.0.0 rtm build (id 104049) 2021-08-25 11:40:44 -07:00
Anipik a64aef2e8a fix the versioning 2021-08-24 13:31:55 -07:00
dotnet-maestro[bot]anddotnet-maestro[bot] 4b2107f40d [release/6.0] Update dependencies from dotnet/emsdk dotnet/runtime-assets (#57925)
* Update dependencies from https://github.com/dotnet/emsdk build 20210823.1

Microsoft.NET.Workload.Emscripten.Manifest-6.0.100
 From Version 6.0.0-rc.1.21419.1 -> To Version 6.0.0-rc.2.21423.1

* Update dependencies from https://github.com/dotnet/runtime-assets build 20210823.1

Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Drawing.Common.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.Windows.Extensions.TestData
 From Version 6.0.0-beta.21416.1 -> To Version 6.0.0-beta.21423.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2021-08-24 08:34:39 +02:00
Anirudh Agnihotry 91406a13fb update to compaitibility package (#57783) 2021-08-20 19:34:59 -07:00
Drew Scoggins 1d6284a841 Move to 6.0 only for release runs (#57848) 2021-08-20 16:11:27 -07:00
github-actions[bot]andMatt Mitchell 9da6389bca Update toolset MicrosoftNETCoreApp version This package no longer exists. Replace with runtime package version and appropriate property. (#57829)
Co-authored-by: Matt Mitchell <[email protected]>
2021-08-20 15:15:21 -07:00
Viktor Hofer 4e6d981ec7 Merge branch 'release/6.0' into merge/release/6.0-rc1-to-release/6.0 2021-08-20 10:36:39 +02:00
dotnet-maestro[bot]anddotnet-maestro[bot] 1393ea8b00 Update dependencies from https://github.com/mono/linker build 20210819.1 (#57765)
Microsoft.NET.ILLink.Tasks
 From Version 6.0.100-preview.6.21418.3 -> To Version 6.0.100-preview.6.21419.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2021-08-20 10:29:28 +02:00
dotnet-maestro[bot]anddotnet-maestro[bot] aa219d8aa2 Update dependencies from https://github.com/dotnet/icu build 20210819.2 (#57764)
Microsoft.NETCore.Runtime.ICU.Transport
 From Version 6.0.0-rc.1.21416.1 -> To Version 6.0.0-rc.2.21419.2

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2021-08-20 10:23:11 +02:00
dotnet-maestro[bot]anddotnet-maestro[bot] 27d062a8f0 Update dependencies from https://github.com/dotnet/icu build 20210819.1 (#57763)
Microsoft.NETCore.Runtime.ICU.Transport
 From Version 6.0.0-rc.1.21416.1 -> To Version 6.0.0-rc.1.21419.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2021-08-20 10:21:26 +02:00
dotnet-maestro[bot]anddotnet-maestro[bot] 5840e15ff2 Update dependencies from https://github.com/mono/linker build 20210819.1 (#57777)
Microsoft.NET.ILLink.Tasks
 From Version 6.0.100-preview.6.21416.1 -> To Version 6.0.100-preview.6.21419.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2021-08-20 10:17:35 +02:00
dotnet-maestro[bot]anddotnet-maestro[bot] 8493829ce5 Update dependencies from https://github.com/dotnet/emsdk build 20210819.1 (#57759)
Microsoft.NET.Workload.Emscripten.Manifest-6.0.100
 From Version 6.0.0-rc.1.21416.1 -> To Version 6.0.0-rc.1.21419.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2021-08-20 00:52:04 +02:00
b24f1aa525 [release/6.0-rc1] Update dependencies from dotnet/arcade (#57628)
* Update dependencies from https://github.com/dotnet/arcade build 20210817.1

Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.GenFacades , Microsoft.DotNet.GenAPI , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.SharedFramework.Sdk
 From Version 6.0.0-beta.21413.4 -> To Version 6.0.0-beta.21417.1

* Unpin compiler version

* Update source-index-stage1.yml

* Update dependencies from https://github.com/dotnet/arcade build 20210818.12

Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.GenFacades , Microsoft.DotNet.GenAPI , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.SharedFramework.Sdk
 From Version 6.0.0-beta.21413.4 -> To Version 6.0.0-beta.21418.12

* Partial cherry pick from a169ca9da7

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Viktor Hofer <[email protected]>
2021-08-20 00:37:56 +02:00
dotnet-maestro[bot]anddotnet-maestro[bot] b614529f28 Update dependencies from https://github.com/mono/linker build 20210818.3 (#57700)
Microsoft.NET.ILLink.Tasks
 From Version 6.0.100-preview.6.21416.1 -> To Version 6.0.100-preview.6.21418.3

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2021-08-19 18:13:31 +02:00
github-actions[bot]andStephen Toub ba8967df36 [release/6.0-rc1] Update pinned compiler version (#57730)
* Update pinned compiler version

The version that flows in automatically appears to still be old.  We need to fix that, but in the meantime, we're a month out of date on the compiler.

* Suppress CS8969 warnings

* Change several dynamic tests to use typeof(object[])

Co-authored-by: Stephen Toub <[email protected]>
2021-08-19 18:06:29 +02:00
github-actions[bot]andAlexander Köplinger 3d39a3771b Bump timeout for workloads build job (#57721)
We're seeing it sometimes timing out on official builds.

Co-authored-by: Alexander Köplinger <[email protected]>
2021-08-19 16:13:11 +02:00
Anipik 5a5d7f0518 update branding to rc2 2021-08-17 14:33:53 -07:00
Larry Ewing 82f7144f79 [wasm] Enable tests blocked by IL2105 (#57457)
* Disable ReflectionCachesUpdateHandler_CachesCleared with aggressive trimming

* Enable more tests stopped by 2105

* Create tests.mobile.targets

Suppress IL2025

* Remove comment enabling trim warnings

* Mark more active issues
2021-08-17 16:28:09 -05:00
dotnet-maestro[bot]anddotnet-maestro[bot] 397b0fedd2 Update dependencies from https://github.com/dotnet/msquic build 20210817.1 (#57581)
System.Net.MsQuic.Transport
 From Version 6.0.0-preview.7.21416.1 -> To Version 6.0.0-preview.7.21417.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2021-08-17 12:37:43 -07:00
Alexander KöplingerandViktor Hofer f0ad279ea3 Fix source indexer failing official builds (#57336) (#57593)
Works around https://github.com/dotnet/arcade/issues/7747 to unblock official builds.
This change will revert itself with the next Arcade update.

Co-authored-by: Viktor Hofer <[email protected]>
2021-08-17 20:10:45 +02:00
Alexander Köplinger 7b8ea4edb2 Publish VS workloads assets in requested folder layout to BAR (#57559)
See discussion in https://github.com/dotnet/runtime/issues/57154
2021-08-17 20:08:38 +02:00
Ankit JainandLarry Ewing 3e3b00c53b [wasm] Add incremental build support (#57113)
* Update tasks to support incremental build

MonoAOTCompiler:
- Compiles assemblies to .bc files.
- Hashes for the .bc files are stored in a json cache file.
- And uses .depfile generated by mono-aot-cross, to figure out the
  if any of the dependencies have changed
- Writes out the actual .bc file only if the assembly, or it's
  dependencies changed

EmccCompile.cs: Support a `%(Dependencies)` metadata on the source
files, to compile the files only when needed.

* Update wasm targets

* don't pass unncessary args to RunTests

* Add tests for incremental builds

* Disable non-wasm builds, for testing

* Add miggins LogAsErrorException.cs

* Bump sdk for workload testing to 6.0.100-rc.1.21410.3

* fix build

* MonoAOTCompiler: use the full path to copy the final .bc file

* Make the method used with `MemberData`, static

otherwise xunit just shows a cryptic:
```
    Wasm.Build.Tests.RebuildTests.NoOpRebuild [STARTING]
    Wasm.Build.Tests.RebuildTests.NoOpRebuild [FAIL]
      System.NotSupportedException : Specified method is not supported.
```

* add back builds

* Split Wasm.Build.Tests into multiple helix jobs

* Revert "add back builds"

This reverts commit 1d031c04e13780ec73180ba6f06a37ee42c24203.

* Split up native rebuild tests

* remove non-test classes

* add back builds

This reverts commit b008130a7886c2e2b9f16c83641c1b8c936082f6.

* MonoAOTCompiler: make cache optional

* MonoAOTCompiler: handle the case where we have a cache entry, but the file on disk doesn't exist

* Fix aot compiler task output

* MonoAOTCompiler: Use hashes of .bc files instead of assemblies

`--depfile` isn't supported on aot config used by android, and fails
with:

```
* Assertion at /__w/1/s/src/mono/mono/mini/aot-compiler.c:14216, condition `acfg->aot_opts.llvm_only && acfg->aot_opts.asm_only && acfg->aot_opts.llvm_outfile' not met
```

Instead, use hashes of the .bc.tmp files generated, with the existing
.bc files.

* MonoAOTCompiler: Support more than one output file

The earlier implementation assumed that there would be only one output
file. But in some cases (eg. android), there are more than one, like
`.s`, `.dll-llvm.o`.

* -bump sdk for workload testing

* MonoAOTCompiler: don't use tmp files at all, when cache isn't being

.. used.

Co-authored-by: Larry Ewing <[email protected]>
2021-08-17 11:58:50 -05:00
dotnet-maestro[bot]anddotnet-maestro[bot] b838bca760 [main] Update dependencies from dnceng/internal/dotnet-optimization dotnet/arcade dotnet/icu dotnet/llvm-project dotnet/runtime-assets dotnet/msquic (#57563)
* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20210816.5

optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR
 From Version 1.0.0-prerelease.21411.3 -> To Version 1.0.0-prerelease.21416.5

* Update dependencies from https://github.com/dotnet/arcade build 20210813.4

Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.GenFacades , Microsoft.DotNet.GenAPI , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.SharedFramework.Sdk
 From Version 6.0.0-beta.21412.1 -> To Version 6.0.0-beta.21413.4

* Update dependencies from https://github.com/dotnet/icu build 20210816.1

Microsoft.NETCore.Runtime.ICU.Transport
 From Version 6.0.0-rc.1.21410.2 -> To Version 6.0.0-rc.1.21416.1

* Update dependencies from https://github.com/dotnet/llvm-project build 20210816.1

runtime.win-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools , runtime.win-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk , runtime.osx.10.12-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools , runtime.osx.10.12-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk , runtime.linux-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk , runtime.linux-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools , runtime.linux-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk , runtime.linux-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools
 From Version 11.1.0-alpha.1.21409.1 -> To Version 11.1.0-alpha.1.21416.1

* Update dependencies from https://github.com/dotnet/runtime-assets build 20210816.1

Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Drawing.Common.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.Windows.Extensions.TestData
 From Version 6.0.0-beta.21411.3 -> To Version 6.0.0-beta.21416.1

* Update dependencies from https://github.com/dotnet/msquic build 20210816.1

System.Net.MsQuic.Transport
 From Version 6.0.0-preview.7.21413.1 -> To Version 6.0.0-preview.7.21416.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2021-08-17 18:42:43 +02:00
dotnet-maestro[bot]anddotnet-maestro[bot] 00e19e3af9 Update dependencies from https://github.com/mono/linker build 20210816.1 (#57565)
Microsoft.NET.ILLink.Tasks
 From Version 6.0.100-preview.6.21413.1 -> To Version 6.0.100-preview.6.21416.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2021-08-17 18:41:14 +02:00
Tomas Weinfurt 09c2902b00 update msquic to 1.7 (#57541) 2021-08-17 09:37:59 -07:00
dotnet-maestro[bot]anddotnet-maestro[bot] 86a5b7eafc [main] Update dependencies from dotnet/runtime dotnet/emsdk (#57491)
* Update dependencies from https://github.com/dotnet/runtime build 20210815.6

Microsoft.NETCore.ILAsm , Microsoft.NETCore.DotNetHostPolicy , Microsoft.NETCore.DotNetHost , runtime.native.System.IO.Ports , Microsoft.NET.Sdk.IL , System.Runtime.CompilerServices.Unsafe , System.Text.Json
 From Version 6.0.0-rc.1.21411.3 -> To Version 6.0.0-rc.1.21415.6

* Update dependencies from https://github.com/dotnet/emsdk build 20210816.1

Microsoft.NET.Workload.Emscripten.Manifest-6.0.100
 From Version 6.0.0-rc.1.21415.1 -> To Version 6.0.0-rc.1.21416.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2021-08-17 12:58:38 +02:00
Santiago Fernandez Madero 380cfc9f3b Add linux mariner to rolling builds for libraries tests (#57322)
* Add linux mariner to rolling builds for libraries tests

* Adjust ChasChaPoly crypto test for mariner

* Disable tests failing on mono
2021-08-16 18:01:52 -07:00
dotnet-maestro[bot]anddotnet-maestro[bot] 3a5e41dfe9 Update dependencies from https://github.com/dotnet/emsdk build 20210815.1 (#57447)
Microsoft.NET.Workload.Emscripten.Manifest-6.0.100
 From Version 6.0.0-rc.1.21409.2 -> To Version 6.0.0-rc.1.21415.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2021-08-15 16:17:00 -05:00
ea6a54f0f3 [main] Update dependencies from mono/linker (#57344)
* Update dependencies from https://github.com/mono/linker build 20210812.1

Microsoft.NET.ILLink.Tasks
 From Version 6.0.100-preview.6.21409.3 -> To Version 6.0.100-preview.6.21412.1

* Update dependencies from https://github.com/mono/linker build 20210813.1

Microsoft.NET.ILLink.Tasks
 From Version 6.0.100-preview.6.21409.3 -> To Version 6.0.100-preview.6.21413.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Larry Ewing <[email protected]>
2021-08-15 16:14:18 -05:00
Ankit Jain 98ca2ffa27 [wasm] Don't use workload for tfm < net6.0 (#56606)
* Bump sdk used for testing to 6.0.100-rc.1.21402.6

* InstallWorkloadFromArtifacts: Add OnlyUpdateManifests parameter

* [wasm] Run Wasm.Build.Tests with sdk/no-workload/+EMSDK

Currently, Wasm.Build.Tests are run in two modes:

1. sdk(`$(SdkVersionForWorkloadTesting)`)+workload installed
2. sdk(from global.json)+EMSDK+LocalBuild targets

this commit changes (2) to:

2. sdk(`$(SdkVersionForWorkloadTesting)`), no workload installed, +
   EMSDK+LocalBuild targets

This makes it closer to what a user would actually use.

Also, for the workload tests, this removes `$(WasmNativeWorkload)`
always being set to `true`. The workload should be setting that, and not
the tests.

* Wasm.Build.Tests: Add test for net5.0 blazor projects

* Disable unrelated builds for now

* Revert "Disable unrelated builds for now"

This reverts commit 6fa0efe2ffcfdbcfaba3bdf519a7717809c22672.

* Rename OnlyWasmBuildTests -> TestWasmBuildTests
2021-08-15 13:10:26 -05:00
Viktor Hofer 0a1ff5b630 Update source-index-stage1.yml (#57435)
Again apply https://github.com/dotnet/runtime/commit/c842beb5a94642e7ddd06e262c50f67e297ce986 as the fix was overridden in the latest Arcade update.
2021-08-15 10:48:57 +02:00
dotnet-maestro[bot] 4a8b7bcea6 [main] Update dependencies from dotnet/arcade dotnet/hotreload-utils dotnet/roslyn-analyzers dotnet/msquic (#57402)
[main] Update dependencies from dotnet/arcade dotnet/hotreload-utils dotnet/roslyn-analyzers dotnet/msquic
2021-08-14 18:26:10 +00:00
6c39236e9f [main] Update dependencies from mono/linker (#57203)
* Update dependencies from https://github.com/mono/linker build 20210811.1

Microsoft.NET.ILLink.Tasks
 From Version 6.0.100-preview.6.21409.3 -> To Version 6.0.100-preview.6.21411.1

* Update dependencies from https://github.com/mono/linker build 20210811.2

Microsoft.NET.ILLink.Tasks
 From Version 6.0.100-preview.6.21409.3 -> To Version 6.0.100-preview.6.21411.2

* Update dependencies from https://github.com/mono/linker build 20210811.3

Microsoft.NET.ILLink.Tasks
 From Version 6.0.100-preview.6.21409.3 -> To Version 6.0.100-preview.6.21411.3

* Suppress trimmer warning

* Fix warning code value

* Fix netstandard build of libs

* Revert the code fix and just fix the XML suppression

* Revert project change

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: vitek-karas <[email protected]>
2021-08-14 13:01:58 -05:00
Radek Doulik d95758f842 [wasm] Make sure the TargetOS is capitalized (#54927)
Fixes: https://github.com/dotnet/runtime/issues/54926

The $(TargetOS) is used in $(TargetFrameworks) and is case sensitive.
Make sure it is capitalized for Browser, so that build.cmd works when
used like:

    ./build.cmd -bl -os browser -subset libs

It fixes build errors like:

    C:\r\src\libraries\shims\manual\System.forwards.cs(8,88): error CS0234: The type or namespace name 'ZLibException' does not exist in the namespace 'System.IO.Compression' (are you missing an assembly reference?) [C:\r\src\libraries\shims\manual\System.csproj]
    C:\r\src\libraries\shims\manual\System.forwards.cs(9,77): error CS0234: The type or namespace name 'CookieVariant' does not exist in the namespace 'System.Net' (are you missing an assembly reference?) [C:\r\src\libraries\shims\manual\System.csproj]
    C:\r\src\libraries\shims\manual\System.forwards.cs(10,77): error CS0234: The type or namespace name 'PathList' does not exist in the namespace 'System.Net' (are you missing an assembly reference?) [C:\r\src\libraries\shims\manual\System.csproj]
2021-08-14 14:15:56 +02:00
Anirudh AgnihotryandSantiago Fernandez Madero c29be0a524 Fix Build Failures if there are no packages produced in the release branch (#57311)
* no packages

* Update eng/pipelines/libraries/build-job.yml

Co-authored-by: Santiago Fernandez Madero <[email protected]>

* change parameter name and add main condition to running of tests

* remove package testing condition as we no longer run package testing on helix

* Update eng/pipelines/libraries/build-job.yml

Co-authored-by: Santiago Fernandez Madero <[email protected]>

* Update upload-intermediate-artifacts-step.yml

Co-authored-by: Santiago Fernandez Madero <[email protected]>
2021-08-13 15:28:03 -07:00
Anirudh Agnihotry af721d2dd2 remove non -required package downloads and package reference (#57367) 2021-08-13 15:27:39 -07:00
Alexander Köplinger 7706e3445b Add ILStrip task to trim method bodies (#57359)
This is used for iOS when assemblies are FullAOT compiled since the method body IL is unnecessary there.
2021-08-13 23:21:34 +02:00
Viktor Hofer fad530f97a Add Quic back to aspnetcore transport pack (#57338)
Also make sure that the documentation file is placed next to the
reference assembly if such is included as part of a ProjectReference.

Also move the IsAspNetCore property into packaging.targets as it's not
needed by the binplacing system anymore.
2021-08-13 12:19:27 +02:00
fddbb5914b [main] Update dependencies from dnceng/internal/dotnet-optimization dotnet/arcade dotnet/runtime-assets dotnet/hotreload-utils (#57278)
* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20210811.3

optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR
 From Version 1.0.0-prerelease.21410.2 -> To Version 1.0.0-prerelease.21411.3

* Update dependencies from https://github.com/dotnet/arcade build 20210810.8

Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.GenFacades , Microsoft.DotNet.GenAPI , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.SharedFramework.Sdk
 From Version 6.0.0-beta.21406.6 -> To Version 6.0.0-beta.21410.8

* Update dependencies from https://github.com/dotnet/runtime-assets build 20210811.3

System.ComponentModel.TypeConverter.TestData , System.Drawing.Common.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.Windows.Extensions.TestData
 From Version 6.0.0-beta.21405.1 -> To Version 6.0.0-beta.21411.3

* Update dependencies from https://github.com/dotnet/hotreload-utils build 20210811.1

Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
 From Version 1.0.2-alpha.0.21404.1 -> To Version 1.0.2-alpha.0.21411.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Juan Hoyos <[email protected]>
Co-authored-by: Viktor Hofer <[email protected]>
2021-08-13 12:17:29 +02:00
Viktor Hofer c842beb5a9 Fix source indexer failing official builds (#57336)
Works around https://github.com/dotnet/arcade/issues/7747 to unblock official builds.
This change will revert itself with the next Arcade update.
2021-08-13 10:19:31 +02:00
7d12f7596a Upgrade SDK to 6.0.100-rc.1.21411.13 (#57143)
* Upgrade SDK to 6.0.100-rc.1.21379.2

Both the AzDO and the Core-Eng team believe believe that the issue is on our side and was caused by a thread pool regression. The assumption stands that we need to update to a newer SDK which contains the fix for the thread pool hang.

Pros:
-	AzDO and Core-Eng believe that this will mitigate the AzDO feed restore issues.
Cons:
-	We will upgrade to an unsigned SDK build. Arcade and other repos already did the same to workaround the issue.
-	That SDK build isn’t officially released and won’t until RC 1 ships. This means that developers need to install that build via the nightly channel (from https://github.com/dotnet/installer) if they want to use their globally installed SDK in combination with dotnet/runtime.
-	Even though this is a breaking change, we can’t wait for the next monthly infrastructure rollout.

* set StaticWebAssetsEnabled=false

* Remove IsSupported2 since asserting it is true when it might not be

* Try enabling the runtimeconfig generator everywhere

* Revert part of runtimeconfig parser change

* Fix System.Text.Json tests to run with trimming by setting MetadataUpdaterSupport=true.

Work around SDK issue by overwriting EnableUnsafeUTF7Encoding in System.Text.Encoding

* Disable bundling tests on Mac due to bug

See https://github.com/dotnet/runtime/issues/57242

* Make ProcessInfo tests resilient to RuntimeConfig switches on commandline

* Update global.json

Updating to 6.0.100-rc.1.21411.13

* Update to latest SDK.
Remove System.Text.Encoding.Tests workaround

* ignore runtimeconfig switches _if_ they show up

* Remove test which uses `dotnet run, which is SDK-specific

Co-authored-by: Larry Ewing <[email protected]>
Co-authored-by: Eric Erhardt <[email protected]>
Co-authored-by: Andy Gocke <[email protected]>
Co-authored-by: John Salem <[email protected]>
Co-authored-by: Dan Moseley <[email protected]>
2021-08-12 15:09:01 -07:00
Viktor Hofer 21e340dcaf P2P instead of binplacing aspnetcore transport pkg (#57239)
Use ProjectReferences to compose the aspnetcore tranport package.
Avoid binplacing and with that unnecessary copies which overall
simplifies the infrastructure and allows to add additional transport
packages without creating a binplace configuration for each.

This also makes sure that the dependencies are compatible with the
package's tfm.
2021-08-12 20:37:23 +02:00
Juan Hoyos b2d5d63e51 Emit V1 of perfmap files in ShareFramework packages (#57195)
* Add perfmap v1 flag on crossgen2 invocation for SPC
* Sync target and task for CrossGen2 from SDK repo
* Consume new SFX SDK version
2021-08-12 11:09:59 -07:00
Anirudh AgnihotryandViktor Hofer 4684a1dbab Automatic calculate the assembly and package version in servicing (#57158)
* automatically update the assembly version

* address feedback

* move IsAspNetCoreApp to packaging.targets

* make assemblyintef pack private, update header and instructions on building the package in servicing

* fixes the allconfig leg

* update the docs

* Update docs/project/library-servicing.md

Co-authored-by: Viktor Hofer <[email protected]>

Co-authored-by: Viktor Hofer <[email protected]>
2021-08-12 10:29:20 -07:00
Mansoor Saqib c27c8b1c4c Add build check for System.Private.CoreLib.pdb before including it (#57161)
- Fixes build failure with /p:DebugType=embedded (#56998)
- Author of fix: @danmoseley
2021-08-12 03:32:33 -07:00
Koundinya Veluri 4e850c75d2 Enable EHCONT and CETCOMPAT for some binaries on Windows (#56173)
* Enable `EHCONT` and `CETCOMPAT` for some binaries on Windows

- Followup to https://github.com/dotnet/runtime/pull/55942
- Intended to be merged into a PR that updates to use new PGO profile data collected with the above change
- Enabled `/guard:ehcont` as a linker option for EXEs and DLLs
- Enabled `/cetcompat` as a linker option for DLLs
2021-08-11 18:01:23 -07:00
Kunal Pathak 0812322899 Spmi replay pipeline (#56871)
* Add superpmi-replay pipeline file

* Add superpmi-replay-job.yml that downloads collection

* Moved superpmi-replay-job to right location

* make sure to have spmi collection after jit build

* annotate displayName with windows/OSX

* Make osGroup=windows

* Add helixType (if that matters)

* Add some more variables

* skip restore internal tools

* Just use build-jit-job directly

* Hardcode windows.x64.checked

* Add -download_all -download_raw options to superpmi.py

* Seperate 2 jobs

* Fix Upload artifacts

* Fix uploadAsArtifacts

* Fix to uploadAsArtifacts

* comment upload to azure storage temporarily

* Set variables inside superpmi-replay-job

* Entire pipeline

* minor fix

* Add some logging

* Fix the path

* fix file names and partition ids

* add sample download on helix machine

* fix helix-correlation-payload

* Download specific build

* Try to fix correlation payload directory

* Do not run windows x86 for now

* Log directory

* walktree instead of dir

* fix the bug

* Add workitem directory as Payload

* TEMP: Skip downloading collection during setup

* fix core_root

* Make download happen on helix

* Add windows x86

* Use -target_os and pass 1 item to helix

* Add some logging, have different work item ID

* fix the superpmi.log upload

* Fix the log location

- Also include Linux_x64

* one more fix to log_directory

* try to fix download results

* Move the matrix to proj file

* fix superpmi-replay.proj

* Cleanup

* Go back to download specific

* WorkTimeout for 5 hours

* Remove timeoutInMinutes

* fix errors related to logging

* return failed run result

* fix the appending logic

* Remove download-all and download-raw and instead add -no-progres

* do not show download progress, try fixing download file

* TO REVERT: Just try benchmark on windows x64/x86

* Use uploadAsArtifacts in build-jit-job

* Create dummy.txt in workitem directory

* create workitem_directory

* Build clrjit

* fix build-jit-job

* add dependsOn

* print params

* TO REVERT: Just run jitbuild win-x64

* minor

* move under jobParameters

* Cleanup

* review feedback
2021-08-11 22:02:07 +00:00
b096e8d762 [main] Update dependencies from 8 repositories (#56974)
* Update dependencies from https://github.com/dotnet/hotreload-utils build 20210805.1

Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
 From Version 1.0.2-alpha.0.21404.1 -> To Version 1.0.2-alpha.0.21405.1

* Update dependencies from https://github.com/dotnet/roslyn-analyzers build 20210805.1

Microsoft.CodeAnalysis.NetAnalyzers
 From Version 6.0.0-rc1.21378.3 -> To Version 6.0.0-rc1.21405.1

* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20210806.5

optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR
 From Version 1.0.0-prerelease.21379.4 -> To Version 1.0.0-prerelease.21406.5

* Update dependencies from https://github.com/dotnet/arcade build 20210806.6

Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.GenFacades , Microsoft.DotNet.GenAPI , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.SharedFramework.Sdk
 From Version 6.0.0-beta.21405.3 -> To Version 6.0.0-beta.21406.6

* Try disabling the aspnetcore StaticWebAssetsEnabled setting

* Disable more StaticWebAssets

* Update dependencies from https://github.com/dotnet/hotreload-utils build 20210806.1

Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
 From Version 1.0.2-alpha.0.21404.1 -> To Version 1.0.2-alpha.0.21406.1

* Update dependencies from https://github.com/dotnet/roslyn-analyzers build 20210806.1

Microsoft.CodeAnalysis.NetAnalyzers
 From Version 6.0.0-rc1.21378.3 -> To Version 6.0.0-rc1.21406.1

* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20210807.6

optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR
 From Version 1.0.0-prerelease.21379.4 -> To Version 1.0.0-prerelease.21407.6

* Update dependencies from https://github.com/dotnet/hotreload-utils build 20210807.1

Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
 From Version 1.0.2-alpha.0.21406.1 -> To Version 1.0.2-alpha.0.21407.1

* Update dependencies from https://github.com/dotnet/runtime build 20210806.5

Microsoft.NETCore.DotNetHost , Microsoft.NETCore.ILAsm , Microsoft.NETCore.DotNetHostPolicy , runtime.native.System.IO.Ports , Microsoft.NET.Sdk.IL , System.Text.Json , System.Runtime.CompilerServices.Unsafe
 From Version 6.0.0-rc.1.21401.3 -> To Version 6.0.0-rc.1.21406.5

* Update dependencies from https://github.com/dotnet/emsdk build 20210809.1

Microsoft.NET.Workload.Emscripten.Manifest-6.0.100
 From Version 6.0.0-rc.1.21378.1 -> To Version 6.0.0-rc.1.21409.1

* Update dependencies from https://github.com/dotnet/emsdk build 20210809.2

Microsoft.NET.Workload.Emscripten.Manifest-6.0.100
 From Version 6.0.0-rc.1.21409.1 -> To Version 6.0.0-rc.1.21409.2

* Don't upgrade SDK

* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20210809.2

optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR
 From Version 1.0.0-prerelease.21379.4 -> To Version 1.0.0-prerelease.21409.2

* Update dependencies from https://github.com/dotnet/icu build 20210809.1

Microsoft.NETCore.Runtime.ICU.Transport
 From Version 6.0.0-rc.1.21402.1 -> To Version 6.0.0-rc.1.21409.1

* Update dependencies from https://github.com/dotnet/llvm-project build 20210809.1

runtime.win-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools , runtime.win-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk , runtime.osx.10.12-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools , runtime.osx.10.12-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk , runtime.linux-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk , runtime.linux-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools , runtime.linux-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk , runtime.linux-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools
 From Version 11.1.0-alpha.1.21402.1 -> To Version 11.1.0-alpha.1.21409.1

* Update dependencies from https://github.com/dotnet/hotreload-utils build 20210809.1

Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
 From Version 1.0.2-alpha.0.21404.1 -> To Version 1.0.2-alpha.0.21409.1

* Update dependencies from https://github.com/dotnet/arcade build 20210806.6

Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.GenFacades , Microsoft.DotNet.GenAPI , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.SharedFramework.Sdk
 From Version 6.0.0-beta.21405.3 -> To Version 6.0.0-beta.21406.6

* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20210810.2

optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR
 From Version 1.0.0-prerelease.21379.4 -> To Version 1.0.0-prerelease.21410.2

* Update dependencies from https://github.com/dotnet/icu build 20210810.2

Microsoft.NETCore.Runtime.ICU.Transport
 From Version 6.0.0-rc.1.21402.1 -> To Version 6.0.0-rc.1.21410.2

* Update dependencies from https://github.com/dotnet/hotreload-utils build 20210810.1

Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
 From Version 1.0.2-alpha.0.21404.1 -> To Version 1.0.2-alpha.0.21410.1

* Update dependencies from https://github.com/dotnet/runtime build 20210811.3

Microsoft.NETCore.ILAsm , Microsoft.NETCore.DotNetHostPolicy , Microsoft.NETCore.DotNetHost , runtime.native.System.IO.Ports , Microsoft.NET.Sdk.IL , System.Runtime.CompilerServices.Unsafe , System.Text.Json
 From Version 6.0.0-rc.1.21401.3 -> To Version 6.0.0-rc.1.21411.3

* Update Versions.props

* Update Version.Details.xml

* Update dependencies from https://github.com/dotnet/arcade build 20210806.6

Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.GenFacades , Microsoft.DotNet.GenAPI , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.SharedFramework.Sdk
 From Version 6.0.0-beta.21405.3 -> To Version 6.0.0-beta.21406.6

* Update global.json

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Larry Ewing <[email protected]>
Co-authored-by: Viktor Hofer <[email protected]>
2021-08-11 19:11:43 +02:00
Jose Perez Rodriguez ffa6aae114 Clean up rd.xml now that DCS has been annotated (#57013)
* Clean up rd.xml now that DCS has been annotated

* Adding annotation to keep KeyValue.GetKeyValuePair method

* Use GetMemberWithSameMetadataDefinitionAs instead

* fix typo in the type being kept

* Save constructor metadata as a workaround as opposed to using DynamicDependency
2021-08-11 11:10:30 -05:00
Viktor Hofer 85441ce69b Make sure rid specific libs projs get packaged (#57193)
* 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
2021-08-11 12:50:46 +02:00