Skip to content

[dotnet-linker] Use [DynamicDependency] attributes instead of manual …

653b289
Select commit
Loading
Failed to load commit list.
Draft

[dotnet-linker] Use [DynamicDependency] attributes instead of manual marking when marking static registrar methods. #25018

[dotnet-linker] Use [DynamicDependency] attributes instead of manual …
653b289
Select commit
Loading
Failed to load commit list.
Azure Pipelines / xamarin-macios-sim-pr-tests failed Mar 25, 2026 in 1h 29m 4s

Build #20260325.20 had test failures

Details

Tests

  • Failed: 21 (0.02%, 21 new, 0 recurring)
  • Passed: 110,846 (95.78%)
  • Other: 4,865 (4.20%)
  • Total: 115,732

Annotations

Check failure on line 43134 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / xamarin-macios-sim-pr-tests

Build log #L43134

Bash exited with code '2'.

Check failure on line 43045 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / xamarin-macios-sim-pr-tests

Build log #L43045

Bash exited with code '2'.

Check failure on line 43299 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / xamarin-macios-sim-pr-tests

Build log #L43299

Bash exited with code '2'.

Check failure on line 45476 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / xamarin-macios-sim-pr-tests

Build log #L45476

Bash exited with code '2'.

Check failure on line 1 in App Build monotouch-test Release (NativeAOT, ARM64)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / xamarin-macios-sim-pr-tests

App Build monotouch-test Release (NativeAOT, ARM64)

App could not be built .
Raw output
[07:13:43.3418260] Building monotouch-test (tvOS)
[07:13:43.3420730] 
[07:13:43.3420740] Running /Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/dotnet 
With env vars: 
    RootTestsDirectory = '/Users/builder/azdo/_work/1/s/macios/tests'
[07:13:43.4387010] /Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/sdk/10.0.300-preview.0.26173.111/MSBuild --nologo --property:Platform=iPhoneSimulator --property:Configuration=Release --property:RootTestsDirectory=/Users/builder/azdo/_work/1/s/macios/tests --property:NuGetInteractive=false --restoreProperty:Platform=iPhoneSimulator --restoreProperty:Configuration=Release --restoreProperty:RootTestsDirectory=/Users/builder/azdo/_work/1/s/macios/tests --restoreProperty:NuGetInteractive=false --restoreProperty:EnableDefaultCompileItems=false --restoreProperty:EnableDefaultEmbeddedResourceItems=false --restoreProperty:EnableDefaultNoneItems=false --verbosity:m --verbosity:diagnostic -consoleloggerparameters:Summary -distributedlogger:Microsoft.DotNet.Cli.Commands.MSBuild.MSBuildLogger,/Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/sdk/10.0.300-preview.0.26173.111/dotnet.dll*Microsoft.DotNet.Cli.Commands.MSBuild.MSBuildForwardingLogger,/Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/sdk/10.0.300-preview.0.26173.111/dotnet.dll -maxcpucount -restore -tlp:default=auto /bl:/Users/builder/azdo/_work/1/s/macios/jenkins-results/tests/monotouch-test/133/build-tvOS-20260325_071343.binlog /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test523/monotouch-test.csproj
[07:13:43.4545040] Build started 3/25/2026 7:13:43 AM.
[07:13:43.4552900] Environment at start of build:
[07:13:43.4553030] DOTNET_PLATFORMS =  tvOS
[07:13:43.4553060] DOTNET_CLI_WORKLOAD_UPDATE_NOTIFY_DISABLE = true
[07:13:43.4553080] MSBUILDDISABLENODEREUSE = 1
[07:13:43.4553100] DOTNET_ROOT = /Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111
[07:13:43.4553120] DOTNET_CLI_TELEMETRY_SESSIONID = e62fc473-7d8c-4a6e-9a35-fb8da2861e32
[07:13:43.4553140] DOTNET_CLI_USE_MSBUILD_SERVER = 0
[07:13:43.4553160] MSBuildSDKsPath = /Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/sdk/10.0.300-preview.0.26173.111/Sdks
[07:13:43.4553180] MSBUILDBINARYLOGGERENABLED = True
[07:13:43.4553200] MSBUILDDEBUGPATH = /Users/builder/azdo/_work/1/s/macios/jenkins-results/MSBuildCrashLogs
[07:13:43.4553220] MSBuildExtensionsPath = /Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/sdk/10.0.300-preview.0.26173.111/
[07:13:43.4553240] MSBUILDFAILONDRIVEENUMERATINGWILDCARD = 1
[07:13:43.4553250] MSBUILDHELPERS_ENABLE_TELEMETRY = true
[07:13:43.4553270] MSBUILDUSESERVER = 0
[07:13:43.4553290] MSBUILDTARGETOUTPUTLOGGING = true
[07:13:43.4553320] DOTNET_HOST_PATH = /Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/dotnet
[07:13:43.4553340] MSBUILDLOGIMPORTS = 1
[07:13:43.4553360] MSBuildLoadMicrosoftTargetsReadOnly = true
[07:13:43.4553370] 
[07:13:43.4555110] 07:13:43.455     0>Terminal Logger was not used because it was detected that the build is running in an automated environment.
[07:13:43.4555240]                    Process = "/Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/dotnet"
[07:13:43.4555280]                    MSBuild executable path = "/Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/sdk/10.0.300-preview.0.26173.111/MSBuild"
[07:13:43.4555350]                    Command line arguments = "/Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/sdk/10.0.300-preview.0.26173.111/MSBuild -maxcpucount --verbosity:m -tlp:default=auto --property:Platf

Check failure on line 1 in App Build monotouch-test Debug (static registrar)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / xamarin-macios-sim-pr-tests

App Build monotouch-test Debug (static registrar)

App could not be built .
Raw output
[07:12:08.1318580] Building monotouch-test (tvOS)
[07:12:08.1321070] 
[07:12:08.1321080] Running /Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/dotnet 
With env vars: 
    RootTestsDirectory = '/Users/builder/azdo/_work/1/s/macios/tests'
[07:12:08.2269930] /Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/sdk/10.0.300-preview.0.26173.111/MSBuild --nologo --property:Platform=iPhoneSimulator --property:Configuration=Debug --property:RootTestsDirectory=/Users/builder/azdo/_work/1/s/macios/tests --property:NuGetInteractive=false --restoreProperty:Platform=iPhoneSimulator --restoreProperty:Configuration=Debug --restoreProperty:RootTestsDirectory=/Users/builder/azdo/_work/1/s/macios/tests --restoreProperty:NuGetInteractive=false --restoreProperty:EnableDefaultCompileItems=false --restoreProperty:EnableDefaultEmbeddedResourceItems=false --restoreProperty:EnableDefaultNoneItems=false --verbosity:m --verbosity:diagnostic -consoleloggerparameters:Summary -distributedlogger:Microsoft.DotNet.Cli.Commands.MSBuild.MSBuildLogger,/Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/sdk/10.0.300-preview.0.26173.111/dotnet.dll*Microsoft.DotNet.Cli.Commands.MSBuild.MSBuildForwardingLogger,/Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/sdk/10.0.300-preview.0.26173.111/dotnet.dll -maxcpucount -restore -tlp:default=auto /bl:/Users/builder/azdo/_work/1/s/macios/jenkins-results/tests/monotouch-test/125/build-tvOS-20260325_071208.binlog /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test519/monotouch-test.csproj
[07:12:08.2428220] Build started 3/25/2026 7:12:08 AM.
[07:12:08.2433950] Environment at start of build:
[07:12:08.2434070] DOTNET_PLATFORMS =  tvOS
[07:12:08.2434100] DOTNET_CLI_WORKLOAD_UPDATE_NOTIFY_DISABLE = true
[07:12:08.2434120] MSBUILDDISABLENODEREUSE = 1
[07:12:08.2434140] DOTNET_ROOT = /Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111
[07:12:08.2434190] DOTNET_CLI_TELEMETRY_SESSIONID = 2aacac4d-574a-4630-a2a5-53a40708d45c
[07:12:08.2434210] DOTNET_CLI_USE_MSBUILD_SERVER = 0
[07:12:08.2434230] MSBuildSDKsPath = /Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/sdk/10.0.300-preview.0.26173.111/Sdks
[07:12:08.2434250] MSBUILDBINARYLOGGERENABLED = True
[07:12:08.2434270] MSBUILDDEBUGPATH = /Users/builder/azdo/_work/1/s/macios/jenkins-results/MSBuildCrashLogs
[07:12:08.2434290] MSBuildExtensionsPath = /Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/sdk/10.0.300-preview.0.26173.111/
[07:12:08.2434310] MSBUILDFAILONDRIVEENUMERATINGWILDCARD = 1
[07:12:08.2434330] MSBUILDHELPERS_ENABLE_TELEMETRY = true
[07:12:08.2434350] MSBUILDUSESERVER = 0
[07:12:08.2434360] MSBUILDTARGETOUTPUTLOGGING = true
[07:12:08.2434380] DOTNET_HOST_PATH = /Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/dotnet
[07:12:08.2434390] MSBUILDLOGIMPORTS = 1
[07:12:08.2434410] MSBuildLoadMicrosoftTargetsReadOnly = true
[07:12:08.2434430] 
[07:12:08.2437740] 07:12:08.243     0>Terminal Logger was not used because it was detected that the build is running in an automated environment.
[07:12:08.2437890]                    Process = "/Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/dotnet"
[07:12:08.2437930]                    MSBuild executable path = "/Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/sdk/10.0.300-preview.0.26173.111/MSBuild"
[07:12:08.2438020]                    Command line arguments = "/Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/sdk/10.0.300-preview.0.26173.111/MSBuild -maxcpucount --verbosity:m -tlp:default=auto --property:Platform=

Check failure on line 1 in App Build monotouch-test Debug

See this annotation in the file changed.

@azure-pipelines azure-pipelines / xamarin-macios-sim-pr-tests

App Build monotouch-test Debug

App could not be built .
Raw output
[07:11:02.7182070] Building monotouch-test (tvOS)
[07:11:02.7186230] 
[07:11:02.7186250] Running /Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/dotnet 
With env vars: 
    RootTestsDirectory = '/Users/builder/azdo/_work/1/s/macios/tests'
[07:11:02.8057680] /Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/sdk/10.0.300-preview.0.26173.111/MSBuild --nologo --property:Platform=iPhoneSimulator --property:Configuration=Debug --property:RootTestsDirectory=/Users/builder/azdo/_work/1/s/macios/tests --property:NuGetInteractive=false --restoreProperty:Platform=iPhoneSimulator --restoreProperty:Configuration=Debug --restoreProperty:RootTestsDirectory=/Users/builder/azdo/_work/1/s/macios/tests --restoreProperty:NuGetInteractive=false --restoreProperty:EnableDefaultCompileItems=false --restoreProperty:EnableDefaultEmbeddedResourceItems=false --restoreProperty:EnableDefaultNoneItems=false --verbosity:m --verbosity:diagnostic -consoleloggerparameters:Summary -distributedlogger:Microsoft.DotNet.Cli.Commands.MSBuild.MSBuildLogger,/Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/sdk/10.0.300-preview.0.26173.111/dotnet.dll*Microsoft.DotNet.Cli.Commands.MSBuild.MSBuildForwardingLogger,/Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/sdk/10.0.300-preview.0.26173.111/dotnet.dll -maxcpucount -restore -tlp:default=auto /bl:/Users/builder/azdo/_work/1/s/macios/jenkins-results/tests/monotouch-test/9/build-tvOS-20260325_071102.binlog /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test3/monotouch-test.csproj
[07:11:02.8198270] Build started 3/25/2026 7:11:02 AM.
[07:11:02.8203860] Environment at start of build:
[07:11:02.8203940] DOTNET_PLATFORMS =  tvOS
[07:11:02.8203980] DOTNET_CLI_WORKLOAD_UPDATE_NOTIFY_DISABLE = true
[07:11:02.8204010] MSBUILDDISABLENODEREUSE = 1
[07:11:02.8204050] DOTNET_ROOT = /Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111
[07:11:02.8204080] DOTNET_CLI_TELEMETRY_SESSIONID = 11004a9f-668b-434f-9fe1-6e113919e585
[07:11:02.8204100] DOTNET_CLI_USE_MSBUILD_SERVER = 0
[07:11:02.8204130] MSBuildSDKsPath = /Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/sdk/10.0.300-preview.0.26173.111/Sdks
[07:11:02.8204230] MSBUILDBINARYLOGGERENABLED = True
[07:11:02.8204260] MSBUILDDEBUGPATH = /Users/builder/azdo/_work/1/s/macios/jenkins-results/MSBuildCrashLogs
[07:11:02.8204350] MSBuildExtensionsPath = /Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/sdk/10.0.300-preview.0.26173.111/
[07:11:02.8204380] MSBUILDFAILONDRIVEENUMERATINGWILDCARD = 1
[07:11:02.8204400] MSBUILDHELPERS_ENABLE_TELEMETRY = true
[07:11:02.8204420] MSBUILDUSESERVER = 0
[07:11:02.8204440] MSBUILDTARGETOUTPUTLOGGING = true
[07:11:02.8204460] DOTNET_HOST_PATH = /Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/dotnet
[07:11:02.8204480] MSBUILDLOGIMPORTS = 1
[07:11:02.8204500] MSBuildLoadMicrosoftTargetsReadOnly = true
[07:11:02.8204520] 
[07:11:02.8208460] 07:11:02.820     0>Terminal Logger was not used because it was detected that the build is running in an automated environment.
[07:11:02.8208570]                    Process = "/Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/dotnet"
[07:11:02.8208620]                    MSBuild executable path = "/Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/sdk/10.0.300-preview.0.26173.111/MSBuild"
[07:11:02.8208740]                    Command line arguments = "/Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/sdk/10.0.300-preview.0.26173.111/MSBuild -maxcpucount --verbosity:m -tlp:default=auto --property:Platform=iPho

Check failure on line 1 in App Build monotouch-test Debug (ARM64)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / xamarin-macios-sim-pr-tests

App Build monotouch-test Debug (ARM64)

App could not be built .
Raw output
[07:13:11.6718060] Building monotouch-test (tvOS)
[07:13:11.6720550] 
[07:13:11.6720560] Running /Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/dotnet 
With env vars: 
    RootTestsDirectory = '/Users/builder/azdo/_work/1/s/macios/tests'
[07:13:11.7684430] /Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/sdk/10.0.300-preview.0.26173.111/MSBuild --nologo --property:Platform=iPhoneSimulator --property:Configuration=Debug --property:RootTestsDirectory=/Users/builder/azdo/_work/1/s/macios/tests --property:NuGetInteractive=false --restoreProperty:Platform=iPhoneSimulator --restoreProperty:Configuration=Debug --restoreProperty:RootTestsDirectory=/Users/builder/azdo/_work/1/s/macios/tests --restoreProperty:NuGetInteractive=false --restoreProperty:EnableDefaultCompileItems=false --restoreProperty:EnableDefaultEmbeddedResourceItems=false --restoreProperty:EnableDefaultNoneItems=false --verbosity:m --verbosity:diagnostic -consoleloggerparameters:Summary -distributedlogger:Microsoft.DotNet.Cli.Commands.MSBuild.MSBuildLogger,/Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/sdk/10.0.300-preview.0.26173.111/dotnet.dll*Microsoft.DotNet.Cli.Commands.MSBuild.MSBuildForwardingLogger,/Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/sdk/10.0.300-preview.0.26173.111/dotnet.dll -maxcpucount -restore -tlp:default=auto /bl:/Users/builder/azdo/_work/1/s/macios/jenkins-results/tests/monotouch-test/131/build-tvOS-20260325_071311.binlog /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test522/monotouch-test.csproj
[07:13:11.7854600] Build started 3/25/2026 7:13:11 AM.
[07:13:11.7862200] Environment at start of build:
[07:13:11.7862330] DOTNET_PLATFORMS =  tvOS
[07:13:11.7862350] DOTNET_CLI_WORKLOAD_UPDATE_NOTIFY_DISABLE = true
[07:13:11.7862370] MSBUILDDISABLENODEREUSE = 1
[07:13:11.7862390] DOTNET_ROOT = /Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111
[07:13:11.7862410] DOTNET_CLI_TELEMETRY_SESSIONID = a3ba491d-d160-4d8b-b6a4-280856b9e7b6
[07:13:11.7862420] DOTNET_CLI_USE_MSBUILD_SERVER = 0
[07:13:11.7862440] MSBuildSDKsPath = /Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/sdk/10.0.300-preview.0.26173.111/Sdks
[07:13:11.7862460] MSBUILDBINARYLOGGERENABLED = True
[07:13:11.7862470] MSBUILDDEBUGPATH = /Users/builder/azdo/_work/1/s/macios/jenkins-results/MSBuildCrashLogs
[07:13:11.7862490] MSBuildExtensionsPath = /Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/sdk/10.0.300-preview.0.26173.111/
[07:13:11.7862510] MSBUILDFAILONDRIVEENUMERATINGWILDCARD = 1
[07:13:11.7862530] MSBUILDHELPERS_ENABLE_TELEMETRY = true
[07:13:11.7862550] MSBUILDUSESERVER = 0
[07:13:11.7862570] MSBUILDTARGETOUTPUTLOGGING = true
[07:13:11.7862600] DOTNET_HOST_PATH = /Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/dotnet
[07:13:11.7862620] MSBUILDLOGIMPORTS = 1
[07:13:11.7862630] MSBuildLoadMicrosoftTargetsReadOnly = true
[07:13:11.7862650] 
[07:13:11.7865550] 07:13:11.786     0>Terminal Logger was not used because it was detected that the build is running in an automated environment.
[07:13:11.7865700]                    Process = "/Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/dotnet"
[07:13:11.7865750]                    MSBuild executable path = "/Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/sdk/10.0.300-preview.0.26173.111/MSBuild"
[07:13:11.7865820]                    Command line arguments = "/Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26173.111/sdk/10.0.300-preview.0.26173.111/MSBuild -maxcpucount --verbosity:m -tlp:default=auto --property:Platform=