Skip to content

[xharness] use NetCoreAppPrevious for DLLs loaded into xharness by reflection #115563

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 15, 2025

Conversation

pavelsavara
Copy link
Member

No description provided.

@pavelsavara pavelsavara added this to the 10.0.0 milestone May 14, 2025
@pavelsavara pavelsavara requested a review from akoeplinger May 14, 2025 15:27
@pavelsavara pavelsavara self-assigned this May 14, 2025
@Copilot Copilot AI review requested due to automatic review settings May 14, 2025 15:27
@pavelsavara pavelsavara requested a review from lewing as a code owner May 14, 2025 15:27
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 revises several project configuration files to ensure that DLLs loaded via reflection in xharness target the correct framework version.

  • Changed the target framework from $(NetCoreAppToolCurrent) or $(AspNetCoreAppCurrent) to $(NetCoreAppPrevious) in multiple project files.
  • Updated corresponding file properties and deployment targets to maintain compatibility when loaded into xharness.

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/mono/wasm/symbolicator/WasmSymbolicator.csproj Updated target framework and inline comment to reflect use of $(NetCoreAppPrevious)
src/libraries/Common/tests/System/Net/Prerequisites/RemoteLoopServer/RemoteLoopServer.csproj Updated target framework and comment for reflection-loaded DLL
src/libraries/Common/tests/System/Net/Prerequisites/NetCoreServer/NetCoreServer.csproj Updated target framework and comment for reflection-loaded DLL
src/libraries/Common/tests/System/Net/Prerequisites/LocalEchoServer.props Updated property value for target framework for browser/WASI targets
eng/testing/tests.wasm.targets Updated deployment target for WasmSymbolicator.dll to use $(NetCoreAppPrevious)

@pavelsavara pavelsavara merged commit 40338f3 into dotnet:main May 15, 2025
92 of 94 checks passed
@pavelsavara pavelsavara deleted the xharness_reflection branch May 15, 2025 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants