Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error when adding a reference to my unit test project in Visual Studio 2013

I am using Visual Studio 2013.

http://msdn.microsoft.com/en-us/library/ms182532.aspx

From my newly created Test project, I try to add a reference to my actual project. like this: In Solution Explorer, select References in the BankTests project and then choose Add Reference... from the context menu.

I get an error saying 'Unable to add a reference to project 'MyProject'.

like image 557
hap497 Avatar asked Oct 09 '14 00:10

hap497


1 Answers

Check your target Framework in both project settings. It should be the same.

like image 50
Nelly Avatar answered Sep 18 '22 18:09

Nelly