- March 24, 2007
- 12,073
- 7,459
- Home Country
- Germany
- Moderator
- #111
I had similar issues recently when I reworked the project folder structure:There is something really fucked up :/Maybe it's not quiet up date -vs- what's on GitHub. I'll do another clean build.
I committed now all changes which the Nuget Packagemanager has done after installing the Json package (I did nothing more than hit install on the package for my project).
It looks like it updated everything to a new version of how the packages are managed?!
Now we are getting this error:
D:\TeamCity\buildAgent\work\7c012272298dd9c7\MediaPortal\Source\.nuget\NuGet.targets(83, 9): Unable to locate 'D:\TeamCity\buildAgent\work\7c012272298dd9c7\MediaPortal\Source\.nuget\NuGet.exe'
- Before the solution already restores NuGet packages.
- After moving packages around and fixing the references later I got errors because of missing packages. So they where not restored.
- Then I have enabled "Nuget package restore" inside the solution. This adds the ".nuget" folder, including nuget.exe binary. But this .exe is not commited, because of the global exclusion filter for ".exe". Two issues with this:
- Why the restore works before modification? Did it change with VS2013 Update 4 or newer nuget version?
- The nuget target contains code to automatically download nuget.exe if the file is missing. Why does this not happen?