TeamCity - Unmet requirements: DotNetFramework4.5_x86 exists

[亡魂溺海] 提交于 2019-12-23 08:04:58

问题


I am very new to TeamCity and currently have a problem with an incompatible agent:

Unmet requirements: 
DotNetFramework4.5_x86 exists

Does anyone know how to fix this? Do I have to add a reference to .NET 4.5 somewhere?

Any advice appreciated.


回答1:


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'.




回答2:


We had an agent that was working fine, but suddenly stopped with the same unmet requirement from the original question.

I tried restarting the agent service as @arcain suggested, but that did not work. So I went to the TeamCity "Agent Summary" page and disabled and then reenabled the agent and it started working again.



来源:https://stackoverflow.com/questions/13312796/teamcity-unmet-requirements-dotnetframework4-5-x86-exists

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!