Select the project you want to add the reference to Moq.
Open Nuget for this project.
Select "Browse" than type "moq" at the search box.
Select "Moq" and than click on Install.
Following these steps will install the Moq package and will add a reference to it in the selected project references. After completing these steps Moq can be used in the unit test project by simply declaring it in the test classes files: