Configure NuGet CLI/ Visual Studio to Work with NuGet v3 API

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide
ft:sourceType
Paligo

Manually add the protocolVersion=3 attribute to the NuGet.Config file:

  • For Linux installation: The file is located under ~/.config/NuGet/NuGet.Config

  • For a Windows installation: Locate the file usually under %appdata%\NuGet\NuGet.Config and add/v3/ to the source URL.

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
    <add key="ArtifactoryV3Remote" value="http://artifactory:8081/artifactory/api/nuget/v3/nuget-remote" protocolVersion="3" />
</packageSources>
...
...
</packageSourceCredentials>
</configuration>