Reputation: 878
I've AzureDevOps 2019.1.1, and I have Agent version 2.153.1 for Builds and have Visual Studio 2019 installed, however the agent doesn't list the VisualStudio capabilities and hence the VS build doesn't get the agents assigned. Any help on why the agents does not list the capabilities automatically, would be appreciated. Thanks
Upvotes: 0
Views: 2878
Reputation: 19461
If you install agent first and then VS2019, you need to restart the agent for new capability to show up in the pool.
If you install VS2019 first then agent and still not listed vs2019, you can search CapabilityFunctions.ps1
in the search box of your computer. The code show the function of detecting capabilities.
In addition ,as a workaround , you can manually add them as user-defined capabilities and then check if they can run as normal.
You can refer to this case with the same issue.
Upvotes: 2