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

Compare with Current View Page History

Version 1 Next »

This document describes how the new layout of Delta Shell developer projects is defined and how it can be expanded with new products and projects. The Delta Shell Framework is split up into separate NuGet packages that can be imported into C# projects in order to develop plugins for Delta Shell.

Creating a Product File Structure

When you start from scratch with a completely new project where Delta Shell doesn't have any plugins for, you start by creating a new C# solution (*.sln). There is a place to actually add this file to svn, although you are not obliged to put it there. You may also make your own svn repository. But if the Delta Shell team agrees, you could put your new files and folders in svn under https://repos.deltares.nl/repos/delft-tools/trunk/delta-shell/Products/[YourProductName].

Screenshot of the repository where products are stored.

Create a solution and a csproj file in your folder. Make it as the following structure with a src and a test folder.

This is the default way of making a solution and the plugin csprojs that come along. Of course, you can do this in visual studio. The csproj that you add should be a class library, because we are going to make a plugin and the plugin is a dll that will be loaded by Delta Shell.

Download the Delta Shell SDK

Now that we have our csproj set up, we need to download the SDK, so we can start making our plugin. The first thing we do, is add the file nuget.config next to our sln file.

  • No labels