Skip to content

Conversation

Copy link

Copilot AI commented Jan 28, 2026

The compiler emits warning WFO0003 when DPI awareness is configured via App.manifest instead of the modern project property approach.

Changes

  • ContextMenuManager.csproj: Added <ApplicationHighDpiMode>SystemAware</ApplicationHighDpiMode> property
  • App.manifest: Removed deprecated <application><windowsSettings><dpiAware> section

The SystemAware mode maintains identical DPI behavior to the previous <dpiAware>true</dpiAware> configuration.

Original prompt

This section details on the original issue you should resolve

<issue_title>[Bug]: Fix CSC : warning WFO0003: Remove high DPI settings from D:\a\ContextMenuManager\ContextMenuManager\ContextMenuManager\Properties\App.manifest and configure via Application.SetHighDpiMode API or 'ApplicationHighDpiMode' project property</issue_title>
<issue_description>### Checklist

  • This bug has not already been reported (search here)
  • I have updated ContextMenuManager to the latest version
  • I understand that any issue not following the guidelines may be closed directly

Windows

Windows 11

Version

3.6.1.0

Steps to Reproduce

CSC : warning WFO0003: Remove high DPI settings from D:\a\ContextMenuManager\ContextMenuManager\ContextMenuManager\Properties\App.manifest and configure via Application.SetHighDpiMode API or 'ApplicationHighDpiMode' project property

Crash logs

.</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

… via ApplicationHighDpiMode property

Co-authored-by: Jack251970 <[email protected]>
Copilot AI changed the title [WIP] Fix high DPI settings configuration in App.manifest Fix WFO0003: Migrate DPI configuration from manifest to project property Jan 28, 2026
Copilot AI requested a review from Jack251970 January 28, 2026 07:02
@Jack251970 Jack251970 closed this Jan 28, 2026
@Jack251970 Jack251970 deleted the copilot/fix-high-dpi-warning branch January 28, 2026 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants