Search code examples
tfsazure-devopsazure-pipelinestfsbuildtfs-2015

How to remove default demand DotNetFramework from TFS agent?


I am using TFS 2017 and recently added RHEL Linux build agent with docker installed on it, but when I am trying to queue docker based build on this agent I am getting below error

Issues with deploy phase 'Run on agent' - No agents could be found that match the following demands (queue: 'DockerLinuxRHEL'): DotNetFramework

enter image description here

I have also tried removing it from build definition, but it's greyed out.

enter image description here

Is there a way to remove this default demand because this agent is just for docker stuff I don't want to install anything else?


Solution

  • It because you have a task that required .Net framework installed, like PowerShell, MSBuild, etc.

    When you will remove the task the demand will be removed.