Unable to attach debugger "File not Found" using template for Apache Cordova in vs 2013. Happening on both Win 8.1 64 machine and win 7 SP1 64 machine.
Project builds and runs correctly in both emulator and ripple but generates error "Unable To Attach. The system can not find the file specified." No further information is given - as in what file is not being found, which would have been nice.
Unlike the other solutions I have seen on web, installs on both machines ARE on a system drive. Latest updates are installed for node, git and android sdk. Environment variables and path variables are correct on both machines. Tried all api's 19 and above, uninstalling and reinstalling the tool multiple times, updating from command line.
Issue occurred after switching from visual studio 2013 Pro update 3 to community edition update 4 on both machines.
Have even tried uninstalling every piece of software having to do with android dev (Eclipse, Android Studio, Cordova, Phonegap, the tool) and reinstalling the Cordova Tool with all of the default options. Still same error on both machines - currently just using chrome to debug.
Noticed that it seems to be a similar error(the adb.exe error) but without the file name, given when trying to debug on a phone that has less than 4.4.
Any suggestions? Thank you for any help in advance.
I had exactly the same error and I successfully resolved it.
My configuration:
Windows 7 Pro 64 bits - French
Visual Studio 2013 Update 4 (French Edition)
CTP 3
What I did to solve the problem:
First, I installed ENU Language Pack for Visual Studio to install English language
Then, I switched the language of my Visual Studio to english
Finally, I repaired my CTP 3.0 installation.
After that, I was able to debug application from my android device.
Another solution (but not suitable for everyone since it's required a MSDN Account) : using the Visual Studio 2015 Preview.
What is the version/build number/size of the resources assembly in
C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.VisualStudio.WebClient.Diagnostics.HtmlToolHost.resources\12.0.* ?
You can right click on the binary and check its properties.
Thanks
Related
I have VS Community 2015 Update three installed. I am trying to learn UWP but I keep getting the following error when trying to launch
One thing I noticed is that all the videos and screenshots I've seen online say "Universal" and mine says "UAP" uner "Installed\Templates\VisualC#\Windows\
This is what I have installed:
I do not have any problems opening any other templates, only the "UAP". I've been using this program all the while but with basic c# console applications. Moving to UWP now and this is what I'm faced with.
Things I've tried:
Uninstalling and Reinstalling nugget manager
Repairing VS installation in control panel.
Thank you in advance for your suggestions.
P.S I'm on Windows 10 Pro 14393.222
Well you can try this one -
Run the visual studio installer again. Select Modify in the Installer. Select Features - "Windows and Web Development" - "Universal Windows App Development Tools". Now try to Update. It doesn't guarantee that it will solve the problem. But on few machines it worked..
I solved this by totally uninstalling visual studio with a /uninstall /force
All the sdks and emulators were uninstalled as well.
Launched a new install from the ISO file and everything is fine now.
My Visual Studio 2015 notifies me that it has an update:
When I click on it I see this:
When I click the update button I get this:
Note, that the Update button is disabled.
How can I install this update?
Update: Apparently multiple people experience a similar issue but so far no resolution: http://blogs.msdn.com/b/visualstudio/archive/2015/10/10/10642055.aspx (See comments to the linked blog post)
Did you try running this installer (http://go.microsoft.com/fwlink/?LinkId=627168) to update the UWP tools to v1.1.1.
I had similar issues, this installer update worked. This is “Update for Microsoft Visual Studio 2015 (KB3073097)” version 14.0.23315.
You can try to install Visual Studio 2015 Update 1. This is the latest version of Visual Studio 2015 by now and it contains "Tools for Universal Windows Apps (v1.2)" which is also the latest version.
Although you can use Visual Studio 2015 with Windows 8.1 to create Windows Universal Apps, but when running on OS earlier than Windows 10, some Visual Studio features for Windows Universal development may be degraded, such as you can only use the XAML designer if your development platform is Windows 10. And on Windows 8.1, you can’t run the Windows universal app locally (only on a remote Windows 10 device). You can use the emulators in Visual Studio, but not the simulator. For more information, please see Requirements in Develop apps for the Universal Windows Platform (UWP)
So if you are developing Windows Universal Apps, Windows 10 is strongly recommended.
I should note that I have the same problem and I AM using Windows 10.
The reason the UPDATE button is greyed out is because you cannot update anything. Everything is already installed, along with the latest version. Notice if you uncheck anything, the next button is active allowing you to remove components. Basically it is a bug still showing the update is not installed.
However, you can install a different version of the Windows 10 SDK (v10.0.10586.15 - Nov 2015) versus (v10.0.26624 - July 2015) by downloading it directly. Remember you should already have Tools for Universal Windows Apps (v1.2) instead of (v1.1.1).
I'm guessing the bug comes from the fact that the two items can be individually up-to-date, but the developer tools setup file may not be (technically it is v14.0.5806). Also the November SDK version is incorrectly labeled, the correct version should be (v10.1.10586.15). If you look in Programs and Features you can see it labeled two different things. Basically VS does not know the latest version is already installed.
I installed Visual Studio 2015 on my machine before I upgraded to Windows 10 a few days ago. I'm having a really hard time installing W10 universal apps. At first, the option for universal apps wasn't listed under project templates. After a few restarts and back and forth, the option was there, the installation of the tools took several hours (I'm on an SSD so installations usually happens within a few minutes). Once it got installed, I either got an error message about loading assemblies, or that the project is not compatible with my version of Visual Studio (I'm running Visual Studio 2015 enterprise).
I have tried repairing and uninstalling then reinstalling/repairing VS, where the result is usually that the situation gets somewhat worse. Now, only test projects are listed under the Windows UAP section (Not Universal). I have also tried both uninstalling and reinstalling the Windows 10 SDK separately with Visual Studio without any effect. Is there a way to perform a complete clean uninstall of Visual Studio 2015 without performing a reinstall of my OS or is there some cache that I should clear?
I uninstall the windows 10 two sdks using the VS installer then open VS again. The universal template showing up. Then install the SDK again and it worked. Hope this will help.
I've been keen to start developing Windows 10 apps for a while now, but I found things to be a little to unknown and unstable in the near past. With a release date official and Windows 10 making some great progress I've been trying to create a Universal App. However, I receive the following error when loading any Universal app - doesn't matter if it's Visual Basic, C# or C++ I receive the same error and the Project Solution doesn't seem right.
Error:
Project Solution:
My understanding is that the universal apps should have a Windows Phone Project and a Windows Desktop project at least? But as you can see after this error Visual Studio isn't creating these two projects...
Can anyone help?
-Windows 10 Pro Insider Preview Build 10130
-All features of Visual Studio are Installed, even the Android SDK ect
-Tried a reinstall of Visual Studio, issue still persisted.
As Microsoft describes, you have to do the following steps to install all Windows 10 tools during Visual Studio 2015 RC:
Select Custom install
Expand Universal Windows app development tools
Select Tools and Windows SDK 10.0.10069
Click Next to continue and follow the prompts to complete the installation
So I'm trying to do what I think is a very simple thing: generate a Windows Phone app with PhoneGap and open it in Visual Studio. On a totally fresh Windows installation (via Bootcamp), I've:
Downloaded Visual Studio Express 2013 for Windows (the very first download button: http://developer.windowsphone.com/en-us/downloadsdk)
Created a PhoneGap Windows Phone app per the Getting Started guide.
However, every time I try to open the csproj file, I keep getting this error:
Unsupported
This version of Visual Studio is unable to open the following projects. The project types may not be installed or this version of Visual Studio may not support them.
For more information on enabling these project types or otherwise migrating your assets, please see the details in the "Migration Report" displayed after clicking OK.
- HelloWorld, "C:\BodBot\BodBot-PG\BodBot\platforms\wp8\HelloWorld.csproj"
No changes required
These projects can be opened in Visual Studio 2013, Visual Studio 2012, and Visual Studio 2010 SP1 without changing them.
- HelloWorld, "C:\BodBot\BodBot-PG\BodBot\platforms\wp8\HelloWorld.sln"
No matter what I do. It works totally fine on Visual Studio 2012 for Windows Phone. I've tried it on VS 2013 for Desktop, and that doesn't work either. No clue what is happening here, and don't know even where to start to figure out what's wrong. I've Googled extensively to no avail; basically all instances of this error seem to have to do with previous version of VS. Pointing in any direction would be very much appreciated.
Turns out Update 2 wasn't getting installed correctly. I ended up installing Visual Studio and the Update 2 separately and Update 2 got installed successfully. Everything works now.
To build Multi device hybrid (Cordova tooling) apps with Visual Studio, you need to have Visual Studio 2013 Update 2 - Professional, Ultimate, or Premium.
Visual Studio 2013 Update 2: Global Apps e Android/iOS App