Skip to content

[msbuild] Resolve Content and BundleResource items using the main project's location. Fixes 23898.#25713

Open
rolfbjarne wants to merge 9 commits into
mainfrom
dev/rolf/issue-23898-test
Open

[msbuild] Resolve Content and BundleResource items using the main project's location. Fixes 23898.#25713
rolfbjarne wants to merge 9 commits into
mainfrom
dev/rolf/issue-23898-test

Conversation

@rolfbjarne

@rolfbjarne rolfbjarne commented Jun 17, 2026

Copy link
Copy Markdown
Member

Always compute the LogicalName for Content and BundleResource items relative to the project file (LocalMSBuildProjectFullPath) instead of the defining project file (LocalDefiningProjectFullPath). This fixes the issue where SDKs (like the Razor SDK) that add Content items from a directory far from the project would produce nonsensical paths like '../../../../../src/MyProject/file.png' that get rejected.

Fixes #23898

🤖 Pull request created by Copilot

Add a test that reproduces the issue where Content/BundleResource items
defined by an SDK (like the Razor SDK) have their LogicalName computed
relative to the SDK directory instead of the project directory, resulting
in paths like '../../../../../src/MyProject/file.png' that get rejected.

This test currently fails, demonstrating the bug described in #23898.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@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

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

…s location. Fixes #23898.

Always compute the LogicalName for Content and BundleResource items
relative to the project file (LocalMSBuildProjectFullPath) instead of
the defining project file (LocalDefiningProjectFullPath). This fixes
the issue where SDKs (like the Razor SDK) that add Content items
from a directory far from the project would produce nonsensical paths
like '../../../../../src/MyProject/file.png' that get rejected.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

…10/11, opt-out for .NET 12+

Add a new MSBuild property ResolveResourceItemsRelativeToProject that
controls whether Content and BundleResource items have their LogicalName
computed relative to the project file (new behavior) or the defining
project file (legacy behavior).

- .NET 10 and .NET 11: defaults to false (opt-in)
- .NET 12+: defaults to true (opt-out)

The property is passed through a new IHasResolveResourceItemsRelativeToProject
interface so that GetVirtualProjectPath can check the flag without changing
its generic constraints.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@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

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

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

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.

…ode paths

Test with ResolveResourceItemsRelativeToProject=true (.NET 12+ default)
and ResolveResourceItemsRelativeToProject=false (.NET 10/11 default) to
ensure both the fixed and legacy behaviors are covered.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@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

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@rolfbjarne rolfbjarne marked this pull request as ready for review July 1, 2026 18:24
@rolfbjarne rolfbjarne requested a review from mauroa as a code owner July 1, 2026 18:24
Copilot AI review requested due to automatic review settings July 1, 2026 18:24
@rolfbjarne

Copy link
Copy Markdown
Member Author

/review

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

.NET for Apple Platforms PR Reviewer completed successfully!

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 introduces an MSBuild switch (ResolveResourceItemsRelativeToProject) to compute Content/BundleResource LogicalName values relative to the main project file location (LocalMSBuildProjectFullPath) instead of the defining project (LocalDefiningProjectFullPath), addressing cases where SDKs add items from directories far from the project.

Changes:

  • Add and plumb ResolveResourceItemsRelativeToProject from MSBuild props/targets into CollectBundleResources.
  • Update BundleResource.GetVirtualProjectPath to optionally resolve relative paths against the main project file directory.
  • Add a regression test and document the new build property.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
tests/msbuild/Xamarin.MacDev.Tasks.Tests/TaskTests/CollectBundleResourcesTaskTests.cs Adds a test covering SDK-defined content items far from the project directory.
msbuild/Xamarin.Shared/Xamarin.Shared.targets Passes ResolveResourceItemsRelativeToProject into the CollectBundleResources task invocation.
msbuild/Xamarin.Shared/Xamarin.Shared.props Introduces defaulting logic for ResolveResourceItemsRelativeToProject based on target framework version.
msbuild/Xamarin.MacDev.Tasks/Tasks/Interfaces.cs Adds a new task interface to expose ResolveResourceItemsRelativeToProject.
msbuild/Xamarin.MacDev.Tasks/Tasks/CollectBundleResources.cs Implements the new interface/property so BundleResource logic can pick it up.
msbuild/Xamarin.MacDev.Tasks/BundleResource.cs Implements conditional “resolve relative to main project” behavior when computing virtual paths.
docs/building-apps/build-properties.md Documents the new build property and its defaults.

Comment thread msbuild/Xamarin.Shared/Xamarin.Shared.props
Comment thread docs/building-apps/build-properties.md
Comment thread docs/building-apps/build-properties.md

@github-actions github-actions Bot 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.

Review Summary

LGTM — This is a solid fix for a real MSBuild issue. The PR addresses the problem where SDKs (like Razor) add items from directories far from the project, causing incorrect path computation.

Strengths

Well-tested — Comprehensive test coverage for both the new behavior (.NET 12+) and legacy behavior (.NET 10/11)
Backward compatible — Proper opt-in/opt-out strategy across .NET versions
Good documentation — The build-properties.md file clearly explains the new property
Clean implementation — The code changes are focused and follow existing patterns

Observations

  • The implementation correctly moves the localDefiningProjectFullPath null check to only run when needed (line 129 in BundleResource.cs)
  • The interface-based approach (IHasResolveResourceItemsRelativeToProject) is consistent with other MSBuild task properties in this codebase
  • Test assertions validate both the success case (3 resources with correct logical names) and the failure case (3 warnings, 0 resources)

Minor Suggestions

See inline comments for:

  • 💡 Potential enforcement of the "gone in .NET 13" claim
  • 💡 Test pattern consistency verification

Overall, this is good work addressing a real pain point for Blazor/Razor developers on Apple platforms. The gradual rollout strategy (opt-in → default → mandatory) is well-designed.

Generated by .NET for Apple Platforms PR Reviewer for issue #25713 · 38.7 AIC · ⌖ 9.02 AIC · ⊞ 5.1K
Comment /review to run again

<!-- Resolve Content and BundleResource items relative to the project file instead of the defining project file.
This fixes issues where SDKs (like the Razor SDK) add items from a directory far from the project,
producing nonsensical paths. Ref: https://github.com/dotnet/macios/issues/23898
Opt-in for .NET 10 and .NET 11, opt-out for .NET 12, gone in .NET 13. -->

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.

🤖 💡 Documentation — The comment mentions "gone in .NET 13", but there's no enforcement mechanism in the code.

Consider adding a condition that causes a build error if the property is set in .NET 13+, to ensure this breaking change happens as documented. For example:

<PropertyGroup Condition="$([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 13.0))">
  <MSBuildError Condition="'$(ResolveResourceItemsRelativeToProject)' == 'false'">
    ResolveResourceItemsRelativeToProject is no longer supported in .NET 13. Remove this property.
  </MSBuildError>
</PropertyGroup>

Rule: Track TODOs as issues (or enforce them)

items.Add (item);
}

var task = CreateTask<CollectBundleResources> ();

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.

🤖 💡 Testing — The test uses CreateTask<CollectBundleResources>() which likely inherits from a test base. Does this properly initialize task.ProjectDir?

Looking at line 79, you explicitly set task.ProjectDir = projDir + Path.DirectorySeparatorChar;, but in the existing test LogicalNameOutsideAppBundle(), there's no explicit task.ProjectDir initialization. This suggests the base CreateTask method might not initialize it correctly.

Verify that the ProjectDir property is always initialized, or document that tests must set it explicitly. The current code works, but it's worth confirming the pattern is consistent.

Rule: Test edge cases

@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 #1f73a0d] Build passed (Detect API changes) ✅

Pipeline on Agent
Hash: 1f73a0dd8f97f7c87e35eb75d0e596cc39981b02 [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ [PR Build #1f73a0d] Build passed (Build packages) ✅

Pipeline on Agent
Hash: 1f73a0dd8f97f7c87e35eb75d0e596cc39981b02 [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@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: 1f73a0dd8f97f7c87e35eb75d0e596cc39981b02 [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ [PR Build #1f73a0d] Build passed (Build macOS tests) ✅

Pipeline on Agent
Hash: 1f73a0dd8f97f7c87e35eb75d0e596cc39981b02 [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🔥 [CI Build #1f73a0d] Test results 🔥

Test results

❌ Tests failed on VSTS: test results

1 tests crashed, 1 tests failed, 193 tests passed.

Failures

❌ windows tests

1 tests failed, 2 tests passed.

Failed tests

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

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

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

  • BGen tests/GeneratorTests.BGenTests.DesignatedInitializer(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.BackingFieldType(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.AbstractTypeTest: 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.BGenTests.NoAsyncWarningCS0219(iOS): 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.BGenTests.FieldEnumTests(iOS): 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.GeneratedAttributeOnPropertyAccessors: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.NoAsyncInternalWrapper(iOS): 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.BI1077(iOS): Failed: The error 'BI1077' was not found in the output.

  • BGen tests/GeneratorTests.BGenTests.DelegateParameterAttributes: 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.BGenTests.PropertyRedefinition: 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.BI1112_Bug37527_WrongProperty(iOS): Failed: The error 'BI1112' was not found in the output.

  • BGen tests/GeneratorTests.BGenTests.Bug53076WithModel: 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.BGenTests.BackingFieldType(MacCatalyst): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.PropertyRedefinitionMac(macOSMobile): 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.ArrayFromHandleBug: 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.GenericStrongDictionary: 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.ErrorTests.ErrorDomain_NoLibraryName(iOS): Failed: The error 'BI1087' was not found in the output.

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

  • BGen tests/GeneratorTests.ErrorTests.NoWarn(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.ForcedType: 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.TypesInMultipleNamespaces(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.Bug27430: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.ErrorTests.BI1117_classinternal(iOS): 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.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.BGenTests.AvailabilityAttributes(iOS): 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.GHIssue3869: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.SimulatorAvailabilityAttributes(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.NoAvailabilityForAccessors(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.XmlDocs(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.BGenTests.Bug57870: Failed: BGen failed with exit code 1: build

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

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

  • BGen tests/GeneratorTests.BGenTests.Bug57531: 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.DisposeAttributeOptimizable: Failed: BGen failed with exit code 1: build

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

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

  • BGen tests/GeneratorTests.BGenTests.INativeObjectArraysInBlocks(iOS): 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.BI1042(iOS): Failed: The error 'BI1042' 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.ProtocolBindProperty: 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.BGenTests.GH5416_setter(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.BGenTests.Bug40282: Failed: BGen failed with exit code 1: build

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

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

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

  • BGen tests/GeneratorTests.BGenTests.Bug24078: 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.SimulatorAvailabilityAttributes_NotEmittedForMacPlatforms(macOSMobile): 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.ErrorTests.BI1060(iOS): 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.IgnoreUnavailableProtocol: Failed: BGen failed with exit code 1: build

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

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

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

  • BGen tests/GeneratorTests.BGenTests.BindAsTests: 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.Bug16036: 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.ProtocolWithBaseTypeButNoModel(MacCatalyst): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.ProtocolDuplicateAbstract(macOSMobile): 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.GHIssue5444: 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.BGenTests.NSCopyingNullability(iOS): 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.SimulatorAvailabilityAttributes(tvOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.NFloatType: 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.ErrorTests.BI1062_NoAsyncMethodRefHandlerTest(iOS): Failed: The error 'BI1062' was not found in the output.

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

  • BGen tests/GeneratorTests.BGenTests.MultipleApiDefinitions2: 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.ErrorTests.BindAsNullableNSStringArrayError(iOS): Failed: The error 'BI1048' was not found in the output.

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

  • BGen tests/GeneratorTests.BGenTests.Bug15307: 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.PreviewAPIs(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.GHIssue6626: 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.PreviewAPIs(iOS): 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.ErrorTests.BI1050_model(iOS): Failed: The error 'BI1050' was not found in the output.

  • BGen tests/GeneratorTests.BGenTests.DelegateWithINativeObjectReturnType: 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.ClassNameCollision(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.ErrorTests.BI1065(iOS): Failed: The error 'BI1065' was not found in the output.

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

  • 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.ProtocolTests.Members(iOS): Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.StrongDictSupportTemplatedDicts: 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.CSharp10Syntax: 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.ErrorTests.BI1067_1070(iOS): Failed: The error 'BI1067' was not found in the output.

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

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

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

  • BGen tests/GeneratorTests.BGenTests.AttributesFromInlinedProtocols(iOS): 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.IsDirectBinding: 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.BindAsNoOutParam(iOS): Failed: The error 'BI1080' was not found in the output.

  • BGen tests/GeneratorTests.BGenTests.Bug46292(iOS): 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.BothProtectedAndInternal(iOS): 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.UnderlyingFieldType(iOS): 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.Bug43579: Failed: BGen failed with exit code 1: build

  • BGen tests/GeneratorTests.BGenTests.DiamondProtocol: 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.BGenTests.BMac_Smoke(macOSMobile): 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.BGen.ResponseFile(iOS): Failed: BGen failed with exit code 1: response file

  • BGen tests/GeneratorTests.BGenTests.Bug27428: 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.GeneratedAttributeOnPropertyAccessors2: 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.ErrorTests.BindAsNullableNSValueArrayError(iOS): Failed: The error 'BI1048' was not found in the output.

  • BGen tests/GeneratorTests.BGenTests.DynamicDependencyAttribute: 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.DelegatesWithNullableReturnType(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.Forum54078: 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.EditorBrowsable(iOS): 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.XmlDocs(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.BGenTests.Bug42742: Failed: BGen failed with exit code 1: build

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

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

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

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

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

Html Report (VSDrops) Download

❌ Tests on macOS Sonoma (14) tests

🔥 Failed catastrophically on VSTS: test results - mac_sonoma (no summary found).

Html Report (VSDrops) Download

Successes

✅ assembly-processing: All 1 tests passed. Html Report (VSDrops) Download
✅ cecil: All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (iOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (MacCatalyst): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (macOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (Multiple platforms): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (tvOS): All 1 tests passed. Html Report (VSDrops) Download
✅ framework: All 2 tests passed. Html Report (VSDrops) Download
✅ fsharp: All 4 tests passed. Html Report (VSDrops) Download
✅ generator: All 5 tests passed. Html Report (VSDrops) Download
✅ interdependent-binding-projects: All 4 tests passed. Html Report (VSDrops) Download
✅ introspection: All 4 tests passed. Html Report (VSDrops) Download
✅ linker (iOS): All 15 tests passed. Html Report (VSDrops) Download
✅ linker (MacCatalyst): All 15 tests passed. Html Report (VSDrops) Download
✅ linker (macOS): All 21 tests passed. Html Report (VSDrops) Download
✅ linker (tvOS): All 15 tests passed. Html Report (VSDrops) Download
✅ monotouch (iOS): All 18 tests passed. Html Report (VSDrops) Download
✅ monotouch (MacCatalyst): All 17 tests passed. Html Report (VSDrops) Download
✅ monotouch (macOS): All 18 tests passed. Html Report (VSDrops) Download
✅ monotouch (tvOS): All 18 tests passed. Html Report (VSDrops) Download
✅ msbuild: All 2 tests passed. Html Report (VSDrops) Download
✅ sharpie: All 1 tests passed. Html Report (VSDrops) Download
✅ xcframework: All 4 tests passed. Html Report (VSDrops) Download
✅ xtro: All 1 tests passed. Html Report (VSDrops) Download

macOS tests

✅ Tests on macOS Monterey (12): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Ventura (13): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Sequoia (15): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Tahoe (26): All 5 tests passed. Html Report (VSDrops) Download

Linux Build Verification

Linux build succeeded

Pipeline on Agent
Hash: 1f73a0dd8f97f7c87e35eb75d0e596cc39981b02 [PR build]

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.

Content and BundleResource items are resolved using the defining project's location

4 participants