Skip to content

Remove workarounds for a fixed issue in run-file tests#53214

Merged
jjonescz merged 1 commit intodotnet:release/10.0.3xxfrom
jjonescz:51077-remove-workarounds
Mar 3, 2026
Merged

Remove workarounds for a fixed issue in run-file tests#53214
jjonescz merged 1 commit intodotnet:release/10.0.3xxfrom
jjonescz:51077-remove-workarounds

Conversation

@jjonescz
Copy link
Member

@jjonescz jjonescz commented Mar 3, 2026

Related to #51077.

@jjonescz jjonescz added the Area-run-file Items related to the "dotnet run <file>" effort label Mar 3, 2026
@jjonescz jjonescz marked this pull request as ready for review March 3, 2026 16:23
@jjonescz jjonescz requested review from a team and Copilot March 3, 2026 16:23
Copy link
Contributor

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 removes workarounds from integration tests for issue #51077, which was about the inability to set TargetFramework to an empty value via the #:property directive in file-based programs. Now that the underlying issue is fixed, the tests can use #:property TargetFramework= directly instead of writing a Directory.Build.props file as a side-channel workaround.

Changes:

  • Replaced the Directory.Build.props file workaround in Build_Library_MultiTarget with a #:property TargetFramework= directive.
  • Replaced the same workaround in Build_Exe_MultiTarget with a #:property TargetFramework= directive.

@jjonescz jjonescz merged commit 827ffaa into dotnet:release/10.0.3xx Mar 3, 2026
34 checks passed
@jjonescz jjonescz deleted the 51077-remove-workarounds branch March 3, 2026 22:11
@jjonescz
Copy link
Member Author

jjonescz commented Mar 3, 2026

(test only change, merging with one sign off)

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

Labels

Area-run-file Items related to the "dotnet run <file>" effort

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants