C# Could not load file or assembly : NuGet

Any idea to solve this problem?

I just created a new project and I want tu use System.IO.Pipes I install the package System.IO.Pipes with NuGet, he is my reference directory but when I try to build I have :

Could not load file or assembly 'System.IO.Pipes, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Le fichier spécifié est introuvable.

Any Idea to solve this issue?

Thanks


I faced a similar problem a few months back. Updating the NuGet Package Manager, the clean the solution, Restart VS IDE and then reinstalling library worked for me.


Can you try the following;

  1. Clean solution
  2. Rebuild solution

If this fails do the following;

  1. Uninstall the package
  2. Remove the DLL package from packages on your Solution held on your PC
  3. Reinstall package