Skip to content

Commit

Permalink
Add long path awareness to the manifest.
Browse files Browse the repository at this point in the history
See also #149.
  • Loading branch information
DrewNaylor committed May 12, 2022
1 parent b380326 commit b6816d6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion guinget/My Project/app.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,15 @@
DPIs. Windows Presentation Foundation (WPF) applications are automatically DPI-aware and do not need
to opt in. Windows Forms applications targeting .NET Framework 4.6 that opt into this setting, should
also set the 'EnableWindowsFormsHighDpiAutoResizing' setting to 'true' in their app.config. -->

<!-- ws2:longPathAware allows using long file path support. Copied from here:
https://docs.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=cmd
The "xmlns:ws2" thing was required due to being from 2016 or it wouldn't work. -->

<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<windowsSettings xmlns:ws2="http://schemas.microsoft.com/SMI/2016/WindowsSettings">
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
<ws2:longPathAware>true</ws2:longPathAware>
</windowsSettings>
</application>

Expand Down

0 comments on commit b6816d6

Please sign in to comment.