Problem:
Visual Studio templates for various project types often add package references that are not needed in the resulting project and will only lead to downloading needlessly many packages.
How to solve:
Foreach package referenced in packages.config search the corresponding project and its imported .targets files for references or import statements that require this package. Then raise a warning for every package that has not been found in the project.
Problem:
Visual Studio templates for various project types often add package references that are not needed in the resulting project and will only lead to downloading needlessly many packages.
How to solve:
Foreach package referenced in packages.config search the corresponding project and its imported .targets files for references or import statements that require this package. Then raise a warning for every package that has not been found in the project.