please tell me how to run nunit with msbuild. I am using TFS for code integration and VS2010 .
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You probably want to integrate NUnit with TFSBuild and not MSBuild since you are using Team Foundation Server.
You will need MSBuild tasks to be able to run NUnit as explained in the three following tutorials:
The easiest way is to use the MSBuild Community Tasks where you already have a
NUnittask ready to be used and you only will need to add a target to your msbuild file like so: