The NuGet.Config, .csproj and .nuspec are in the same folder (project folder). This is my NuGet.Config:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<config>
<add key="repositoryPath" value="..\packages" />
</config>
</configuration>
When I type nuget pack
in powershell in the project folder, the .nupkg file is created in the same folder, not in the ..\packages folder.
Versions: NuGet Version: 4.1.0.2450, Visual Studio 2015
I've googled for hours and still no luck for a working solution.
Tried this one still not work: nuget.config is ignored, specifically the repositoryPath