I want to specify the NuGet package source in vs code since I got follow error :
Those packages from a customized NuGet source which is causing this issue.
Is there have any way can help me resolve this case?
I want to specify the NuGet package source in vs code since I got follow error :
Those packages from a customized NuGet source which is causing this issue.
Is there have any way can help me resolve this case?
I usually solve this by having a nuget.config
file in the same place as your .csproj
. Contents look like this
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="ArtifactoryNuGetV3" value="https://{URL GOES HERE}/artifactory/api/nuget/v3/nuget-local" protocolVersion="3" />
</packageSources>
</configuration>
Another way to do it is to provide --source
in your commandline Documentation.
If yout are using visual studio, you probably would need to add that nuget source manually.