问题
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!!
回答1:
Go to project
Properties > Configuration Manager
(left top corner) and check
deploy
回答2:
Close Visual Studio, delete solution .suo files. Open Solution .sln and test it, this work for me.
回答3:
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.
回答4:
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
回答5:
Delete Suo file from solution will fix it for you.
回答6:
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.
来源:https://stackoverflow.com/questions/27198344/unable-to-get-launched-browser-process-for-ripple