Skip to content

[msbuild/tools] Move post-trimming custom trimmer steps to a post-ILLink MSBuild task.#25742

Draft
rolfbjarne wants to merge 12 commits into
mainfrom
dev/rolf/assembly-postparer
Draft

[msbuild/tools] Move post-trimming custom trimmer steps to a post-ILLink MSBuild task.#25742
rolfbjarne wants to merge 12 commits into
mainfrom
dev/rolf/assembly-postparer

Conversation

@rolfbjarne

Copy link
Copy Markdown
Member

WIP WIP WIP.

Contributes towards #17693.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR is a WIP step toward replacing custom ILLink linker steps by moving the “post-trimming” work into an MSBuild task (assembly preparer mode), enabling a trimmer-agnostic pipeline (ILLink and future NativeAOT scenarios).

Changes:

  • Introduces an MSBuild-driven post-processing phase for prepared assemblies (PostProcessAssemblies + _PostprocessAssemblies target).
  • Refactors/extends assembly-preparer to load assemblies, run pre/post steps, and save results (new steps + expanded pipeline).
  • Adapts several linker steps to run both in the traditional linker pipeline and in assembly-preparer mode; adds a Windows remote test for assembly preparer.

Reviewed changes

Copilot reviewed 17 out of 17 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
tools/linker/RemoveUserResourcesSubStep.cs Updates the step to work in both linker and assembly-preparer pipelines.
tools/linker/MonoTouch.Tuner/ListExportedSymbols.cs Adds ASSEMBLY_PREPARER support for the step.
tools/dotnet-linker/Steps/RegistrarStep.cs Adjusts registrar filtering behavior for assembly-preparer mode.
tools/dotnet-linker/Steps/GenerateReferencesStep.cs Switches to StringUtils.IsNullOrEmpty for consistency.
tools/dotnet-linker/Steps/ExtractBindingLibrariesStep.cs Uses PathUtils.AbsoluteToRelative instead of Path.GetRelativePath.
tools/dotnet-linker/LinkerConfiguration.cs Extends configuration for assembly-preparer mode (AssemblyInfos, etc).
tools/common/Application.cs Adds an explicit IsPostProcessingAssemblies flag for assembly-preparer mode.
tools/assembly-preparer/SaveAssembliesStep.cs New step to write assemblies after processing (and strip crossgen markers).
tools/assembly-preparer/LoadAssembliesStep.cs New step to load assemblies + determine trimming action.
tools/assembly-preparer/ComputeMethodOverridesStep.cs New step to precompute method overrides into annotations.
tools/assembly-preparer/CollectFieldsStep.cs New step to collect exported field symbols (compat for InlineDlfcn).
tools/assembly-preparer/AssemblyPreparer.cs Splits pipeline into Prepare vs PostProcess and runs step lists accordingly.
tools/assembly-preparer/assembly-preparer.csproj Wires additional steps and dependencies into the assembly-preparer tool.
tests/dotnet/UnitTests/WindowsTest.cs Adds a remote Windows test validating assembly-preparer behavior/artifacts.
msbuild/Xamarin.Shared/Xamarin.Shared.targets Adds PostProcessAssemblies and introduces _PostprocessAssemblies target.
msbuild/Xamarin.MacDev.Tasks/Tasks/PrepareAssemblies.cs Adds a post-processing mode invocation path for AssemblyPreparer.
dotnet/targets/Xamarin.Shared.Sdk.targets Avoids running existing custom trimmer steps when post-processing is enabled.

Comment on lines 43 to 55
@@ -44,6 +54,7 @@ protected override void EndProcess ()
base.EndProcess ();
}
Comment on lines +3454 to +3477
<Target
Name="_PostprocessAssemblies"
Condition="'$(PrepareAssemblies)' == 'true'"
Inputs="@(_PreparedAssemblies)"
Outputs="$(_PrepareAssembliesStampFile)"
BeforeTargets="_LoadLinkerOutput"
>
<PrepareAssemblies
InputAssemblies="@(_PreparedAssemblies)"
MakeReproPath="$(_PostprocessAssembliesMakeReproPath)"
OptionsFile="$(_CustomLinkerOptionsFile)"
OriginalAssemblies="$(_AssembliesToPrepare)"
Postprocessing="true"
TargetFrameworkMoniker="$(_ComputedTargetFrameworkMoniker)"
>
<Output TaskParameter="OutputAssemblies" ItemName="_PostProcessedAssemblies" />
</PrepareAssemblies>

<ItemGroup>
<ResolvedFileToPublish Remove="@(_PreparedAssemblies)" />
<ResolvedFileToPublish Include="@(_PostProcessedAssemblies)" />
<FileWrites Include="@(_PostProcessedAssemblies)" />
</ItemGroup>
</Target>
Comment on lines +23 to +28
foreach (var assembly in configuration.AssemblyInfos) {
var assemblyDefinition = assembly.Assembly;
if (assemblyDefinition is null) {
exceptions.Add (ErrorHelper.CreateError (99, $"Assembly definition is null for {assembly.InputPath}"));
return;
}
Comment on lines +61 to +64
try {
assemblyDefinition.Write (assembly.OutputPath, writerParameters);
ModuleAttributes m = assemblyDefinition.MainModule.Attributes;
} catch (Exception e) {
@@ -0,0 +1,89 @@
// Copilot: add license
@@ -0,0 +1,124 @@
// Copilot: add license
@@ -0,0 +1,57 @@
// Copilot: add license
@@ -0,0 +1,14 @@
// Copilot: add license
Comment on lines +388 to +392
using var memoryStream = new MemoryStream ((int) infoPlistEntry!.Length);
using var plistStream = infoPlistEntry.Open ();
plistStream.CopyTo (memoryStream);

var infoPlist = (PDictionary) PDictionary.FromStream (memoryStream)!;
Comment on lines +38 to +40
public ITaskItem [] OriginalAssemblies { get; set; } = [];

public bool PostProcessing { get; set; }
@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ [PR Build #8a3a11e] Build passed (Detect API changes) ✅

Pipeline on Agent
Hash: 8a3a11e9479a1a25a81fe00bce448498b75c8764 [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ [PR Build #8a3a11e] Build passed (Build packages) ✅

Pipeline on Agent
Hash: 8a3a11e9479a1a25a81fe00bce448498b75c8764 [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ API diff for current PR / commit

NET (empty diffs)

✅ API diff vs stable

NET (empty diffs)

ℹ️ Generator diff

Generator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes)

Pipeline on Agent
Hash: 8a3a11e9479a1a25a81fe00bce448498b75c8764 [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ [PR Build #8a3a11e] Build passed (Build macOS tests) ✅

Pipeline on Agent
Hash: 8a3a11e9479a1a25a81fe00bce448498b75c8764 [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🔥 [CI Build #8a3a11e] Test results 🔥

Test results

❌ Tests failed on VSTS: test results

0 tests crashed, 61 tests failed, 159 tests passed.

Failures

❌ dotnettests tests (iOS)

1 tests failed, 0 tests passed.

Failed tests

  • DotNet tests: BuildFailure

Html Report (VSDrops) Download

❌ dotnettests tests (MacCatalyst)

1 tests failed, 0 tests passed.

Failed tests

  • DotNet tests: BuildFailure

Html Report (VSDrops) Download

❌ dotnettests tests (macOS)

1 tests failed, 0 tests passed.

Failed tests

  • DotNet tests: BuildFailure

Html Report (VSDrops) Download

❌ dotnettests tests (Multiple platforms)

1 tests failed, 0 tests passed.

Failed tests

  • DotNet tests: BuildFailure

Html Report (VSDrops) Download

❌ dotnettests tests (tvOS)

1 tests failed, 0 tests passed.

Failed tests

  • DotNet tests: BuildFailure

Html Report (VSDrops) Download

❌ generator tests

1 tests failed, 4 tests passed.

Failed tests

  • BGen tests: Failed (Execution failed with exit code 1)
    • GeneratorTests.BGenTests.SnippetAttributesOptimizable: BGen failed with exit code 1: build
      /Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.400-preview.0.26316.10...

Html Report (VSDrops) Download

❌ interdependent-binding-projects tests

2 tests failed, 2 tests passed.

Failed tests

  • interdependent-binding-projects/iOS - simulator/Debug: LaunchTimedOut
  • interdependent-binding-projects/tvOS - simulator/Debug: LaunchTimedOut

Html Report (VSDrops) Download

❌ linker tests (iOS)

5 tests failed, 10 tests passed.

Failed tests

  • trimmode copy/iOS - simulator/Release: BuildFailure
  • dont link/iOS - simulator/Debug (PrepareAssemblies, MonoVM, Dynamic Registrar): BuildFailure
  • dont link/iOS - simulator/Debug (PrepareAssemblies, MonoVM, Managed Static Registrar): BuildFailure
  • dont link/iOS - simulator/Release (PrepareAssemblies, MonoVM, Dynamic Registrar): BuildFailure ( (failed to parse the logs: The Writer is closed or in error state.))
  • dont link/iOS - simulator/Release (PrepareAssemblies, MonoVM, Managed Static Registrar): BuildFailure

Html Report (VSDrops) Download

❌ linker tests (MacCatalyst)

4 tests failed, 11 tests passed.

Failed tests

  • dont link/Mac Catalyst/Debug (PrepareAssemblies, MonoVM, Dynamic Registrar): BuildFailure
  • dont link/Mac Catalyst/Debug (PrepareAssemblies, MonoVM, Managed Static Registrar): BuildFailure
  • dont link/Mac Catalyst/Release (PrepareAssemblies, MonoVM, Dynamic Registrar): BuildFailure ( (failed to parse the logs: The Writer is closed or in error state.))
  • dont link/Mac Catalyst/Release (PrepareAssemblies, MonoVM, Managed Static Registrar): BuildFailure

Html Report (VSDrops) Download

❌ linker tests (macOS)

10 tests failed, 11 tests passed.

Failed tests

  • dont link/macOS/Debug (PrepareAssemblies, CoreCLR, Dynamic Registrar): BuildFailure
  • dont link/macOS/Debug (PrepareAssemblies, CoreCLR, Managed Static Registrar): BuildFailure
  • dont link/macOS/Debug (PrepareAssemblies, CoreCLR, Trimmable Static Registrar): BuildFailure
  • dont link/macOS/Release (PrepareAssemblies, CoreCLR, Dynamic Registrar): BuildFailure ( (failed to parse the logs: The Writer is closed or in error state.))
  • dont link/macOS/Release (PrepareAssemblies, CoreCLR, Managed Static Registrar): BuildFailure ( (failed to parse the logs: The Writer is closed or in error state.))
  • dont link/macOS/Release (PrepareAssemblies, CoreCLR, Trimmable Static Registrar): BuildFailure ( (failed to parse the logs: The Writer is closed or in error state.))
  • link sdk/macOS/Debug (PrepareAssemblies, CoreCLR, Trimmable Static Registrar): BuildFailure ( (failed to parse the logs: The Writer is closed or in error state.))
  • link sdk/macOS/Release (PrepareAssemblies, CoreCLR, Trimmable Static Registrar): BuildFailure
  • link all/macOS/Debug (PrepareAssemblies, CoreCLR, Trimmable Static Registrar): BuildFailure ( (failed to parse the logs: The Writer is closed or in error state.))
  • link all/macOS/Release (PrepareAssemblies, CoreCLR, Trimmable Static Registrar): BuildFailure

Html Report (VSDrops) Download

❌ linker tests (tvOS)

4 tests failed, 11 tests passed.

Failed tests

  • dont link/tvOS - simulator/Debug (PrepareAssemblies, MonoVM, Dynamic Registrar): BuildFailure
  • dont link/tvOS - simulator/Debug (PrepareAssemblies, MonoVM, Managed Static Registrar): BuildFailure
  • dont link/tvOS - simulator/Release (PrepareAssemblies, MonoVM, Dynamic Registrar): BuildFailure
  • dont link/tvOS - simulator/Release (PrepareAssemblies, MonoVM, Managed Static Registrar): BuildFailure ( (failed to parse the logs: The Writer is closed or in error state.))

Html Report (VSDrops) Download

❌ monotouch tests (iOS)

21 tests failed, 0 tests passed.

Failed tests

  • monotouch-test/iOS - simulator/Debug: LaunchTimedOut
  • monotouch-test/iOS - simulator/Release (link sdk): LaunchTimedOut
  • monotouch-test/iOS - simulator/Release (link all): LaunchTimedOut
  • monotouch-test/iOS - simulator/Debug (PrepareAssemblies): BuildFailure
  • monotouch-test/iOS - simulator/Debug (LinkSdk): LaunchTimedOut
  • monotouch-test/iOS - simulator/Debug (static registrar): LaunchTimedOut
  • monotouch-test/iOS - simulator/Release (all optimizations): LaunchTimedOut
  • monotouch-test/iOS - simulator/Debug (ARM64): LaunchTimedOut
  • monotouch-test/iOS - simulator/Release (NativeAOT, ARM64): LaunchTimedOut
  • monotouch-test/iOS - simulator/Release (trimmable static registrar, NativeAOT, ARM64): LaunchTimedOut
  • monotouch-test/iOS - simulator/Debug (managed static registrar): LaunchTimedOut
  • monotouch-test/iOS - simulator/Release (managed static registrar, all optimizations): LaunchTimedOut
  • monotouch-test/iOS - simulator/Release (NativeAOT, x64): LaunchTimedOut
  • monotouch-test/iOS - simulator/Release (trimmable static registrar, NativeAOT, x64): LaunchTimedOut
  • monotouch-test/iOS - simulator/Debug (interpreter): LaunchTimedOut
  • monotouch-test/iOS - simulator/Release (interpreter): LaunchTimedOut
  • monotouch-test/iOS - simulator/Release (compat inline Class.GetHandle): LaunchTimedOut
  • monotouch-test/iOS - simulator/Release (strict inline Class.GetHandle): LaunchTimedOut
  • monotouch-test/iOS - simulator/Release (compat inline dlfcn): LaunchTimedOut
  • monotouch-test/iOS - simulator/Release (strict inline dlfcn, link sdk): LaunchTimedOut
  • monotouch-test/iOS - simulator/Release (NativeAOT, .NET 11 defaults): LaunchTimedOut

Html Report (VSDrops) Download

❌ monotouch tests (MacCatalyst)

1 tests failed, 23 tests passed.

Failed tests

  • monotouch-test/Mac Catalyst/Debug (PrepareAssemblies): BuildFailure ( (failed to parse the logs: The Writer is closed or in error state.))

Html Report (VSDrops) Download

❌ monotouch tests (macOS)

2 tests failed, 22 tests passed.

Failed tests

  • monotouch-test/macOS/Debug (PrepareAssemblies): BuildFailure ( (failed to parse the logs: The Writer is closed or in error state.))
  • monotouch-test/macOS/Release (trimmable static registrar, NativeAOT, x64): TimedOut (Execution timed out after 1200 seconds.
    Test run crashed)

Html Report (VSDrops) Download

❌ monotouch tests (tvOS)

1 tests failed, 20 tests passed.

Failed tests

  • monotouch-test/tvOS - simulator/Debug (PrepareAssemblies): BuildFailure

Html Report (VSDrops) Download

❌ windows tests

3 tests failed, 0 tests passed.

Failed tests

  • BGen tests/GeneratorTests.ErrorTests.BI1066(iOS): Failed: The error 'BI1066' was not found in the output.

  • BGen tests/GeneratorTests.BGenTests.StackOverflow20696157: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.AvailabilityAttributes(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ErrorTests.BI1050_model(iOS): Failed: The error 'BI1050' was not found in the output.

  • BGen tests/GeneratorTests.BGenTests.ForcedType: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.Bug36457: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.GenericNSObjectParameter: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.Desk79124: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.ClassNameCollision(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ErrorTests.BI1065(iOS): Failed: The error 'BI1065' was not found in the output.

  • BGen tests/GeneratorTests.BGenTests.GHIssue18645_DuplicatedFiled: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.Bug53076: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ErrorTests.BI1041(macOSMobile): Failed: The error 'BI1041' was not found in the output.

  • BGen tests/GeneratorTests.BGenTests.GHIssue5444: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.Bug15283: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ErrorTests.MissingExportOnProperty(macOSMobile): Failed: The error 'BI1018' was not found in the output.

  • BGen tests/GeneratorTests.ErrorTests.BindAsNoRefParam(iOS): Failed: The error 'BI1080' was not found in the output.

  • BGen tests/GeneratorTests.BGenTests.FieldEnumTests(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.NFloatType: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.StrongDictSupportTemplatedDicts: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ErrorTests.MissingExportOnProperty(iOS): Failed: The error 'BI1018' was not found in the output.

  • BGen tests/GeneratorTests.BGenTests.ProtocolDuplicateAbstract(macOSMobile): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.Bug46292(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.INativeObjectArraysInBlocks(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ErrorTests.BI1042(iOS): Failed: The error 'BI1042' was not found in the output.

  • BGen tests/GeneratorTests.BGenTests.SimulatorAvailabilityAttributes_NotEmittedForMacPlatforms(MacCatalyst): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.BMac_Smoke(macOSMobile): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ErrorTests.BI1117_methodinternal(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.ReturnRelease: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.CSharp10Syntax: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.InternalDelegate: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.Bug17232: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.Bug35176: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.NativeEnum(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.ArrayFromHandleBug: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ErrorTests.BI1039(macOSMobile): Failed: The error 'BI1039' was not found in the output.

  • BGen tests/GeneratorTests.ErrorTests.BI1117_classinternal(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ErrorTests.NoWarn(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.BothProtectedAndInternal(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ErrorTests.BindAsNullableNSValueArrayError(iOS): Failed: The error 'BI1048' was not found in the output.

  • BGen tests/GeneratorTests.BGenTests.Bug39614(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.AvailabilityAttributes(macOSMobile): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.DelegatesWithPointerTypes(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.TypesInMultipleNamespaces(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ErrorTests.ErrorDomain_NoLibraryName(iOS): Failed: The error 'BI1087' was not found in the output.

  • BGen tests/GeneratorTests.BGenTests.AbstractTypeTest: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.Bug29493: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.AttributesFromInlinedProtocols(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.DelegateWithINativeObjectReturnType: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ErrorTests.BindAsNoMultidimensionalArrays(iOS): Failed: The error 'BI1048' was not found in the output.

  • BGen tests/GeneratorTests.BGenTests.Bug57531: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ErrorTests.GH6863_method(iOS): Failed: The error 'BI1072' was not found in the output.

  • BGen tests/GeneratorTests.BGenTests.Issue19612: Failed: CSC exit code

  • BGen tests/GeneratorTests.BGenTests.GH5416_setter(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.Bug18035(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.ObsoletedOSPlatform(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.SnippetAttributesOptimizable: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.Bug27430: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.Bug53076WithModel: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.IsDirectBinding: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.BMac_With_Hyphen_In_Name(macOSMobile): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.GHIssue9065_Sealed: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.NSApplicationPublicEnsureMethods(macOSMobile): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.BindAsTests: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ProtocolTests.Members(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ErrorTests.BI1062_NoAsyncMethodRefParameterTest(iOS): Failed: The error 'BI1062' was not found in the output.

  • BGen tests/GeneratorTests.BGenTests.GeneratedAttributeOnPropertyAccessors2: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ErrorTests.StrongDictionaryErrors(MacCatalyst): Failed: The error 'BI1121' was not found in the output.

  • BGen tests/GeneratorTests.ErrorTests.NoWarn(macOSMobile): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ErrorTests.BI1060(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.PreviewAPIs(macOSMobile): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.ProtocolWithBaseTypeButNoModel(MacCatalyst): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ErrorTests.BI1038(macOSMobile): Failed: The error 'BI1038' was not found in the output.

  • BGen tests/GeneratorTests.BGenTests.Bug40282: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.Issue3875("issue3875C.cs","api0__Issue3875_AProtocol"): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.ProtocolBindProperty: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.MultipleApiDefinitions1: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.NSCopyingNullability(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.EditorBrowsable(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.DelegateParameterAttributes: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ErrorTests.WarnAsError(iOS): Failed: The error 'BI1117' was not found in the output.

  • BGen tests/GeneratorTests.ErrorTests.BindAsNoOutParam(iOS): Failed: The error 'BI1080' was not found in the output.

  • BGen tests/GeneratorTests.ErrorTests.BI1117(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.NoAvailabilityForAccessors(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.SmartEnumWithFramework(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ProtocolTests.Members(MacCatalyst): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.MultipleApiDefinitions2: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.DelegatesWithNullableReturnType(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.AvailabilityAttributes(MacCatalyst): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ErrorTests.BI1067_1070(iOS): Failed: The error 'BI1067' was not found in the output.

  • BGen tests/GeneratorTests.BGenTests.VSTS970507: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ErrorTests.BI1062_NoAsyncMethodOutParameterTest(iOS): Failed: The error 'BI1062' was not found in the output.

  • BGen tests/GeneratorTests.ErrorTests.BI1063_NoDoubleWrapTest(iOS): Failed: The error 'BI1063' was not found in the output.

  • BGen tests/GeneratorTests.BGenTests.DesignatedInitializer(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.BackingFieldType(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.PreviewAPIs(tvOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.StrongDictsNativeEnums: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.BackingFieldType(MacCatalyst): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ErrorTests.BI1046(iOS): Failed: The error 'BI1046' was not found in the output.

  • BGen tests/GeneratorTests.ErrorTests.BI1112_Bug37527_WrongProperty(iOS): Failed: The error 'BI1112' was not found in the output.

  • BGen tests/GeneratorTests.BGen.ResponseFile(iOS): Failed: BGen failed with exit code 1: response file

  • BGen tests/GeneratorTests.BGenTests.SimulatorAvailabilityAttributes(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.NoAsyncWarningCS0219(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.XmlDocs(MacCatalyst): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.INativeObjectsInBlocks(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.PropertyRedefinition: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.Bug42742: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.Forum54078: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ErrorTests.BI1050_protocol(iOS): Failed: The error 'BI1050' was not found in the output.

  • BGen tests/GeneratorTests.BGenTests.Desk63279: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.Bug31788(macOSMobile): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.Issue3875("issue3875B.cs","BProtocol"): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ErrorTests.GH6863_property(iOS): Failed: The error 'BI1071' was not found in the output.

  • BGen tests/GeneratorTests.BGenTests.PreviewAPIs(MacCatalyst): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.GeneratedAttributeOnPropertyAccessors: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ErrorTests.BI1064(iOS): Failed: The error 'BI1064' was not found in the output.

  • BGen tests/GeneratorTests.BGenTests.Bug16036: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.Bug27428: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.Bug43579: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.SimulatorAvailabilityAttributes_NotEmittedForMacPlatforms(macOSMobile): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ErrorTests.BI1113_Bug37527_MissingProperty(iOS): Failed: The error 'BI1113' was not found in the output.

  • BGen tests/GeneratorTests.BGenTests.PropertyRedefinitionMac(macOSMobile): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.Bug57870: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.VirtualWrap(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.GH5416_method(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.Bug15307: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.NewerAvailabilityInInlinedProtocol(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.RefOutParameters: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ErrorTests.BI1077(iOS): Failed: The error 'BI1077' was not found in the output.

  • BGen tests/GeneratorTests.ErrorTests.BI1062_NoAsyncMethodOutHandlerTest(iOS): Failed: The error 'BI1062' was not found in the output.

  • BGen tests/GeneratorTests.BGenTests.DynamicDependencyAttribute: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.DisposeAttributeOptimizable: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ErrorTests.WarnAsError(macOSMobile): Failed: The error 'BI1117' was not found in the output.

  • BGen tests/GeneratorTests.ErrorTests.BI1049(iOS): Failed: The error 'BI1049' was not found in the output.

  • BGen tests/GeneratorTests.BGenTests.Bug27986: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ErrorTests.BI1037(macOSMobile): Failed: The error 'BI1037' was not found in the output.

  • BGen tests/GeneratorTests.BGenTests.IgnoreUnavailableProtocol: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.ErrorDomain(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.Bug34042: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.GHIssue5692: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.GHIssue6626: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.HyphenInName: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ErrorTests.BI1036(iOS): Failed: The error 'BI1036' was not found in the output.

  • BGen tests/GeneratorTests.BGenTests.XmlDocs(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.XmlDocs(macOSMobile): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ErrorTests.BI1040(macOSMobile): Failed: The error 'BI1040' was not found in the output.

  • BGen tests/GeneratorTests.BGenTests.NoAsyncInternalWrapper(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ErrorTests.BI1059(iOS): Failed: The error 'BI1084' was not found in the output.

  • BGen tests/GeneratorTests.ErrorTests.BindAsNullableNSStringArrayError(iOS): Failed: The error 'BI1048' was not found in the output.

  • BGen tests/GeneratorTests.BGenTests.PreviewAPIs(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.GenericStrongDictionary: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.UnderlyingFieldType(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.Issue3875("issue3875.cs","api0__Issue3875_AProtocol"): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.SimulatorAvailabilityAttributes(tvOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.GHIssue3869: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ErrorTests.BI1062_NoAsyncMethodRefHandlerTest(iOS): Failed: The error 'BI1062' was not found in the output.

  • BGen tests/GeneratorTests.BGenTests.DiamondProtocol: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ErrorTests.Bug57094Test(iOS): Failed: The error 'BI1014' was not found in the output.

  • BGen tests/GeneratorTests.BGenTests.Bug24078: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.XmlDocs(tvOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.ReleaseAttribute(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.AvailabilityAttributes(tvOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ErrorTests.BindAsNullableNSNumberArrayError(iOS): Failed: The error 'BI1048' was not found in the output.

  • BGen tests/GeneratorTests.ErrorTests.BI1048(iOS): Failed: The error 'BI1048' was not found in the output.

  • BGen tests/GeneratorTests.BGenTests.GHIssue7304: Failed: BGen failed with exit code 1: build

Html Report (VSDrops) Download

❌ xcframework tests

2 tests failed, 2 tests passed.

Failed tests

  • xcframework-test/iOS - simulator/Debug: LaunchTimedOut
  • xcframework-test/tvOS - simulator/Debug: LaunchTimedOut

Html Report (VSDrops) [Download](https://devdiv.visualstudio.com/DevDiv/_apis/build/builds/14417896/artif\n\nThe message from CI is too large for the GitHub comments. You can find the full results here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants