AppInstaller issue with UAP10:FileType

MVP

If you have a package with Manifest

  <TargetDeviceFamily Name="Windows.Desktop" MaxVersionTested="10.0.19041.1" MinVersion="10.0.18941.0"/>

 

And include an extension of category "windows.fileTypeAssociation" and utilize the uap10:FileType without any uap:FileType in the package, the package will be generated by makemsix just fine.

 

AppInstaller will claim this is a bad package, even on 21H1.  The entry in the AppXPackaging/Operational log will have event ID 280 with the following message:

 

error 0x80080204: App manifest validation error: Line 34, Column 12, Reason: SupportedFileTypes must declare at least one FileType from uap namespace on builds earlier than 10.0.18941.0.

 

As I am running on 19041 and have declared the minimum to be 18941 it appears that the error is incorrect.  Quite frankly it seems silly that any package that can support UAP10 must have a UAP style file type declared, but even in this case I appear to meet the criteria as explained in this error message.

 

1 Reply

Hi @TIMOTHY MANGAN Thanks for posting this. The error message should be changed to "earlier or equal than..." To resolve this issue update the manifest to the version 10.0.18942.0 and this will make the error go away. We've opened a bug on our side to update the error message.