我对WindowsPhone8模拟器有问题。当我的项目在git控制下时,我不能在模拟器上运行它。当我在Visual Studio 2013中运行Emulator WVGA 512 MB后,Emulator将打开,但VS会显示一个错误:

There were deployment errors. Continue?

在输出窗口中:
1>------ Deploy started: Project: DataBoundApp1, Configuration: Debug Any CPU ------
1>Deploying C:\Users\Martin\Source\Repos\IC%202014\DataBoundApp1\DataBoundApp1\Bin\Debug\DataBoundApp1_Debug_AnyCPU.xap...
1>Connecting to Emulator WVGA 512MB...
1>Installing the application...
1>Deployment of application to device failed.
1>The parameter is incorrect.
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========

当我将解决方案文件夹移到git存储库之外时,它工作正常,没有任何错误。它是从标准vs模板创建的解决方案。我没有对文件做任何更改。
这种奇怪行为的原因是什么?我怎样才能修好它?
提前谢谢你的帮助。

最佳答案

每当我遇到像你所经历的那种奇怪的情况时,我总是试着在做其他事情之前先做一个“清洁和建设”。它解决了很多问题。

08-26 17:55