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.
Related
I am using Xamarin iOS in Visual Studio 2017 for Windows!
Building and debugging the debug Version of my App via a build host works great. But when I try to build the Release Version it says:
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(3463,5): error MSB6006: "sgen.exe" exited with code 1.
Signing Identities are installed and vislible in VS.
I also found this Blog post. But the workaround is only for Mac Users.
Does anyone know what's wrong here?
Thanks!
Have you configured your iOS release? if not this may be the solution.
In Visual Studio, open Solution Explorer (Keyboard: Ctrl + Alt + L).
Right-click your solution and then click Configuration Manager.
On the configuration manager dialog box open the active solution configuration drop-down menu and click New.
On the new solution configuration dialog box:
For Name, enter iOS Release
Open Copy settings from drop-down menu and select Release.
Clear the Create new project configurations dialog box.
Open the Active solution platform drop-down menu:
Select iPhoneSimulator and clear the check boxes on all rows except
your Xamarin.iOS project and any projects (for example, portable class libraries) it depends on.
Repeat this step for iPhone.
Using Visual Studio 2015 Update 3, I am trying to follow the video instructions for creating a new project found here: http://zebble.net/docs/creating-a-new-project
I do the following:
I ensure the Zebble extension is installed
I click the start screen's 'New Project' link
I select 'Zebble for Xamarin - Cross Platform Solution' as project type
I name the project 'My application'
I click the 'OK' button
What happens next is:
The Windows 'Settings' dialog window appears on top off my Visual Studio window and in the left hand pane 'For developers' is selected (the same dialog that would appear if you pressed the Windows key on your keyboard and then typed "settings" followed by pressing the Enter key)
To resolve the Windows 'For developers' Settings dialog window appearing each time, you need to enable your device for development.
To enable Developer mode:
From the For developers settings dialog, choose the 'Developer mode'
Read the disclaimer for the setting you chose, then click Yes to accept the change.
After clicking Yes, you may be prompted to restart your computer.
Source: Enable your device for development
Make sure you are using the latest version of the Zebble Visual
Studio extension.
Try running your visual studio in admin mode.
Also see I can not build the generated UWP project by Zebble
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
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".
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