添加文件类型“no extension”

时间:2015-01-23 15:11:06

标签: windows-runtime windows-store-apps winjs appx appxmanifest

我正在尝试将基于WinJS的应用与我的package.appxmanifest文件中的无扩展名文件相关联。我已成功关联*.txt个文件:

<Extensions>
  <Extension Category="windows.fileTypeAssociation">
    <FileTypeAssociation Name="my-app-name">
      <SupportedFileTypes>
        <FileType>.txt</FileType>
      </SupportedFileTypes>
    </FileTypeAssociation>
  </Extension>
</Extensions>

但我无法找到一种方法来关联没有扩展名的文件。我试过添加

<FileType>.</FileType>

无济于事。我还能做什么?

0 个答案:

没有答案