Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Preview
Start a free Courses trial
to watch this video
While most of us are familiar with creating new projects in Visual Studio, creating a Xamarin project has some decisions that affect how we develop our project.
[MUSIC]
0:00
[SOUND] Let's open up Visual Studio and
create a new project.
0:04
On the create New Project dialog,
0:08
you'll find Cross-Platform
under the Visual C# section.
0:10
For this course,
0:15
we will pick Cross-Platform App (Xamarin),
which gives us a nice starting point.
0:16
We will be building a pizza calculator
app, so let's call it PizzaCalculator.
0:21
The New Cross Platform App dialogue
has a number of options to choose.
0:29
We want a Blank App,
so leave this selected.
0:36
The UI Technology we want is Native.
0:39
Although Xamarin.Forms are great for
0:42
many scenarios, it can increase code
sharing and remove most UI-specific code.
0:43
We're not covering Xamarin.Forms in this
course because there would be a lot to
0:48
cover and we should understand the basics
before adding another framework.
0:51
Choose the Code Sharing Strategy,
Portable Class Library, or PCL.
0:56
Later, we'll review
the available strategies for
1:01
sharing code across projects and
platforms.
1:03
And discuss why we're using
a PCL over other options.
1:05
Depending on installed components,
1:10
you may get a dialog to decide which
version of Windows 10 you wanna target.
1:11
Just take the default,
since we'll not use it in this course.
1:16
You should now see the solution
with three projects.
1:25
The shared project and
the iOS and Android projects.
1:27
If you have a Windows project,
1:31
you can remove it, since we will not
be looking at it in this course.
1:32
You need to sign up for Treehouse in order to download course files.
Sign up