The "using directive" is your
using mynamespace;
piece of code. An "assembly reference" is a reference to an
assembly[
^].
In this case, you are probably missing an assembly reference. If your
ConsoleApplication2
is in another project (but in the same solution), then:
- Go to the Solution Explorer.
- Right-click on "References" and choose "Add Reference".
- In Visual Studio 2012/2013, choose "Solution", in VS 2010, choose "Projects".
- Select the project that contains your
ConsoleApplication2
namespace and click OK.
If the
ConsoleApplication2
project is not in the same solution, then chooose "Browse" instead of "Solution" and choose the desired assembly from your file system.