我正在尝试打包要在Microsoft Store中分发的doxygen,但是我无法手动转换应用程序。 (Doxygen简单易用,有4个文件:3 .exe和1 .dll)我最初只是想导出最常用的控制台入口点:doxygen.exe。这是我的清单。
我正在跟踪发现的here文档。一切顺利,直到最后一步,通过
进行包装前的测试Add-AppxPackage -Register AppxManifest.xml
这会导致错误
Add-AppxPackage:无效数据。 (0x8007000D)
生成priconfig.xml
和resources.pri
后,我的软件包文件夹布局如下:
以下是应用清单(已删除我的发布商ID):
<?xml version="1.0" encoding="utf-8"?>
<Package
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3"
xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10"
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities">
<Identity
Name="XYZ.DoxygenUnofficial"
Version="1.8.18.0"
Publisher="CN=..."
ProcessorArchitecture="x64" />
<Properties>
<DisplayName>Doxygen (Unofficial)</DisplayName>
<PublisherDisplayName>XYZ</PublisherDisplayName>
<Description>Doxygen is the de facto standard tool for generating documentation from annotated C++ sources, but it also supports other popular programming languages such as C, Objective-C, C#, PHP, Java, Python, IDL (Corba, Microsoft, and UNO/OpenOffice flavors), Fortran, VHDL and to some extent D.</Description>
<Logo>Assets\doxygen.png</Logo>
</Properties>
<Resources>
<Resource Language="en-US" />
</Resources>
<Dependencies>
<TargetDeviceFamily
Name="Windows.Desktop"
MinVersion="10.0.17763.0"
MaxVersionTested="10.0.18335.0" />
</Dependencies>
<Capabilities>
<rescap:Capability Name="runFullTrust"/>
</Capabilities>
<Applications>
<Application
Id="DOXYGEN"
Executable="VFS\ProgramFilesX64\Doxygen\bin\doxygen.exe"
EntryPoint="Windows.FullTrustApplication">
<uap:VisualElements
DisplayName="Doxygen"
Description="Command-line interface"
Square150x150Logo="Assets\icon.png"
Square44x44Logo="Assets\small_icon.png"
BackgroundColor="#234ea6" />
<Extensions>
<uap3:Extension
Category="windows.appExecutionAlias"
EntryPoint="Windows.FullTrustApplication"
Executable="VFS\ProgramFilesX64\Doxygen\bin\doxygen.exe">
<uap3:AppExecutionAlias>
<desktop:ExecutionAlias Alias="doxygen.exe" />
</uap3:AppExecutionAlias>
</uap3:Extension>
</Extensions>
</Application>
</Applications>
</Package>
我在做什么错?我可以得到一个更有意义的错误吗?