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

Compare with Current View Page History

« Previous Version 2 Next »

Exercise outline

The goal of this exercise is to show how a new plugin can be developed using the Delta Shell Application plugin Nuget package. The Delta Shell NuGet package will be used in order to make a quick start.

Create a new C# project

Start Visual Studio 2013 and create a new C# project (File | New | Project...) by configuring the project wizard as shown in the following image:



Afterwards, a solution should be created with a structure as shown in the following image:



The default class named Class1.cs can be removed.

Add the Delta Shell SDK to the project using NuGet

A Visual Studio extension called NuGet will be used to add the Delta Shell application plugin package to the newly created project.

General information about NuGet can be found at http://docs.nuget.org/.

Information on how to install NuGet as a Visual Studio extension can be found at http://docs.nuget.org/docs/start-here/installing-nuget.

Since Visual Studio 2013 NuGet is installed by default. However you have to make sure that it is updated to the latest version by checking the Extension and Updates window (click TOOLS | Extensions and Updates... | Updates | Visual Studio Gallery). When previous version is used - installing Delta Shell SDK package might result in the following error:

 

The Delta Shell application plugin package is build on the teamcity build server, and so we must add the build server package feed address to the package locations of nuget. Open the options of Visual studio (click TOOLS | Options) and browse to the Nuget package manager settings.

In the Package Sources add a new source by using the + button and add the following information :

 


Open the NuGet package manager (right click the solution | Manage NuGet Packages for Solution...) and search for the Delta Shell application plugin package in the TeamCityAuth like shown in the following image:

 

  • No labels