Visual Studio forces to start WP emulator on website debugging - visual-studio-2010

I have VS solution which is mix of Websites, Console Application and Windows Phone Apps.
When I select my website as a start up project, in the device selection it only appears Windows Phone Emulator Devices not Debug selection.
So when I hit F5 emulator pops-up which I do not want unless I select WP project.
Is there any setting I can apply it will not show WP device if I just want to debug Website?

In visual studio go to Build -> Configuration Manager, where all the projects in the solution will be listed. There is an option for the user to select which all projects needs to be selected for building and there you can select the only ones you need to build.

Related

Microsoft visual studio doesn't show any android emulator or physical device for Xamarin project

I have a xamarin project and i want to debug it, but visual studio doesn't show any emulator or physical device.
this is the menu
I wanted to restart adb from tools > android but it's disabled. but when I open a non xamarin project (for example a web porject) this options is enabled.
I can see my device in cmd with command adb devices and in android studio, every thing is fine and I can deploy some java application to my phone.
do you have Any idea?
Update
I created new project and in this new project, every thing is fine and I can debug with my phone or emulators.
but in my existing project which I'm currently working on, there is no device in list.
It happened to me just now using vs 2019, to fix this, manually remove obj and bin folders restart vs, and that's all :)

How come my AVD Xamarin Live Player always shows "Paired with Visual Studio"?

Everything is fine when I am using a real Android device to run Xamarin Live Player.
However, when I start Xamarin Live Player in an AVD. It just start with paired status and I cannot do anything to scan the qrcode or enter the pair code.
Anyone can help?
Visual Studio automatically installs Live Player and pairs with the Android emulator. No pairing code is required and Visual Studio will auto-start/run the Live Player so you do not need to open it manually.
Start the Emulator
In Visual Studio:
Set your startup project to the Xamarin.Android application project
Select the running emulator from the available Virtual Devices
Open a XAML page and click the Live Run button

Getting Visual Studio Android Emulator for Lollipop & marshmallow

I've installed Visual studio 2015 & xamarin and I see that the visual studio emulator only has kitkat and nothing else.
Their website claims that lollipop is supported but I don't have the foggiest idea on how to get it.
EDIT: Should probably mention this, when I open up the visual studio emulator window I see the following error:
Unable to establish a connection to Internet. Only device profiles for acquired platforms are shown
In Visual Studio 2015, you can install, uninstall, and start device profiles using the Emulator Manager. Access the Emulator Manager by choosing Tools, then Visual Studio Emulator for Android.
By default, there are four pre-installed device profiles (KitKat and Lollipop phone/5" and tablet/7" configurations), as indicated by the white text and icons. Other profiles in the list will appear grayed out until you choose the Install Profile button and the installation completes. You can filter the list by API Level and click the details arrow on the bottom right-hand side of a profile to view its full configuration details.
Once you've installed the set of profiles that you'd like to target, you can start these new profiles directly from the manager by pressing the green Play button. They will also appear in the debug target dropdown menu in any Visual Studio cross-platform mobile project type.
Ref: MSDN
I fixed it, A spybot tool I installed to disabled some windows 10 stuff was blocking things needed for this tool, unblocked it and it works now.

testing a website in windows phone 7 simulator

I'm trying to test a mobile website I'm building using Windows Phone 7, but I can't figure out how to do it. It seems that the SDK wants me to build an application first in order to use the emulator, but I'm not building an app, I simply want to test compatibility of my mobile site with windows phones. How do I do this?
If you install the free Windows Phone SDK you can run an emulator in standalone mode (i.e. without Visual Studio running).
Search for "Windows Phone Emulator" from the Start menu and just launch that directly.
Once in the emulator about the only thing you can do is launch IE Mobile.
(To enter URLs and other text using your real computer keyboard instead of the onscreen keyboard tap your "Pause/Break" to toggle keyboard mode)
You should be able to run emulator without building an app
try C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v7.0\Tools\XDE Launcher\XdeLauncher.exe
If now start visual studio and make an app f.e. Silverlight for Windows 7. Emulator will be loaded with debbuger attached. If you stop the app in VS, emulator should be still there. It has preinstalled IE which you can use to test.
Mind that it's better to test your web app on a real device.

Zune software is not launched (WP7)

I installed VS 2010 Express + WP7 SDK, it worked perfectly. Now I need to use unit-tests, and installed VS 2010 Ultimate (and reinstalled WP7 SDK). WP7 plugin seems to be installed (there are WP7 project types in "New Project" dialog), but when I'm trying to launch my software for debug, VS says that "Error 1 Zune software is not launched. Retry after making sure that Zune software is launched.". WP7 emulator is already launched (and Zune too, but Zune says, that there is no device connected). Expression Blend works with emulator perfectly (it runs the emulator by itself). Where is a mistake?
It seems like Visual Studio tries to deploy to a device.
Did you select "Windows Phone 7 Emulator" in the "Target Deployment Device" dropdown?
First of all, make sure that you have the Standard toolbar visible. That's where you select the Target Device. To do this: View -> Toolbars -> Standard. Since Expression Blend detects the emulator, then there is a problem with Visual Studio, that tries to deploy to a device by default.
REMEMBER: Zune Software is not required to be running when you are deploying to an emulator.
Second, try to create a new Windows Phone 7 project and try deploying it from Visual Studio to see how it works.

Resources