Repository navigation
File-based apps: remove feature flag for #:ref - #56247
Merged
Merged
Conversation
|
Azure Pipelines: Successfully started running 2 pipeline(s). 1 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
|
Azure Pipelines: Successfully started running 2 pipeline(s). 1 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No unresolved review comments remain and the supplied assessments support approval.
Pull request overview
Removes the experimental feature flag for #:ref, enabling it by default in file-based apps.
Changes:
- Removes flag validation, API constants, resources, and documentation.
- Updates related run, reference, and conversion tests.
- Removes obsolete localized resource entries.
File summaries
| File | Summary |
|---|---|
test/dotnet.Tests/CommandTests/Run/RunFileTests_General.cs |
Updates stdin reference tests. |
test/dotnet.Tests/CommandTests/Run/RunFileTests_Directives.cs |
Updates directive tests. |
test/dotnet.Tests/CommandTests/Run/RunFileTests_CscOnlyAndApi.cs |
Updates reference build and API tests. |
test/dotnet.Tests/CommandTests/Run/RunFileTests_BuildOptions.cs |
Updates build-option tests. |
test/dotnet.Tests/CommandTests/Run/RunFileTestBase.cs |
Removes the flag helper. |
test/dotnet.Tests/CommandTests/Reference/Remove/GivenDotnetRemoveP2P.cs |
Updates reference removal tests. |
test/dotnet.Tests/CommandTests/Reference/List/GivenDotnetListReference.cs |
Updates reference listing tests. |
test/dotnet.Tests/CommandTests/Reference/Add/GivenDotnetAddReference.cs |
Updates reference addition tests. |
test/dotnet.Tests/CommandTests/Project/Convert/DotnetProjectConvertTests.cs |
Updates conversion tests. |
src/Cli/Microsoft.DotNet.FileBasedPrograms/xlf/FileBasedProgramsResources.zh-Hant.xlf |
Removes obsolete localization. |
src/Cli/Microsoft.DotNet.FileBasedPrograms/xlf/FileBasedProgramsResources.zh-Hans.xlf |
Removes obsolete localization. |
src/Cli/Microsoft.DotNet.FileBasedPrograms/xlf/FileBasedProgramsResources.tr.xlf |
Removes obsolete localization. |
src/Cli/Microsoft.DotNet.FileBasedPrograms/xlf/FileBasedProgramsResources.ru.xlf |
Removes obsolete localization. |
src/Cli/Microsoft.DotNet.FileBasedPrograms/xlf/FileBasedProgramsResources.pt-BR.xlf |
Removes obsolete localization. |
src/Cli/Microsoft.DotNet.FileBasedPrograms/xlf/FileBasedProgramsResources.pl.xlf |
Removes obsolete localization. |
src/Cli/Microsoft.DotNet.FileBasedPrograms/xlf/FileBasedProgramsResources.ko.xlf |
Removes obsolete localization. |
src/Cli/Microsoft.DotNet.FileBasedPrograms/xlf/FileBasedProgramsResources.ja.xlf |
Removes obsolete localization. |
src/Cli/Microsoft.DotNet.FileBasedPrograms/xlf/FileBasedProgramsResources.it.xlf |
Removes obsolete localization. |
src/Cli/Microsoft.DotNet.FileBasedPrograms/xlf/FileBasedProgramsResources.fr.xlf |
Removes obsolete localization. |
src/Cli/Microsoft.DotNet.FileBasedPrograms/xlf/FileBasedProgramsResources.es.xlf |
Removes obsolete localization. |
src/Cli/Microsoft.DotNet.FileBasedPrograms/xlf/FileBasedProgramsResources.de.xlf |
Removes obsolete localization. |
src/Cli/Microsoft.DotNet.FileBasedPrograms/xlf/FileBasedProgramsResources.cs.xlf |
Removes obsolete localization. |
src/Cli/Microsoft.DotNet.FileBasedPrograms/VirtualProjectBuilder.cs |
Removes feature-gate validation. |
src/Cli/Microsoft.DotNet.FileBasedPrograms/InternalAPI.Unshipped.txt |
Removes the obsolete API entry. |
src/Cli/Microsoft.DotNet.FileBasedPrograms/FileLevelDirectiveHelpers.cs |
Removes the obsolete flag constant. |
src/Cli/Microsoft.DotNet.FileBasedPrograms/FileBasedProgramsResources.resx |
Removes the obsolete resource. |
documentation/general/dotnet-run-file.md |
Removes feature-flag documentation. |
Review details
- Files reviewed: 27/27 changed files
- Comments generated: 0
- Review effort level: Lite
DamianEdwards
approved these changes
Sep 11, 2026
RikkiGibson
approved these changes
Sep 11, 2026
jjonescz
had a problem deploying
to
copilot-pat-pool
September 14, 2026 11:09 — with
GitHub Actions
Failure
Member
Author
|
/backport to release/11.0.1xx |
Contributor
|
Started backporting to |
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.