

- #The name contentpage does not exist xamarin visual studio code#
- #The name contentpage does not exist xamarin visual studio windows#
So probably a simple ContentPage will suffice here. As described before, this will contain just a text about the company. We can create these pages like we did with the first one, and of course in our Pages folder.
#The name contentpage does not exist xamarin visual studio code#
FourDotNet Project treeĪnd the code in my App.cs looks like this: I’ve already created some more pages in the screenshot underneath. To keep things neat I’ve created a folder to contain my pages instead of just putting them in the root.Īfter I did this my FourDotNet project looks like this:
#The name contentpage does not exist xamarin visual studio windows#
Also awesome but for me the CarouselPage feels too much like the native Panorama Windows Phone control.įirst thing I did was create a XAML page, MainPage.xaml, in the shared project, FourDotNet, and change the App.cs to use is. Let’s check out the CarouselPage just in case. NavigationPage manages a stack of pages, doesn’t fit for now.

The MasterDetailPage is a viable option, but since the app won’t have too much content, the ways to navigate within a MasterDetailPage seemed to devious. The ContentPage seemed a little to marginal for the goals I wanted to achieve. The first question arises: what layout to choose?Īs we saw in my last post there are a number of different pages already provided by Xamarin. So as a solution name I choose FourDotNet to get around it. The name of the company I work for is 4DotNet which, as it turns out, is a toughie while coding because you can’t start class names and variables etc. So start Visual Studio, create a new project, give it a name and wait a while for all the projects to be generated. Make it so! Buckle your seatbelt Dorothy, ‘cause Kansas is going bye-bye!īecause of my research I knew what project template to choose to satisfy my needs. The second one wasn’t really a goal in itself, but by providing relevant and fun content in a sexy UI I would hope to persuade potential customers to choose for us. The user would be able to contact us from anywhere within the app when they are (finally) convinced of our epic skills. Just incorporate a call and e-mail button on every page elegantly. The first ‘requirement’ would be easy to solve.
