Regarding error # 2 ( Assembly controller [controller_name] does not contain an activated assembly agent with the name * and without tags ), I encountered this error after re-assigning my assembly controller and creating a new assembly agent with tags.
Tags Definition of assembly definition
When the assembly is in progress, matching is performed with the tags defined in the assembly agent definition. In the assembly definition, this can be viewed / configured as follows:
- In the Visual Studio IDE, under "Builds" (in Team Explorer), right-click the assembly definition and select "Modify Assembly Definition ..."
- In the Process section, expand Advanced, then Agent Settings. Pay attention to the "Tag Filter". Here you can select tags and the build agent will be selected based on the tags.

In this case, the error indicates that the assembly definition is looking for "no tags" and exact match ( MatchExactly ). So, does the build agent have tags? If so, either remove them from the assembly agent, or configure the assembly definition to use tags for which the assembly agent will be mapped.
Defining Tags in Build Agent
Tags are defined in the Build agent. They can be modified on the TFS build server (based on the build controller and build agent configured in the build definition).
To define / modify tags in the Build agent, on the TFS build server ...
- Launch Team Foundation Server Administration Console
- Go to Build Configuration
- Locate the assembly agent assigned to the assembly controller used in the assembly definition and select Properties
- Labels can be created, added and deleted in the Assembly Agent Properties dialog box:

Given the above figures for the configuration of the Build Definition and Build Agent (with only one Build agent), this error will be the result because the assembly definition expects an exact match without tags and the only assembly agent configured for the assembly controller associated with the assembly definition has a specific tag ( 'prototype'). Thus, there is no exact match between 'no tags' and 'prototype'.
source share