Start modelling your app today.

Get started for free

What's this?

MSBuild Settings

This article will help you configure your server-side

Your server-side project can be found in the serverside/src folder in the root of your target repository.

MSBuild is the build tool which handles the running, building, testing and packaging of your application to deploy. It handles dependencies and can run custom tasks.

The .csproj provides an XML Schema for a project file which controls how MSBuild processes and builds your application. This file contains dependencies and custom tasks.

Added Server-side Dependencies

If you want to add a project or external dependency to your C# server-side, you can simply add a package reference or reference a NuGet repository. You can find the dependencies in the .csproj file:

<PackageReference Include="Serilog.Settings.Configuration" Version="3.1.0" />
    <PackageReference Include="Swashbuckle.AspNetCore" Version="5.0.0-rc4" />
    <PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="3.1.2" />
    <PackageReference Include="Z.EntityFramework.Plus.EFCore" Version="3.0.40" />
    <!-- % protected region % [Customise authorization library here] end -->

    <!-- % protected region % [Add any further imports here] off begin -->
    <!-- % protected region % [Add any further imports here] end -->

A dependency can be added by enabling the Add any further imports here protected region and adding project references. The main repository of packages can be found on

For example to add RestSharp to the server-side:

<!-- % protected region % [Add any further imports here] on begin -->
    <PackageReference Include="RestSharp" Version="106.10.1" />
    <!-- % protected region % [Add any further imports here] end -->

Learn More

For more comprehensive information on the .csproj file structure, take a look at the MSBuild project file schema reference in the Microsoft documentation.

Last updated: 29 April 2020

Start modelling your app today.