VS .Net References with yellow triangle

2019-08-10 21:09发布

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.

2条回答
爷、活的狠高调
2楼-- · 2019-08-10 21:28

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.

查看更多
叼着烟拽天下
3楼-- · 2019-08-10 21:28

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

查看更多
登录 后发表回答