MSIX file extension - windows cannot find file error

Copper Contributor

I packages Notepad++ using MSIX packaging tool then edited xml manifest file. Within <application> tag I put:

<Extensions>
<uap:Extension Category="windows.fileTypeAssociation" EntryPoint="Windows.FullTrustApplication" Executable="notepad++.exe">
<uap:FileTypeAssociation Name=".txt">
<uap:EditFlags AlwaysUnsafe="false" OpenIsSafe="false" />
<uap:SupportedFileTypes>
<uap:FileType>.txt</uap:FileType>
</uap:SupportedFileTypes>
</uap:FileTypeAssociation>
</uap:Extension>

 

After package was installed I tried to open txt file and Windows ask me about default file association. I select Notepad++ and file was opened. All icons for txt files are now change and Notepad++ icon is visible on them. But when I double click on any txt file I got error

bbelko_0-1706191430607.png

When I right click on txt file and choose Open With then Notepad++ the same error

 

Why is it so and how to troubleshoot it ?

 

0 Replies