msbuild - Jenkins not finding a nuget package -


i'm setting jenkins ci server. got first step run properly:

nuget restore -noninteractive  -configfile nuget.config -verbosity detailed -nocache 

that works properly, when want compile app with:

c:\program files (x86)\microsoft visual studio\2017\professional\msbuild\15.0\bin\msbuild.exe 

and ${workspace}\src\weather.app.csproj throws error:

c:\program files (x86)\microsoft visual studio\2017\professional\msbuild\microsoft\nuget\15.0\microsoft.nuget.targets(178,5): error : package hockeysdk.core version 4.1.6 not found in c:\windows\system32\config\systemprofile\.nuget\packages\. run nuget package restore download package. [c:\program files (x86)\jenkins\workspace\myapp\weather\weather.app.csproj] 

the weird thing hockey package exists in path: enter image description here

if run same command in vs2017 local project, runs smoothly. jenkins server (which in same machine) not build properly.

any ideas? thanks


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -