Click or drag to resize

Create DLL in Visual Studio

To write code in Visual Studio, you should create a project in Visual Studio:

Designer Creating a DLL cube in Visual Studio 00

It is necessary to install S#.API in the created project. There are two ways to install S#.API: Installing from the GitHub/StockSharp repository of the GitHub web service and installing from Visual Studio using the Nuget service. The installation of S#.API is described in the Installation instruction section.

From now forward, the process of a strategy creating is the same as described in the First C# strategy section. After creating the strategy, you need to compile the project by clicking Build Solution in the Build tab.

Designer Creating a DLL cube in Visual Studio 01

The project is build by default in a folder …\bin\Debug\ .

Designer Creating a DLL cube in Visual Studio 02

To add Dll to the common schema, you should put the DLL import cube, and specify Dll build in the Build field in the property panel. After that it will be possible to select a cube by name in the Strategy type name field:

Designer Creating a DLL cube in Visual Studio 03
See Also