简体   繁体   中英

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 ?

右键单击“UnitTest Project”中的“References”并单击“Add Reference ...”,从该对话框中选择您的其他项目。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM