Question: are you missing an assembly reference c# visual studio?
Answer: Open your test project in Visual Studio.
Go to Solution Explorer.
Expand the project and open the References folder.
Select the references with a yellow warning icon. ... 
Right click on the selected assemblies and choose Properties from the context menu.