Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3116

After uninstalling NuGet Package, the project still refers it

$
0
0

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 ?


Viewing all articles
Browse latest Browse all 3116

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>