.net Windows Phone 8应用程序没有';当emulator处于git控制下时,无法在emulator上运行

.net Windows Phone 8应用程序没有';当emulator处于git控制下时,无法在emulator上运行,.net,git,visual-studio,windows-phone-8,visual-studio-2013,.net,Git,Visual Studio,Windows Phone 8,Visual Studio 2013,我对Windows Phone 8 emulator有问题。当我的项目在git控制下时,我不能在emulator上运行它。在Visual Studio 2013中运行Emulator WVGA 512 MB后,Emulator将打开,但VS显示错误: There were deployment errors. Continue? 在输出窗口中: 1>------ Deploy started: Project: DataBoundApp1, Configuration: Debug An

我对Windows Phone 8 emulator有问题。当我的项目在git控制下时,我不能在emulator上运行它。在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模板创建的解决方案。我没有对文件做任何更改

这种奇怪行为的原因是什么?我怎样才能修好它


提前感谢您的帮助。

每当我遇到像您所经历的那种奇怪的情况时,我总是尝试在做任何事情之前先进行“清理和构建”。它解决了很多问题。

我解决了这个问题。此行为的主要原因是文件夹的名称。我将名称从
IC%202014
更改为
IC 2014
,之后它运行正常。emulator可能禁止百分比登录路径。

我也遇到同样的问题,安装并选择“emulator 8.0 Update 3 WVGA 512MB”确实有效。不幸的是,非更新3版本仍然无法工作。

我知道OP在Emulator上有问题,但我最近在实际设备上遇到了这个问题,因此这可能对某些人也有用

我试图在同一台设备上部署来自两个Visual Studio实例(2012+2013)的两个应用程序。虽然VS2013中的一个没有问题,但VS2012中的另一个抛出了
“参数不正确”
错误

重建这个项目并没有帮助,但事实证明,解决这个问题的简单方法就是拔下手机的插头,然后再次部署第二个应用程序

编辑:

另一方面,如果我先运行2012项目,然后尝试运行2013项目,Visual Studio 2013控制台将显示:

>The application is already installed on the device. Checking if an incremental deployment is possible...
>Doing incremental deployment...
>Updating information related to modified files...
>Deployment of C:\projects\Win8\MyApp\bin\ARM\MyApp-Debug\MyApp-Debug_ARM.xap succeeded.
然后会显示一个消息框,其中有一个更容易理解的错误:


同样,拔下手机的插头并执行另一次部署(运行)足以绕过此问题。

对我来说,问题在于
.appx
文件位于共享位置。我一把它复制到我的计算机上,错误就消失了。

我尝试过清理和构建,但它并没有解决问题。重新启动VS和Windows也不会更改任何内容。