Skip to content
Snippets Groups Projects
Unverified Commit de9608be authored by Florian Greinacher's avatar Florian Greinacher Committed by GitHub
Browse files

docs(nuget): add hint for protocol version in NuGet.config (#27933)

parent e500e504
No related branches found
No related tags found
No related merge requests found
...@@ -78,15 +78,26 @@ So Renovate behaves like the official NuGet client. ...@@ -78,15 +78,26 @@ So Renovate behaves like the official NuGet client.
#### v3 feed URL not ending with index.json #### v3 feed URL not ending with index.json
If a `v3` feed URL does not end with `index.json`, you must append `#protocolVersion=3` to the registry URL: If a `v3` feed URL does not end with `index.json`, you must specify the version explicitly.
```json - If the feed is defined in a `NuGet.config` file set the `protocolVersion` attribute to `3`:
{
"nuget": { ```xml
"registryUrls": ["http://myV3feed#protocolVersion=3"] <packageSources>
<clear />
<add key="myV3feed" value="http://myV3feed" protocolVersion="3" />
</packageSources>
```
- If the feed is defined via Renovate configuration append `#protocolVersion=3` to the registry URL:
```json
{
"nuget": {
"registryUrls": ["http://myV3feed#protocolVersion=3"]
}
} }
} ```
```
You may need this workaround when you use the JFrog Artifactory. You may need this workaround when you use the JFrog Artifactory.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment