Search code examples
c#referencevisual-studio-2017vs-community-edition

The reference component could not be found - yellow triangle (visual studio 2017)


There are two projects in my solution. The references in the first one are detected, while the same references in the second one are not detected. Yellow triangles indicates that those references are not found.

Valid XHTML

Red is my second project, and blue is the reference to the first project.

Both projects are using same target framework 4.6 (checked in the properties)

The first project is compiled successfully.


Solution

  • Answering to my own question. Be aware that it is not probably the issue from path of the references. There should be some other problems, which in my case was the missing Nuget library in the package directory that is referenced in package.config file.

    You could restore Nuget Package or simply uninstall and reinstall another version of the Nuget library.