Click here to Skip to main content
15,894,343 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am using xunit in my project for testing. I want to use MOCK in my testing project. But when I am trying to install "Moq" from nuget, it's giving an error: Dependency Moq with the version 4.2.1502.911 could not be resolved.

Please help me
Posted
Updated 25-Mar-15 8:55am
v2
Comments
BacchusBeale 25-Mar-15 19:06pm    
I never used it but there an article here http://www.c-sharpcorner.com/UploadFile/dacca2/unit-test-using-mock-object-in-dependency-injection/
RajKumar Mondal 26-Mar-15 11:10am    
I saw the link. It is good but It is not what I want. I want to add Moq in my vnext project, not creating extra unit test project and then use moq in the unit test project.
I have two vnext project in my solution, one is for my library project and another is for testing purposes.
Richard Deeming 31-Mar-15 15:34pm    
REPOST
You have already posted this question:
http://www.codeproject.com/Questions/889687/Mock-or-Fake-Testing-in-xunit-test-for-Asp-net-vne[^]

If you want to update the question, use the Improve question link. DO NOT re-post the question.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900