c# - Multiple locations for NuGet Restore -


i know can add different locations nuget.targets file, , know nuget work reading file share.

can put file share in nuget.targets file however?

this build server can use nuget.targets file pull nupkg's.

i tried doesn't seem work:

<itemgroup condition=" '$(packagesources)' == '' ">     <!-- package sources used restore packages. default used registered sources under %appdata%\nuget\nuget.config -->         <packagesource include="https://nuget.org/api/v2/" />         <packagesource include="//jcwinvm/packages" />   </itemgroup> 

try backslashes:

<packagesource include="\\jcwinvm\packages" /> 

Comments