Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows Phone 8 app doesn't run on emulator when is under git control

I have an issue with Windows Phone 8 emulator. When my project is under git control I can't run it on emulator. After when I run Emulator WVGA 512 MB in Visual Studio 2013, emulator turns on but VS shows me an error:

There were deployment errors. Continue?

In output window:

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 ==========

When I move solution folder outside of the git repository, it works fine without any errors. It is a solution created from standard VS template. I didn't make any changes in files.

What is the reason of such strange behavior? How can I fix it?

Thank you in advance for your help.

like image 557
Martin Avatar asked Mar 20 '23 16:03

Martin


2 Answers

Whenever I come across a weird situation like the one you experience, I always try to do a "Clean and Build" before anything else. It solves a lot of issues.

like image 116
gretro Avatar answered Mar 23 '23 09:03

gretro


I solved this issue. The main reason of this behavior was name of the folder. I changed name from IC%202014 to IC 2014 and after that it runs correctly. Probably percent sign in path is prohibited by emulator.

like image 24
Martin Avatar answered Mar 23 '23 09:03

Martin