... | ... | @@ -41,19 +41,20 @@ git checkout -b my_first_sila_server |
|
|
|
|
|
*Option 2: Add the dependencies as NuGet packages*
|
|
|
|
|
|
Instead of adding the project to the existing C# repo, you can start with a fresh solution, creating a new .NET console application and install the Sila2 NuGet package `Sila2.0.1.0-master.nupkg` that can be found in the repo folder
|
|
|
```bash
|
|
|
sila_csharp/src/Sila2/bin/Debug
|
|
|
```
|
|
|
Instead of adding the project to the existing C# repo, you can start with a fresh solution, creating a new .NET console application and add the `Sila2` NuGet package.
|
|
|
|
|
|
|
|
|
1. On the **Tools** menu, select **Options**.
|
|
|
|
|
|
2. Expand **NuGet Package Manager** and select **Package Sources**.
|
|
|
|
|
|
In Visual Studio, you have to install the package manually from a local source that has to be created in the NuGet Manager options.
|
|
|
![24_add_nuget_package](uploads/d111b851f2af8adf6e64252557862616/24_add_nuget_package.png)
|
|
|
![25_sila2_nuget_package](uploads/74f98bc75e59365c5199c3fe550c2eed/25_sila2_nuget_package.png)
|
|
|
3. Select the green plus in the upper-right corner.
|
|
|
|
|
|
You may also follow the steps [here](https://gitlab.com/SiLA2/sila_csharp/blob/master/docs/deployment.md)
|
|
|
4. At the bottom of the dialogue box, enter the feed's name and the URL `https://nexus.unitelabs.ch/repository/nuget-sila-development/` that you got in the last step.
|
|
|
|
|
|
The following steps are the same for both ways.
|
|
|
5. Select **Update**.
|
|
|
|
|
|
6. Add the `Sila2` Package Reference via NuGet
|
|
|
|
|
|
## Start Development
|
|
|
|
... | ... | |