Skip to content

v4.1.0-pre0001 Fix dotnet list parsing issues

Pre-release
Pre-release
Compare
Choose a tag to compare
@digitalcoyote digitalcoyote released this 17 Apr 00:58
· 14 commits to master since this release

NuGetDefense is switching away from parsing the dotnet list output to parsing the project Lock file for resolved dependencies. This should fix the intermittent (ans sometimes cosntant) failures from parsing dotnet list. This required picking up a new dependency NuGet.ProjectModel

What you need to know:

  • dotnet restore is required to create the lock file
  • The file in quest is project.assets.json
    • NuGet Defense looks in the same folder as the project file and in the ./obj folder
  • Fixes #180