I'm trying to make a VisualStudio Project (C#, .NET Core, WPF) in AzureDevops self-hosted in docker using Linux image or photo.
but I get the following error message:
##[error]No agent found in pool TEST_POOL which satisfies the following demand: visual studio. All demands: msbuild, visualstudio, vstest, Agent.Version -gtVersion 2.182.1
My docker file:
FROM ubuntu:18.04
# To make it easier for build and release pipelines to run apt-get,
# configure apt to not require confirmation (assume they argument by default)
ENV DEBIAN_FRONTEND=noninteractive
RUN echo "APT::Get::Assume-Yes \"true\";" > /etc/apt/apt.conf.d/90assumeyes
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
jq \
git \
iputils-ping \
libcurl4 \
libicu60 \
libunwind8 \
netcat \
libssl1.0 \
&& rm -rf /var/lib/apt/lists/*
0 Replies