I can't see a referenced class of another namespace in C#

.net, c#, namespaces, project, reference

Solution

Does the project contain a reference to the other project? You can't just add the namespace, the project itself needs an assembly reference to the other project which has that namespace.

In Visual Studio, open the Solution Explorer. Right-click on the `ConstrainedSchedule` project and select something along the lines of "Add Reference." In the dialog, select project references (depending on the version of Visual Studio it may be a tab or some other interface indicating projects as part of the solution). Select the `ConstrainedScheduleInterfaces` project and add the reference.

More information here.

Problem

I have 2 projects: - ConstrainedScheduleInterfaces - ConstrainedSchedule that has a folder (Testing) with my class that need the reference, here's the code: Tests.cs: ``` using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using using NUnit.Framework; using Ninject; using ConstrainedScheduleInterfaces; namespace ConstrainedSchedule.Testing { internal static class Configuration { ........... } } ``` I added the reference to the ConstrainedSchedule project, but the `using ConstrainedScheduleInterfaces;` is marked red as not found. Both the project has destination framework set .NET Framework 4.5 Any help? Thanks

Original source