Update autoscale article for .NET DPI handling#2157
Conversation
…de updates Co-authored-by: adegeo <67293991+adegeo@users.noreply.github.com>
|
@copilot One thing I noticed is that it says it's configured through the project. While that is true, I believe you can still override it with the app manifest. |
Co-authored-by: adegeo <67293991+adegeo@users.noreply.github.com>
Added a NOTE clarifying that app.manifest can still override the project file settings, though it's discouraged due to potential conflicts. The note links to the WFO0003 compiler warning documentation for more details. (63bc3bc) |
|
@copilot We should mention something about the designer: https://learn.microsoft.com/en-us/visualstudio/designers/disable-dpi-awareness?view=visualstudio |
…aware property Co-authored-by: adegeo <67293991+adegeo@users.noreply.github.com>
Added a subsection about Visual Studio designer considerations, including the |
There was a problem hiding this comment.
Pull request overview
This PR comprehensively rewrites the autoscale.md article to reflect how DPI handling works in modern .NET (6.0+) instead of .NET Framework. The update addresses a documentation gap where the article was incorrectly describing .NET Framework behavior as current .NET behavior.
Changes:
- Added new sections explaining modern .NET DPI configuration through project file properties
- Added detailed information about high DPI improvements in .NET 6, 7, and 8
- Added a section explaining differences between .NET Framework and modern .NET
- Applied Microsoft Style Guide transformations throughout the document
- Added AI-usage disclosure to frontmatter
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
@copilot Change the recommendation to SystemAware. And it's also the default. |
Co-authored-by: adegeo <67293991+adegeo@users.noreply.github.com>
Changed the recommendation from PerMonitorV2 to SystemAware and clarified that SystemAware is the default mode. Updated the description to explain that SystemAware queries for DPI once at application startup and uses that value throughout the application's lifetime for consistent scaling behavior. (fb635ad) |
|
@copilot Some of the changes in this PR add the phrase "Modern .NET" which isn't a phrase we want to use. Please just talk about it as ".NET" and if it's important to differentiate between .NET Framework, make sure to use both terms together, such as "Unlike .NET Framework, in .NET you...." |
Co-authored-by: adegeo <67293991+adegeo@users.noreply.github.com>
Replaced all instances of "Modern .NET" with ".NET" throughout the article. When differentiating from .NET Framework, now using both terms together (e.g., "Unlike .NET Framework, in .NET...") for clarity. (69ef3b1) |
Rewrite autoscale article to reflect current DPI settings for .NET
Summary of Changes
This PR completely rewrites the autoscale.md article to accurately reflect how DPI handling works in .NET (6.0+) instead of .NET Framework.
Latest Updates (addressing feedback)
PerMonitorV2toSystemAware, which is the default modeSystemAwarequeries for DPI once at application startup and uses that value throughout the application's lifetime for consistent scaling behaviorForceDesignerDPIUnawareproperty for .NET 6+ projects in Visual Studio 2022 17.8+Technical Content Updates
Added "DPI awareness in .NET" section - Explains how .NET (6+) handles DPI configuration differently from .NET Framework:
ApplicationHighDpiModeproject property (default:SystemAware)SystemAwaremode (the default) for consistent scaling behaviorForceDesignerDPIUnawarepropertyAdded "High DPI improvements" section - Details .NET improvements:
Added ".NET Framework differences" section - Clarifies configuration differences:
Updated existing content - Modernized all sections:
Microsoft Style Guide Compliance
Applied comprehensive style transformations per the Markdown Writing Style Instructions:
Voice and Tense
Word Choice
Punctuation and Formatting
Metadata
ai-usage: ai-assistedto frontmatterVerification Completed
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
Internal previews