docs(nuget): Document lockfile exception (#13878)

This commit is contained in:
horihel 2022-01-28 12:19:27 +01:00 committed by GitHub
parent 54f5adf922
commit b17dc19da7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,6 +49,8 @@ In this example we defined 3 NuGet feeds.
The package resolving process uses the `merge` strategy to handle the 3 feeds.
All feeds are checked for dependency updates, and duplicate updates are merged/joined together into a single dependency update.
If your project uses lockfiles (a `package.lock.json` exists), alternate feed settings must be defined in a `NuGet.config` only, as `registryUrls` are not passed through to the NuGet commands used.
### Protocol versions
NuGet supports two protocol versions, `v2` and `v3`, the NuGet client and server must use the same protocol version.