开发者

What do I need to install a Visual Studio 2010 (sln)-compatible Build Agent in TeamCity?

I seem to be unable to install a build agent on our TeamCity 5.1.2 build server that is compatible with a VS2010 (sln) build configuration.

Under "Build Runners", the following runners are listed:

Ant: Runner for Ant build.xml files

Duplicates finder (.NET): C# and VB dup开发者_StackOverflow社区licate code finder

Command Line: Simple command execution

And under "Compatible configurations", the project I've configured to build with the Visual Studio 2010 (sln) build runner is listed under "Incompatible configurations".

To install the build agent, I'm simply running the .msi installation package, but it seems the default settings are not good enough. The build server machine has Visual Web Developer Express 2010 as well as .NET versions 2.0-4.0 installed, but no full version of VS. Do I need anything more?

(I have no experience whatsoever of building with msbuild scripts, so if I can I want to avoid having to do that.)


I think I figured it out:

Install the Windows SDK from Microsoft. Right now, the latest version is 7.1.

Note that since I just suddenly noticed that it worked, I don't know for certain that this is what did it - it might me completely irrelevant, but this is the only thing in my configuration I changed that I think could be relevant.


TeamCity build agent does not detect .NET 4.0 Client Profile as dotNetFramework4.0. Check you have full .NET Framework 4.0 installed.

Another reason of that is build agent has corrupted plugins. To fix it: - stop agent - remove /plugins, /system, /tools folders - start agent - wait till agent autoupgrade (agent service may be shown as stopped, just wait)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜