在发布模式下创建应用包的问题 [英] Problem creating app packages in release mode

查看:87
本文介绍了在发布模式下创建应用包的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在发布模式下生成应用程序包(.appxbundle + dependencies)时遇到问题。出于某种原因,我无法选择"发布(ARM)"。即使我的解决方案配置设置为发布。我执行以下操作:


  1. 右键单击项目
  2. 选择商店 - >创建应用程序包...
  3. "是否要构建要上载到Windows应用商店的包?" - > "否"
  4. 我选择ARM作为唯一的架构,并在"解决方案配置"下进行选择。选项卡只允许我选择"Debug(ARM)",而不是"Release(ARM)"。请参阅随附的屏幕截图。

是什么导致这种情况,我该如何纠正?在另一个测试项目中,我能够选择"Release(ARM)"。如上所述,在第4步就好了。用于说明问题的屏幕截图:


解决方案

Magnus Andersen


   您应该修改解决方案配置(' 构建' - >'配置管理器')。请选择"Active solution configuration"中的"Release"项,检查在项目上下文的配置中,需要检查'部署'需要
。之后,您可以在步骤4中选择'发布(ARM)'。



最好的问候,


Michael


I have a problem generating app packages (.appxbundle + dependencies) in release mode. For some reason I cannot select "Release (ARM)" even though my solution configuration is set to release. I do the following:

  1. Right-click on project
  2. Select Store -> Create app packages...
  3. "Do you want to build packages to upload to the Windows Store?" -> "No"
  4. I select ARM as the only architecture, and under the "Solution Configuration" tab it will only let me select "Debug (ARM)", not "Release (ARM)". See the attached screenshots.

What causes this, and how can I correct it? In another test project I'm able to select "Release (ARM)" at step 4 as outlined above just fine. Screenshot to illustrate the problem:

解决方案

Hi, Magnus Andersen

   You should modify the solution configuration('Build'->'Configuration Manager').Please select 'Release' item in 'Active solution configuration',check the configuration of project contexts, 'Deploy' need to be checked.After that ,you can select 'Release(ARM)' in step4.



Best Regards,

Michael


这篇关于在发布模式下创建应用包的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆