The project is not built into the active configuration - Xamarin / Xamarin.Form

I downloaded Xamarin.Form sample projects from github https://github.com/xamarin/xamarin-forms-samples

As soon as I open any sample projects, this does not allow me to run on iOS Simulator.

Does anyone know how to deal with this problem. I am using Xamarin Studio on a Mac operating system.

enter image description here

enter image description here

enter image description here

UPDATE-1:

I also found the following useful article about my problem http://crossplatform.io/2013/12/02/setting-the-active-configuration-in-xamarin-studio/

I chose TabbedPageDemo.iOS--> iOS|Debug , then I was able to see part of iOS, however it still does not give me the opportunity to Set As Start Project

enter image description here

enter image description here

+9
source share
4 answers

Decision

 Options --> Configuration-->Configuration Mappings-->ProjectName.iOS-->Debug | iPhoneSimulator 

Be sure to set the Debug | iPhoneSimulator and NOT Debugging | iPhone

enter image description here

enter image description here

Now you can see Set as launch project .

enter image description here

+25
source

In Xamarin Studio (I use 5.10.3) click Project -> Active Configuration -> Debug | iPhoneSimulator Project -> Active Configuration -> Debug | iPhoneSimulator

Xamarin Studio Set Active Configuration

+14
source

You do not need to bother with the configurations - Install as a launch project is permission.

You can see in the screenshot that you did not select the initial project.

+1
source

Solution for Visual Studio Mac 2017 ...

If the Configuration Mapping tab (as detailed in the answers above) does not appear, go to iOS> Options> Compiler.

Install Configuration on Debug , and Platform on iPhoneSimulator as shown here ...

enter image description here

Then, on the Run toolbar , change Debug to Debug|iPhone Simulator as shown below ...

enter image description here

to

enter image description here

Now you are ready to work :)

0
source

Source: https://habr.com/ru/post/1207261/


All Articles