I am trying to run:
nuget pack project.csproj
but because of the project directory structure:
A \ B \ C \ Project
he continues to say:
NuGet.Protocol.Core.Types.FatalProtocolException: Failed to get information from the remote source "A \ B \ Packages", which must be "A \ Packages". How to change where NuGet looks for packages when dependencies are established.
I tried putting NuGet.config in both the project directory and the Solution (in .nuget). I added this to the file:
<config>
<add key="repositoryPath" value="A\Packages" />
</config>
in both places, and that didn't matter (he always says A \ B \ Packages).
source
share