run project failed cause deploy error in visual studio 2013 - visual-studio-2013

hi everyone.
when i debug windows phone project in visual studio got an error in deploy app on emulator:
*"Error : DEP6100 : The following unexpected error occurred during boostrapping stage 'Downloading package '7123B57E-F819-4B1E-8EE2-677E10756394'':
FileNotFoundException - The system cannot find the file specified."**
the phone emulator run clearly but when VS want to deploy it on emulator i got this error, i think it's occur because of firewall or antivirus or maybe update windows is necessary. so i do all thing for fix this problem but it doesn't work(i reinstall VS).
my system:
Win 8.1 64bit pro
Visual studio update 4.
please help me to fix that.
cheers.

If the language in the below setting, is other than English, can you please try changing it to English and let us know if it works?
Options -> International Settings -> Language

everything is ok and my language set to English by default.

Related

I am not able to find windows phone emulators in VS 2015 Latest community version

I'm not able to see any of emulator in VS 2015 for windows phone. My system has all requirements to run an emulator. previously I was able to debug on emulator. After uninstalling and reinstalling VS2013 to VS 2015 (latest)I'm unable to get emulator list and i'm getting error
"There were deployment error" and error list shows " Error 1
Exception from HRESULT: 0x89721500".
Please help me to solve this problem as I'm unable to test my window phone apps on my system.
right click your project, and see if there's a menu item "Add Windows 8.1". That worked for me, even though it was a Windows Phone 8.1 project. Huh!

Deployment of application to device failed Visual Studio 2013

I'm trying to develope my first Windows Phone 8.1 app in Visual Studio 2013 Ultimate (Update 2). I've registered developer account and my phone, Lumia 635, is also activated. My OS is Windows 8.1 Pro x64. Both OS and Visual Studio are clean installed just few days ago. My phone is plugged into USB-port and I can see it in file explorer.
I've tried different USB-ports, not different USB-cable tho, also tried to google for solutions, no help.
I've followed exactly these orders to point where I am now: https://msdn.microsoft.com/en-us/library/windows/apps/ff402526%28v=vs.105%29.aspx
Code builds fine but when I try to deploy it comes this:
1>------ Deploy started: Project: firstapp, Configuration: Debug Any CPU ------
1>Deployment of application to device failed.
1>Error: Value cannot be null.
I cannot emulate project either, it just shows Start in menu with green arrow, nothing more.
Is my best guess to reinstall everything and try again?
Okay, I got it solved already. I'm not sure what actually fixed it, creating new WP 8.1 app project or installing some SDKs. Only thing matters is that its now working. :)

Windows phone emulator not being started

I am facing a strange issue with Windows Phone Emulators for last a few days. When I try to run any windows phone application from Visual Studio 2013/2012, it initially starts the emulator and then stops with an error displayed in the error window inside visual studio:
Error : DEP6100 : The following unexpected error occurred during boostrapping stage 'Connecting to the device':
SmartDeviceException - App deployment failed. Please try again.
I have been trying many solutions in order to fix this issue but nothing helped. At last I re-installed the whole windows 8.1 and then visual studio 2013. Then I created a windows phone 8 application and run it smoothly in windows phone emulator.
Then I installed all windows updates including windows 8.1 update 1. After that I installed the visual studio 2013 update 2. Now if I run any new/existing windows phone 8/8.1 project I get the same error again. Seems like there is something wrong with windows 8.1 updates or visual studio 2013 update 2.
Any help?
Open network and sharing center
Change adapter settings
Check if vEthernet [Windows phone emulator internal switch is enabled)
Try deploying it to the emulator now
If above does not work
Delete the virtual switch(s) if any and do a deployment
If it still does not work, connect to the internet via a LAN
Keep you’r wifi on
do a deployment to the emulator
Most cases above method worked !
I had the same error when i tried switching the target OS version of my app from Windows Phone 8 to 8.1. With 8.1 you get a new manifest file and if, for app or publisher identification string, you have different values in one manifest file than in the other, it will output that exact error when trying to start the app in the emulator. However after searching the web back when i had that error, this error seems to have quite a bunch of possible sources, this being only one among many other, but be sure to check it.
Uninstalling the symantec antivirus fixed my issue.

SideBySide Application Error

I've got an application that has been built with TideSDK.
When trying to run the application on the machine that it was packaged with (runs Windows 8) the application works no problem. When I try to run this program on a Windows Vista machine that I've got, I get a
"The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail."
error.
Here's the event viewer information:
Activation context generation failed for "C:\Users[blah blah blah]\Program.exe". Dependent Assembly Microsoft.VC80.CRT, processorArchitecture="x86", publicKeyToken="1fc8b3b9a1e18e3", type="win32", version="8.0.50727.4053" could not be found. Please use sxstrace.exe for detailed diagnosis.
Some solutions say to update windows or reinstall visual c++ redist.
Do these errors signify a needed windows update or visual c++ redist reinstallation?
Thanks in advance!
Vince
Hi The MSVC Redistibutable files are outdated in your system. You need to install "Microsoft Visual Studio 2005 Service Pack 1" Redistributables.
they can be found here: http://www.microsoft.com/en-us/download/details.aspx?id=14431

Visual Studio 2010 + XNA 4.0 Debug error

I have Visual Studio 2010 Ultimate for Windows 7 installed along with the Windows Phone Developer Tools (XNA 4.0). The installations went smoothly (no errors reported during install), but when I start debugging I get an error saying: "Attaching the ProteusDebugEngine debugger to process '[XXXX] projectname.exe' on machine 'MYCOMP' failed. Invalid Pointer"
However when I go to the debug menu and I choose start without debugging the program launches just fine. How can I fix this error? (Also everything works fine if I try debugging a Windows Phone Game... But when I try to debug an XNA 4.0 Windows Game I get the error message...)
EDIT:
When I start Visual Studio 2010 in safe mode and try to open a project it gives me an error and says that the project type is not supported by this installation...
Check the extended error message, there's usually a hint about which module crashed or isn't found, and it'll tell you to manually register it. Then try starting in safe mode to see if it works, because plugins that haven't been updated for XNA debugging can cause crashes. (Old versions of Resharper, for one.)
Reinstalling visual studio did not help.
Just reimaged then reinstalled and it fixed the problem.

Resources