I am looking for a way to detect from the command line unused ProjectReference references in the csproj file (not using
references).
Something like that but I want to add the process in an automatic CI pipeline, without opening VS, resharper or any other IDE tool.
I see there exist this command to remove references, but first I need to detect which references are not used.
There exist already a question about that but it's 13 years old and the answers are obsolete.
I wonder if the VS tool posted above has any dotnet
equivalent tool.