You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. After [generated the `.nupkg`](#generating-package-nupkg) file, create a folder accessible to you (local directory or network share) as package repo:
130
+
131
+
Publish the package to local repo using `nuget add`:
2. Using [Paket](https://fsprojects.github.io/Paket/index.html), add your local folder like a `source` to the `paket.dependencies` file, in a project/application that will use this package like a dependency:
137
+
138
+
```bash
139
+
source D:\source\nuget_repo
140
+
source~/source/nuget_repo
141
+
source\\server\nuget_repo
142
+
143
+
# Paket supports relative directory to the paket.dependencies too
144
+
source directory/relative/to/paket.dependencies
145
+
```
146
+
147
+
If your destiny project/application uses only [Nuget](https://www.nuget.org) like a package manager (without **`Paket`**), you can add the nuget repo folder mentioned above with **Visual Studio**:
- [Creating and using a local NuGet package repository](https://medium.com/@churi.vibhav/creating-and-using-a-local-nuget-package-repository-9f19475d6af8)
155
+
156
+
157
+
## Publish to Azure Devops/Artifacts
125
158
126
159
1. Restore the project to provide authentication
127
160
@@ -135,3 +168,31 @@ Your project folders structure should be:
135
168
# See the nuget.config file <packageSources> tag
136
169
nuget push -Source "[your-feed-name]" -ApiKey az [path/to/nupkg-file].nupkg
137
170
```
171
+
172
+
## Install remote package to an application
173
+
174
+
1. Using [Paket](https://fsprojects.github.io/Paket/index.html), add your **remote feed URL** like a `source` to the `paket.dependencies` file, in a project/application that will use this package like a dependency:
If your destiny project/application uses only [Nuget](https://www.nuget.org) like a package manager (without **`Paket`**), you can add the **remote feed URL** mentioned above with **Visual Studio**:
0 commit comments