Search code examples
visual-studiowarningsmanifest

Additional Manifest: Warning 81010002


Pasted the following into a exe.manifest file for a VS10 Win32 project from code found here:

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

Building generated the linker warning:

warning 81010002: Unrecognized Element "longPathAware" in namespace "http://schemas.microsoft.com/SMI/2016/WindowsSettings".

Understandable, based on the age of the bundled mt.exe as explained in this similar issue.

Question is, will this in any way affect the long path awareness of the application on a platform where the attribute is known?


Solution

  • Downloaded the 2.4 Gb W10 SDK, thanks to Sera's suggestion, and copied the 1 mb file mt.exe over to Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin. Warning not generated with the new mt. (Minor issues with the Environment variables set for the 7.1 SDK in Program Files\Microsoft SDKs\Windows\v7.1\Bin added in some extra flavour and texture to the operation)