AArnott / CodeGeneration.Roslyn

Assists in performing Roslyn-based code generation during a build.
Microsoft Public License
408 stars 60 forks source link

NuGet configuration packages direction #149

Closed mwpowellhtx closed 5 years ago

mwpowellhtx commented 5 years ago

Hello,

Was the NuGet.Config entry, <add key="repositorypath" value="packages" /> an effort to install the package dependencies, tooling, etc, in the local solution packages folder?

If so, I do not think that is the correct key. Try <add key="globalPackagesFolder" value="packages" />.

Cheers.

AArnott commented 5 years ago

This entry is a carryover from packages.config days. It directed nuget to restore packages to a sibling to the src folder instead of under it. We were not trying to redirect the global packages folder.