Brief #
All files mentioned here you can download from our privately hosted NuGet server.
NuGet #
NuGet is most convenient way to keep up to date referenced libraries within your project. To add our source globally run from cmd:
add source #
nuget sources add -Name CPlugin -Source https://nuget.cplugin.com/nuget/default |
To check that source has been added successfully you can get list of all listed libraries. Run:
display available packages #
nuget list -source CPlugin |
In Visual Studio you can do the same. Navigate to 'Tools' → 'Options' → 'NuGet Package Manager' → 'Package Sources' then click on green plus sight ant top right corner to ass new source, put Name value of 'CPlugin' and source value of 'https://nuget.cplugin.com/nuget/default
', and finally click 'Update' button next to 'Source' field, that's it. Now you are able to use this source in Package Manager.
To check that source is fully observable navigate to 'Tools' → 'NuGet Package Manager' → 'Manage NuGet Packages for Solution'. At top right cornet select 'CPlugin' source and click 'refresh' icon next to search by name field. It must show list of all available packages.
Chocolatey #
To install and update software is use Chocolatey. We don't use any installers to minimize development time and maintain duties as a result development time get shorter and price get less. Also you have whole history to be able to rewind if something goes wrong.
Installing of Chocolatey is very simple process, just run this command from cmd
install chocolatey #
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
Then add new source list, also run from command line:
add sources #
choco source add -n cplugin.libs -s https://nuget.cplugin.com/nuget/defaultchoco source add -n cplugin.apps -s https://nuget.cplugin.com/nuget/appschoco source add -n nuget.org -s https://www.nuget.org/api/v2/
After that, you will be able to install/update our apps from any time you want from cmd.
install example #
choco install CPlugin.CopyTrade.SentimentStrategy.LMAX
Then navigate to C:\ProgramData\chocolatey\lib\
as default installation directory for packages and check newely created folder CPlugin.CopyTrade.SentimentStrategy.LMAX
.
To upgrade to newest verion of this tool just sure from cmd:
upgrade example #
choco upgrade CPlugin.CopyTrade.SentimentStrategy.LMAX