I am using Azure Devops using classic Editor. My app is written in Asp.net core mvc. I chose asp.net core option from classic editor to build and release my app to the server. Here is snapshot of the same
I was able to install self hosted agent successfully in the on-prem server. But when I build the pipeline, I am getting below error message.
No agent found in pool OMIG-Dev which satisfies the following demand: visualstudio. All demands: msbuild, visualstudio, vstest, Agent.Version -gtVersion 2.144.0
Do I need to install VS in the server? Any help would be appreciated.
I tested this using my machine as build agent. I was able to successfully build and release the pipeline.