Search code examples
c#referenceprojects

Can't see items from one project in another C#


I have all of my references set up, and the classes are public, but I still cannot see the classes and project in the project I'm working in. Does anyone have any other ideas to try? Thanks!


Solution

  • There can be number of reasons for this.

    1. Please Check If added the Reference Correctly to your project
    2. Then Check your accessor methods in the referring project.make sure you use the public keyword for classes and methods you want to reference.
    3. Bothe projects should be in same .NET version or Reference project should be less than the refereeing project
    4. if you can show the specific code both projects it's easier to determine