title: MSBUILD : error MSB1011: Specify which project or solution file to use because this folder contains more than one project or solution file
body: <p>I am new to docker and trying to create a Dockerfile for ASP.NET Core application. Can someone suggest what changes do I require?</p>
  
  <p>Here is my Dockerfile:</p>
  
  <pre><code>FROM microsoft/dotnet:2.1-sdk  
  WORKDIR /app  
  COPY Presentation/ECCP.Web/ *.csproj ./  
  RUN dotnet restore  
  COPY . ./  
  RUN dotnet publish -c Release -o out  
  
  FROM microsoft/aspnetcore:2.0  
  WORKDIR /app  
  COPY --from=build-env /app/out .  
  ENTRYPOINT ["dotnet", "api.dll"]  
  </code></pre>
  
  <p>I am facing the following error:</p>
  
  <blockquote>
    <p>MSBUILD : error MSB1011: Specify which project or solution file to use
    because this folder contains more than one project or solution file.
    The command '/bin/sh -c dotnet publish -c Release -o out' returned a
    non-zero code: 1</p>
  </blockquote>