title: How to specify Solution file in Azure DevOps Pipeline
body: <p>I am having trouble configuring an Azure DevOps Dotnet core build process.</p>
  
  <p>I have a simple dotnet core project which I am attempting to build in an Azure DevOps environment.</p>
  
  <p>The project is in a subfolder within my repo, but I cannot figure out how to specify how the Pipeline should find my csproj file.  <a href="https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/build/dotnet-core-cli?view=vsts" rel="noreferrer">The MSDN documentation</a> suggests that you can specify it but there are no examples and all of my attempts are met with errors.</p>
  
  <p>When building a pipeline with the standard dotnet CLI template, the YAML created is:</p>
  
  <pre><code># ASP.NET Core
  # Build and test ASP.NET Core web applications targeting .NET Core.
  # Add steps that run tests, create a NuGet package, deploy, and more:
  # https://docs.microsoft.com/vsts/pipelines/languages/dotnet-core
  
  pool:
    vmImage: 'Ubuntu 16.04'
  
  variables:
    buildConfiguration: 'Release'
  
  steps:
  - script: dotnet build --configuration $(buildConfiguration)
    displayName: 'dotnet build $(buildConfiguration)'
  </code></pre>
  
  <p>However this is met with the error:</p>
  
  <pre><code>MSBUILD : error MSB1003: Specify a project or solution file. 
  The current working directory does not contain a project or solution file.
  </code></pre>
  
  <p>The documentation linked above suggests using a "task" based syntax rather than a script, and I assume that in the documentation the inputs are listed in the same order as the examples listed underneath.</p>