修复包清单后无法部署WP8.1 Silverlight应用程序 [英] Cannot deploy WP8.1 Silverlight app after fixing package manifest

查看:85
本文介绍了修复包清单后无法部署WP8.1 Silverlight应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自从我将Windows Phone 8 Silverlight应用升级到WP8.1 Silverlight应用以来,我遇到了一些奇怪的错误。在开发过程中,我可以将应用程序部署到我的手机上,一切正常。但是当我想通过更新将它放入商店时,
围绕提供者名称,默认的瓷砖(我认为从未使用过,所以我甚至不知道他们在那里做什么,这个应用程序只是WP)以及我必须在Package.appxmanifest文件中更改的一些其他内容(手动,
可视化编辑器甚至不包含这些字段)。

I've got some weird errors ever since I upgraded my Windows Phone 8 Silverlight app to a WP8.1 Silverlight app. While under development, I could deploy the app to my phone and everything worked fine. But when I wanted to put it in the store through an update, there were weird issues around the Provider name, default tiles (that in my opinion are never used so I don't even know what they are doing there, this app is WP only) and some other things that I had to change in the Package.appxmanifest file (manually, the visual editor didn't even contain these fields).

所以现在更新在商店中,一切正常,但我想继续处理该项目,但突然间我无法从VS部署。我认为这与清单更改有关,但是我无法真正看到错误,我看到的只有:

So now the update is in the store and everything worked fine, but I wanted to continue working on the project but suddenly I can't deploy from VS. I think this has to do with the manifest changes but I can't really see the error, all I see is:

"应用程序的安装失败。 XAP包签名无效或WP清单文件无效。使用有效签名重新签名并修复清单文件。"

"Installation of the application failed. XAP package signature is not valid or the WP manifest file is invalid. Re-sign with valid signature and fix the manifest file."

我可以这样做辞职吗?为什么所有这些事情都发生在第一位?我现在非常小心将我的应用程序移动到WP8.1,这似乎是一个迁移地狱。

So can I do this resigning and why did all this stuff happen in the first place? I'm really careful now with moving my apps to WP8.1, it seems like a migration hell.

推荐答案

我想这是最简单的解决这个问题的方法是创建一个新的项目/解决方案作为Silverlight 8.1,复制旧项目中的所有文件并在那里读取它们。至少我认为这比编辑文件更容易。

I guess the easiest way to fix this for good is to create a new Project/Solution as Silverlight 8.1, copy all the files from your old project and readd them there. At least I assume that it's an easier fix than to edit the files.

你还有旧版本(升级前)吗?有趣的是,如果再次尝试升级它会破坏应用程序,或者如果这是一次性问题。

Do you still have the old version (pre-upgrade)? Would be interesting to know if trying to do an upgrade again it would break the App as well or if that was a one-off issue.


这篇关于修复包清单后无法部署WP8.1 Silverlight应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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