CommonBuildToolset / CBT.Modules

Modules for CBT
MIT License
9 stars 5 forks source link

Nuget.Deterministic.2.0.25 failing due to missing Nuget.Common binary #283

Open johnthcall opened 5 years ago

johnthcall commented 5 years ago

I have tried to put a package reference to Nuget.Common 4.3.0 in my CBT Modules project but the issue persists.

C:\Users\johncall.nuget\packages\nuget.deterministic\2.0.25\build\NuGet.Deterministic.targets(38,5): error MSB4018: System.IO.FileNotFoundException: Could not load file or assembly 'NuGet.Common, Version=4.3.0.5, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

jeffkl commented 5 years ago

Do you only get the error in command-line based builds via MSBuild.exe and not in Visual Studio? What version of MSBuild and Visual Studio are you running?

johnthcall commented 5 years ago

Error appears both via msbuild and via visual studio. msbuild version: Microsoft (R) Build Engine version 15.8.168+ga8fba1ebd7 for .NET Framework Visual Studio 2017 version: 15.8.3

msabansal commented 5 years ago

@jeffkl I also hit this. NuGet.Tasks.Deterministic.dll Seems to depend on Nuget.Common 4.3.0.5 which is no longer available(I cant find it on nuget.org). Can we generate a new version of this package?