CommonBuildToolset / CBT.Modules

Modules for CBT
MIT License
9 stars 5 forks source link

NuGetAssetsLock.props is not updated when a centrally managed package version is updated #261

Open jeffkl opened 5 years ago

jeffkl commented 5 years ago

In some cases the lock file is not regenerated, need to investigate why. Internal issue: https://stackoverflow.microsoft.com/questions/109394/package-version-in-nugetassetslock-props-is-hard-coded-when-packagereference-ver

Paul-Dempsey commented 5 years ago

Workaround from linked:

As a workaround, you can set the MSBuild property EnableNuGetDeterministic to false in your Directory.Build.props to disable the functionality.

<PropertyGroup>
  <EnableNuGetDeterministic>false</EnableNuGetDeterministic>
</PropertyGroup>