Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Current »

In this step we will create the project and add the relevant NuGet packages.

This guide uses the on-line templates that are available in the Visual Studio gallery. If you can't find the templates on-line, please download them here.

Creating the project

To create the project, start Visual Studio and choose File => New Project... Then switch to the on-line template section as you can see in the screenshot below and search for Catel:

Pick a good name, in our case WPF.GettingStarted and click OK. The template will now be downloaded and the project will be created.

Adding the NuGet packages

As soon as the project is created, the Readme.txt will be opened and instruct your what to do. Right-click on the solution => Manage NuGet packages... Then search for Catel.Extensions.Controls and click Install.

Running the project

Now the NuGet packages are installed, the project is created and can be built. The basics are created and the application is ready:

Explanation of the project structure

The project template creates the project structure that fits best with Catel. Below is an explanation of the new project structure:

The ViewModels folder contains the MainWindowViewModel, which contains the logic for the interaction with the MainWindow view.

The Views folder contains the MainWindow, which represents the actual view.

Up next

Creating the models

 

  • No labels