Document breaking change: Double quotes disallowed in file-level directives#49608
Merged
Document breaking change: Double quotes disallowed in file-level directives#49608
Conversation
…ectives Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix error for double quotes in file-level directives
Document breaking change: Double quotes disallowed in file-level directives
Nov 4, 2025
gewarren
approved these changes
Nov 4, 2025
docs/core/compatibility/sdk/10.0/file-level-directive-double-quotes.md
Outdated
Show resolved
Hide resolved
docs/core/compatibility/sdk/10.0/file-level-directive-double-quotes.md
Outdated
Show resolved
Hide resolved
docs/core/compatibility/sdk/10.0/file-level-directive-double-quotes.md
Outdated
Show resolved
Hide resolved
docs/core/compatibility/sdk/10.0/file-level-directive-double-quotes.md
Outdated
Show resolved
Hide resolved
docs/core/compatibility/sdk/10.0/file-level-directive-double-quotes.md
Outdated
Show resolved
Hide resolved
gewarren
reviewed
Nov 4, 2025
docs/core/compatibility/sdk/10.0/file-level-directive-double-quotes.md
Outdated
Show resolved
Hide resolved
docs/core/compatibility/sdk/10.0/file-level-directive-double-quotes.md
Outdated
Show resolved
Hide resolved
docs/core/compatibility/sdk/10.0/file-level-directive-double-quotes.md
Outdated
Show resolved
Hide resolved
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds documentation for a breaking change in .NET 10 GA where double quotes are disallowed in file-level directives (#:) for file-based apps. The change prevents potentially confusing behavior and prepares for future support of quoted directives.
Key Changes
- Adds new breaking change documentation for double quote restrictions in file-level directives.
- Updates the TOC and summary page to include the new breaking change entry.
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
docs/core/compatibility/sdk/10.0/file-level-directive-double-quotes.md |
New breaking change documentation describing the double quote restriction in file-level directives |
docs/core/compatibility/toc.yml |
Adds TOC entry for the new breaking change document |
docs/core/compatibility/10.0.md |
Adds table entry linking to the new breaking change |
docs/core/compatibility/sdk/10.0/file-level-directive-double-quotes.md
Outdated
Show resolved
Hide resolved
jjonescz
approved these changes
Nov 6, 2025
gewarren
reviewed
Nov 6, 2025
docs/core/compatibility/sdk/10.0/file-level-directive-double-quotes.md
Outdated
Show resolved
Hide resolved
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.
.NET 10 GA now errors when double quotes appear in
#:file-level directives for file-based apps. Previously, quotes were silently escaped to"when passed to MSBuild, which didn't provide the expected behavior.Changes
docs/core/compatibility/sdk/10.0/file-level-directive-double-quotes.md#:property,#:sdk,#:package, and#:projectdirectivesDirectory.Build.propsor convert to full project viadotnet project convertExample
Fixes #496360
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.
Internal previews