Search code examples
c#asp.net-mvc-3projects-and-solutions

How to access other projects in one solution


I have one empty solution Store with 3 projects Store.Domain, Store.UnitTests, Store.WebUI

In domain I have my Data Model and I like to access through Store.WebUI. I try using Store.Domain however I got an error type or namespace could not be found are you missing using directive or an assembly reference?


Solution

  • in visual studio you can right-click on your solution and then choose to add an existing project. In case you want to include the complete project.

    or you can go to references and add the just the reference to your Store.Domain

    Then you should be able to acces your other namespaces.