Unable to get launched browser process for Ripple - visual-studio-2013

When I create new mobile application in visual studio, I can run it and no problems happen.
But when I start running another application (created by other developer, and shared on TFS), I got the following messages:
Unable to get launched browser process for Ripple.
Unable to get Ripple session info for port 0.
No build errors or warnings! just 2 messages!!
Any idea?
My environment:
Visual studio 2013 community edition (with Update 4)
Windows 7, x64
* EDIT:
It worked by right-clicking project name in solution explorer | Debug | start new instance
But still didn't work by hitting F5 or clicking Run button in toolbar!!

Go to project
Properties > Configuration Manager
(left top corner) and check
deploy

Close Visual Studio, delete solution .suo files.
Open Solution .sln and test it, this work for me.

In Visual Studio go to Tools -> Options -> Tools for Apache Cordova, select Clear Cordova Cache.
This worked for me to solve the issues above and has been the solution to a few other issues when using these tools.

Need to set Visual Studio F5 action for Build and Deploy for Mobile project from Configuration Manager
Right click on the solution and select the Properties
Select Configuration Properties from left panel
Select your Mobile Project
Set (Tick) Build and Deploy checkboxes

Delete Suo file from solution will fix it for you.

In Visual Studio 2015 I had to separately install Ripple as a package of my Apache Cordova Project and restart Visual Studio. To start Ripple, right click on your project and select deploy.

Related

How to fix visual studio projects unable to open

I have Windows System(OS 10), I installed Visual Studio 12 and 17 versions and SQL SERVER 2014. Unfortunately, when I am trying to open projects in vs2012/17 it is closing immediately after clicking on an open project or new Project creation. I observed another thing System IIS also not working properly. I am unable to find the reason.
Try this way
Open visual Studio
Connect to your team project in Team Explorer
Open the project you wanted initialy to open. This can either be done
by File -> Open -> Project/Solution or by selecting the project from
the recent tab.
Check %APPDATA%\Microsoft\VisualStudio\\ActivityLog.xml location for errors

Unable to debug issue Apache cordova project in vs 2017

I have install visual studio 2017 with almost all components on my PC (windows 8.1) but when I Add new Apache Cordova project and run it will show
"unable to start debugging. The startup project cannot be launched. Ensure that the correct project is set as the startup project. The startup project can be changed by selecting 'Set as startup project' command from right click menu solution explorer. Additionally make sure its debug settings are correctly configured in the project properties" Other project types are work fine. Project Properties
I have already set startup project but it is not working please help
In case someone is struggling with the same, here's the step to fix it. Go to Visual Studio "Tools" > "Extension and Updates" > then search for "Cordova". Make sure it is turned on:
I just lost a couple of hours to this error. For me, the solution was to follow the instructions available at this link:
In case that link ever dies, here is a copy of the instructions:
If you get a message in Visual Studio that says you can't start debugging your app, try these steps. Also, try these steps if no emulators or devices are listed in the debug target dropdown list.
Close all instances of Visual Studio.
Open this folder:
C:\Users\username%appdata%\Local\Microsoft\Phone Tools
Rename the CoreCon folder to any other name (CoreCon will get recreated when you rebuild).
Restart Visual Studio and try again.

Unable to open axml with design view with Visual Studio 2015

I created a new android layout file using visual studio 2015 and am unable to view with the designer that is built in to visual studio.
After selecting 'design' tab, I just see a waiting icon in the center of the view and it never finishes. After a while, i have to close the design tab and open in xml editor. The form is valid as it runs fine in emulator.
ideas?
I was able to resolve after uninstalling all platforms using Android SDK Manager and re-installing each platform 1 by 1. If there is an issue with the installation nothing will be installed (note: watch the logs for errors and review after each platform is installed)
Initially, I did have to manually download SDK Manager and copy the tools folder to my existing installation. I am not sure why my Tools folder was empty but after performing this step I could again run SDK Manager.

How to disable Fast Deployment in Visual Studio 2013

I am making a android app and when I try to deploy it, I got the following error
Deployment failed due to an error in FastDev assembly synchronization.
I have read in the Web, that I could resolve it if I disable Fast Deployment option, for it, Could anybody say me how I could do it in VS2013 or other place?
Thanks in advance
Alejandro
In VS2013, Right Click The Android Project -> Properties -> Build Options -> Uncheck: Use Fast Deployment
In Visual Studio 2017 (15.3.1 to 15.9.35) & Visual Studio 2019 (16.9.4):
Right-mouse click the Project in Visual Studio
Select Properties
Go to "Android Options"
Uncheck: "Use Fast Deployment (debug mode only)"
try it: Project / Project Options / Android Build / Fast deployment

VS2013 Build "Does not support previewing"

Every time I try to build my solution in VS2013, nothing builds, no errors - But in the status bar it says: "This item does not support previewing"
I googled around a bit but have come up empty.
But if I right click on each project and select build it works fine.
Any ideas?
Perhaps this message is totally unrelated... Post hoc ergo propter hoc
Steps to reproduce on my machine:
Right Click any project in solution: select build
Status bar displays Build successful
Right click solution select build
Status bar displays : "This item does not support previewing"
Perhaps it isnt related, but it sure does appear to be.
I was able to fix this... Somehow nothing was selected to build in the solution configuration. I right clicked on the solution, went to properties and then selected COnfiguration Properties and clicked the Build box for all the projects...
I have no idea how they became unchecked, only thing I can think of is a co-worker was trolling me.....
I've had this problem (i.e. debug not starting, and no error message) with Visual Studio 2015 in the following two cases:
after loading a solution that had previously been built with Visual Studio 2010
and also after using the "save as" function in Visual Studio 2015 to update a solution that had been started with Visual Studio 2010 (using Save as updates the solution file and sets the active Visual Studio version to 14 - i.e. VS 2015).
In both cases, deleting the bin and obj directories under the startup project fixed the problem. It's also worth closing visual studio and making sure that there are no {yourprojectname}.vshost.exe processes still running - if there are then kill them before running visual studio again. On that note, if you have multiple versions of visual studio on your machine, you should also check that you don't have the same solution open in the other version of visual studio at the same time (I've done that one myself).
One of the comments here suggests disabling the "enable visual studio hosted process" option. Don't do that if you can at all avoid it: you'll lose lots of debugging functionality (particularly in the area of being able to edit code while your solution is running).
Hope that helps someone out there.
Solution for VS2015
"this item does not support previewing" vs2015 (Visual Studio 2015/2016)
Step 1. Go to Control Panel -> Programs and Features
Step 2. Uninstall all: Windows Software Development Kit - Windows 10.0.10586.15 (maybe you have diff ver)
Step 3. Download new latest Windows Software Development Kit
https://go.microsoft.com/fwlink/p/?LinkId=619296
Install & Create new project, Done!
Dclick on MainPage.xaml and you will see Loading designer...
1: Add below lines in App.conf
<specFlow>
<unitTestProvider name="MSTest"></unitTestProvider>
</specFlow>
2: add a reference to Microsoft.VisualStudio.QualityTestTools.UnitTestFramework.dll
right click on your project and select: Add Reference
3: add using Microsoft.VisualStudio.TestTools.UnitTesting; in Step Defination
4: goto feature file and run it. This is what solve my problem on vs2013
I faced same issue with .aspx file. I just right click on the .aspx file and select open with (HTML Editor). You can choose any form the list.
I have come across the same issue for me, I have opened a project in VS 2010 and then when I open the same in VS 2015 then his error has occurred.
Solution:
By Closing the VS2010 project solution fixed the issue.

Resources