Skip to content

Conversation

jtschuster
Copy link
Member

Now they will have the RID in the output path and multiple architectures can be build side by side.

Closes #96572

@Copilot Copilot AI review requested due to automatic review settings July 7, 2025 18:33
Copy link
Contributor

@Copilot Copilot AI left a comment

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 updates test projects that reference NativeExports to be platform-specific by including the runtime identifier in their output paths, enabling side-by-side builds for multiple architectures.

  • Adds <RuntimeIdentifier>$(TargetRid)</RuntimeIdentifier> to relevant test project files
  • Documents the platform-specific nature of NativeExports in a comment

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.Tests/LibraryImportGenerator.Tests.csproj Adds RuntimeIdentifier and comment for NativeExports dependency
src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Tests/ComInterfaceGenerator.Tests.csproj Adds RuntimeIdentifier and comment for NativeExports dependency

Copy link
Member

@jkoritzinsky jkoritzinsky left a comment

Choose a reason for hiding this comment

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

If the tests still run on Helix, LGTM!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Status: Done
Status: Done
Development

Successfully merging this pull request may close these issues.

Problem with ComInterfaceGenerator.Tests build
2 participants