There are two NuGet packages used in several projects in a solution. Say Package A & Package B. The Package B has dependency with Package A
In a project I have uninstalled Package A and Package B is not uninstalled. But still I can build the project successfully. This project has used classes of Package A directly. How this project without it's reference built successfully ?
When F12 is pressed on the class name from Package A in the project, the file path in metadata file is like this format:
%USERPROFILE%\.nuget\packages\A\1.0.1\lib\net47\Package_A.dll
How to stop the project from referring this dll ?