问题描述
我是TeamCity的新手,目前遇到不兼容的代理人的问题:
I am very new to TeamCity and currently have a problem with an incompatible agent:
Unmet requirements:
DotNetFramework4.5_x86 exists
有人知道如何解决此问题吗?我是否必须在某处添加对.NET 4.5的引用?
Does anyone know how to fix this? Do I have to add a reference to .NET 4.5 somewhere?
任何建议都值得赞赏。
推荐答案
您有一个代理要求,即DotNetFramework4.5_x86存在,但在此代理上不存在。如果需要此要求,则需要在该代理计算机上安装.NET。 TeamCity检测到未在此计算机上安装.NET,因此您的构建无法运行。
You have an agent requirement that DotNetFramework4.5_x86 exists, but on this agent it doesn't. If the requirement is required, you need to install .NET on that agent machine. TeamCity has detected that .NET is not installed on this machine so your build cannot run.
如果要求不正确且构建不需要,则可以将其删除。
If the requirement is incorrect and not needed by your build, it can be removed by going under:
Edit build Configuration > Agent Requirements
然后在代理商要求表中,您将看到:
Then in the table of agent requirements you will see:
DotNetFramework4.5_x86 exists
有一个按钮可以删除此要求。删除要求后,代理商将显示在兼容代理商下。
And there is a button to delete this requirement. Once you delete the requirement, the agent will appear under 'Compatible Agents'.
这篇关于TeamCity-未满足要求:存在DotNetFramework4.5_x86的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!