2

I work on a project with one more developer and we share our code via Git, everything works great until yesterday, after I pulled the last commit, All my references got Yellow triangle with the following Warning:

The referenced component '------' could not be found.       

also you can see it in the screenshot bellow:

I want to fix it, i didn't find solutions for this problem. I'll be happy to get your help! Thanks.

Tomer Aro
  • 175
  • 1
  • 12

2 Answers2

0

Have you tried checking that App.config & web.config aren't damaged and that Nuget packages are restored/installed in an existing directory?

PChristianFrost
  • 120
  • 2
  • 13
  • I also have the following error: This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is... – Tomer Aro Feb 29 '16 at 10:52
  • Open NuGet Manager and it should ask you at the top if you want to restore. Otherwise, here is some more info on restoring [NuGet Package Restore](https://docs.nuget.org/consume/package-restore) – PChristianFrost Feb 29 '16 at 10:56
0

The good way to solve this is to delete the reference and Install it from nuget again. Or pull the DLL from Git individually and then add them to the project.

Uwe Keim
  • 39,551
  • 56
  • 175
  • 291
Apsar
  • 65
  • 4
  • 1
    But is that a good long term solution? Would be curious about root cause if happens again. Also is this with .NET Core or Framework? – dodegaard Aug 28 '17 at 20:35