Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding the using clause to the project - beginner

I created a C# MVC project, and later added a Unit test project to it. The structure now is as follows;

Solution

|

|_ UnitTest Project

|

|_ MyProject

Now from the unit test project i need to refer the MyProject how can i write it;

I wrote the following but it didn't work;

using MyProject.View;

How can i solve this ?

like image 471
Sharon Watinsan Avatar asked Dec 26 '22 03:12

Sharon Watinsan


1 Answers

Right click "References" within "UnitTest Project" and click "Add Reference...", select your other project from within this dialog.

like image 168
Moo-Juice Avatar answered Jan 08 '23 10:01

Moo-Juice