appxupload软件包未生成.仅生成测试包
问题描述:
我正在开发通用Windows应用程序.当我尝试使用Store-> Create App包创建包时,它仅创建测试包.在AppPackages目录中,我只能找到一个带有_test的文件夹.
I am developing a universal windows app. When I try to create package using Store->Create App packages, it is creating only test packages. In AppPackages directory, I can find only one folder with _test.
如何确保创建了可以上传到Windows应用商店的.appxupload软件包.
How do I ensure that .appxupload package gets created that can be uploaded to windows store.
答
如果AppxPackageIsForStore
设置为true,则在Projekt.csproj.user
文件中查找.
Look in your Projekt.csproj.user
file if AppxPackageIsForStore
is set to true.
<PropertyGroup>
<ProjectView>ShowAllFiles</ProjectView>
<AppxPackageIsForStore>True</AppxPackageIsForStore>
<AppxShowAllApps>True</AppxShowAllApps>
<AppxBuildConfigurationSelection>x86|x64|arm</AppxBuildConfigurationSelection>
</PropertyGroup>