Can't see emulator selection option in visual studio 2012 for windows phone - debugging

In my Visual studio 2012 for windows phone , I created one project and I developed some pages.
It is working fine and i'm able to debug by selecting the desired emulator option.
Suddenly the device options tab is not visible. It is looking like below.
For testing purpose I've opened another project, then for this project i'm getting the emulator option. It is looking like this.
I didn't understand why it is happening with the first project. could you please tell me how to enable emulator options for the first project.
Thanks.

If you have multiple projects in your solution then the one that is set as the 'StartUp project' is probably not a Windows Phone app.
The options included in the menu relate to the startup project only.
To change the startup project, right click on the project in the solution explorer and select "Set as StartUp project".

Related

Prevent unnecessary apps from running in visual studio 2017

I have 4 runnable projects(specifically web apps) in a single solution. The problem is when i try to run visual studio all the above mentioned apps getting run in background, but not in browser. However the setup is such that only one app is meant to run. Startup Project is set as Single startup project only
Right click on Solution.
Select Properties.
Select a single Startup Project
I fixed this by doing the below steps in Visual Studio
Select the project you want to stop running in background
press F4 (this will open properties of the project, but not the property page opens by right click > property)
Set Always Start When Debugging to false
But remember this is a user to user configuration. You cannot set it for all your team members

Unable to select android emulator in Xamarin VS

I'm using Visual Studio Enterprise 2015 Edition (Update 3), with Xamarin 4.2 installed.
I have the emulators downloaded via Xamarin Android Player, however I don't have an option to select the emulators from Visual Studio (Refer attached image).
VS Select Emulator
There is no emulator dropdown next to debug button in toolbar, and VS always defaults to the first emulator, and doesn't let me choose one, even if there are multiple emulators available in XAP.
Any help is greatly appreciated.
Thanks!
After trying to figure out the problem for days, I was finally able to identify the real cause of the issue. I had to enable Standard toolbar in VS (Right-click on Toolbar, and select Standard. Refer Screenshot) to finally have the ability to select emulators.
I was under the assumption that the emulator list appears in Debug toolbar, and did not try checking the toolbar menu earlier.
Thanks for all the replies, and hope this helps someone else facing this issue.
This would appear to be this bug:
https://bugzilla.xamarin.com/show_bug.cgi?id=44487
If so, the issue occurs when selecting the startup project with the drop down list in the tool bar. Instead try selecting the start up project by right-clicking on the project on the Solution Explorer and choose "Set as startup project"
It seems you didn't select the startup project. In Solution Explorer right click on your Android project and choose "Set as StartUp Project". Then default emulator options should be visible and you can change it via drop down menu.
Anyway I recomend you to use Visual Studio emulator

Do not see an option to debug a Windows Phone Application?

I installed Windows SDK before and there was an option showing up in Visual Studio to test an application by debugging. I had to reinstall the SDK again but the only Option I was seeing was Start instead of any other WVGA OR WXGA simulator. Is there anyway I can fix this? Hyper-V option is also enabled and I am using 2011 Macbook Air 13.3"
If the options you refer to are the ones in the Visual Studio menu with the green arrow, it only shows the options for the StartUp project (the one which is bold in the Solution Explorer).
If you set your Windows Phone project as StartUp project (right click on the project, and select "Set as StartUp project"), you will see the mentioned emulator options on the menu.
Other option is to right click on the project, select Properties, and in the Debug tab, select the desired Target Device.

Solution Configurations drop down list in WP7

I'm running Microsoft Visual Studio 2010 Express for Windows Phone. My problem is I'm not getting the solution configurations drop down list.I tried a lot but I'm not getting it.
Click the Tools menu, click Settings, and then click Expert Settings.
The Solution Configuration list box appears in the Standard toolbar. Click Debug or Release.
If still not visible, check this

Why does Visual Studio launch multiple WebDevs when I debug?

I have a Visual Studio 2008 solution with several projects in it - some of which are web applications / sites.
Whenever I go "Debug > Start new instance" for a specific web application and VS launches the ASP.net Development Server (WebDev.WebServer.EXE) for that application, VS also launches 3 additional such processes - one for each of 3 other web applications I have in the solution.
How can I tell Visual Studio to only launch WebDev for the one project I'm debugging? I've looked both in the project configurations and in the solution configuration and could not find the relevant setting...
I think it runs one for each Port -- you can try turning setting them to have the same port - click on the project and look at the properties pane (you have to turn off the the automatic port generation and then set the port#)
I tried the above solution but it did not worked. My solution was a vs2005, what I found to solve the project was to make the property window of VS 2008 visible. Then click on the web projects and then set the "Always start when debugging" property to false and this should take care of it :(
In Visual Studio 2008, there is an entry on the Properties page for the project called "Always Start When Debugging".
Note you have to get to this by selecting the project and going to the Properties pane (or right-clicking Properties). This option is not present when you double-click the project and open it in the main editing pane.
VS by default sets this value to on for all your web projects. Turning it off will solve this problem.
[editorial]This is fairly annoying and I wish the default were false![/editorial]
Suggestion - don't use the internal WebDev, use IIS instead. Also reduces the clutter in the systray. ;)

Resources