I have several MS Test project in my solution, but in build server (TeamCity 7.1), I can’t compile them. the exception is saying …’VisualStudio’ namesapce does not exist…
I copied the VisualStudio Tools into the Build server GAC, but still no luck!
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.
The problem is in your test projects. you’re referencing to some assemblies which haven’t been deployed to the Build Server(TeamCity). Also you cannot do that by simply copy and paste to GAC or working directory.
The best and easiest way to do that is installing Visual studio 2010 Agents in the build server.
It’s free and it can be downloaded from MS web site. By installing the agents, it will install all the required libraries for compiling and even running the MSTest projects.