Closed tiesmaster closed 2 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Seeing the future of NuKeeper (#1155), I understand that this project is not being maintained anymore, and I can probably switch over to dotnet-outdated
or renovate
.
🐛 Bug Report
Running
$ nukeeper inspect
on this project file results in anArgumentNullException
(see below for the full trace). I've tracked that down to thisItemGroup
(bothProjectReference
elements need to be removed to get the command to execute without throwing), and they came with the template I used to generate the solution structure (the source of this template can be found in thedotnet/roslyn-sdk
repo, and I believe it this file).I don't fully understand the purpose of those items in the project file, and the 2nd link is dead, so I'm a bit reluctant to remove that from the project file, and I'd expect that this is a bug in NuKeeper parsing the project file. If it's not, then I'm fine with closing the issue, and find a different way on how to solve this. Alternatively, I was hoping for an option to ignore a given project (either on the commandline, or in the configuration option), but couldn't find any support for that.
Full trace of the `ArgumentNullException`
````xml System.ArgumentNullException: Value cannot be null. (Parameter 'path2') at System.IO.Path.Combine(String path1, String path2) at NuKeeper.Inspection.RepositoryInspection.ProjectFileReader.MakeProjectPath(XElement el, String currentPath) in D:\a\r1\a\_NuKeeper PR Build\drop\NuKeeper.Inspection\RepositoryInspection\ProjectFileReader.cs:line 98 at NuKeeper.Inspection.RepositoryInspection.ProjectFileReader.<>c__DisplayClass6_0.Expected behavior
Reproduction steps
$ git clone https://github.com/tiesmaster/vinyl.git
$ cd vinyl
$ git checkout d918cc4
$ nukeeper inspect
Alternatively:
File > New Project
in Visual Studionukeeper inspect
on the generated solutionConfiguration
Version: 0.35.0
Platform if applicable: