I installed TeamCity 5.03 on my windows machine a whil开发者_如何学编程e ago and it worked fine until I installed Visual Studio 2010. After installing it, I get the above error message and none my projects are working. Does anybody know how to fix this? Please note that I already set the %env.NAntHome% to the path of my nant bin folder. I also set the env.NAntHome variable in my buildAgent.properties file.
Any idea?
I found it. I had to set the DotNetFramework for nant. You can do that in the buildAgent.properties, which is in /buildAgent/conf/. I added the following line:
system.DotNetFramework2.0
精彩评论