在部署应用程序时无法看到更改,始终必须重建xap才能查看更改。 [英] Can't see changes when deploying app, always have to rebuild xap to see changes.

查看:42
本文介绍了在部署应用程序时无法看到更改,始终必须重建xap才能查看更改。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Visual Studio Express 2012 for Windows Phone开发Windows Phone应用程序。如果我将应用程序部署到模拟器然后进行一些更改并再次部署,除非我重新构建应用程序或在Debug和Release之间更改Configuration
,否则我看不到应用程序中的更改。


重建应用程序并不理想,因为它会删除您在调试时可能已保存的任何设置。


在每次更改之间切换调试和发布并不是太麻烦但是我知道它应该不是那样的,因为这个问题才刚刚开始发生。我有其他没有这种行为的项目,所以我认为它不是VS2012
问题,但是在解决方案/项目中有些东西是腐败的。


我已经重新启动了emulater,Visual Studio和PC,但它一直在发生。我已删除项目文件夹中的bin和obj文件夹,但它仍然会发生。


部署时,我可以在Build Output窗口中看到以下行


进行增量部署...

更新与已修改文件相关的信息...

更新应用程序作为清单文件已更改...



当出现问题时,这些行会暂时存在。但是当部署工作并且进行了更改时,这些行需要花费一些时间才能完成,因此增量部署显然存在问题。


如果任何人可以提供帮助,那么它将是赞赏。


谢谢。

解决方案

我有VS的完整版本并正确部署 我会看看是否可以通过快递跟踪某人来测试它。


您在部署之前是否在模拟器上关闭了应用程序?



I have a Windows Phone app I'm developing using Visual Studio Express 2012 for Windows Phone. If I deploy the app to the emulator and then make some changes and deploy again I don't see the changes in the app unless I rebuild the app or change Configuration between Debug and Release.

Rebuilding the app is not ideal as it deletes any settings you may have saved while debugging.

Switching between Debug and Release between each change isn't too much of a hassle but I know it shouldn't be like that as this problem has only just started happening. I have other projects which don't have this behaviour either so I don't think its a VS2012 issue, but something is corrupt in the solution/project.

I have restarted the emulater, Visual Studio and the PC but it keeps happening. I have deleted the bin and obj folder in the project folder but it still happens.

When I deploy I can see the following lines in the Build Output window

Doing incremental deployment...
Updating information related to modified files...
Updating the application as the manifest file has changed...

When the issue occurs these lines are there for a split second. But when the deployment works and the changes are made then these lines take a few moments to complete, so there is obviously an issue with the incremental deployment.

If any one can help it would be appreciated.

Thanks.

解决方案

I have the full version of VS and it deploys correctly.  I will see if I can track down someone with express to test that however.

Did you close your app on the emulator before deploying?


这篇关于在部署应用程序时无法看到更改,始终必须重建xap才能查看更改。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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