문제

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!

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top