Bhaumik Shah
Bhaumik Shah

Reputation: 382

Xamarin Forms compilation error in visual studio

I am trying to make a simple xamairn form apllication by folling steps

enter image description herel after creating project when compile it

enter image description here

Upvotes: 2

Views: 128

Answers (1)

Jason
Jason

Reputation: 89179

This is not a compilation error. Your solution should contain multiple projects - a PCL and one or more platform specific (iOS, Android, Windows Phone) projects. The PCL is just a library - you cannot run it. Instead you need to right click on one of the platform projects and select "Set as Startup Project". Then when you run your solution Visual Studio will execute that project in the appropriate simulator/emulator.

Upvotes: 4

Related Questions