title: Azure build:are you missing an assembly reference?
body: <p>My winforms application builds ok on my machine.</p>
  
  <p>However when the pipeline tries to build it shows </p>
  
  <pre><code>Error CS0234: The type or namespace name 'Dynamic' does not exist in the namespace 'System.Linq' (are you missing an assembly reference?)
  Process 'msbuild.exe' exited with code '1'.
  </code></pre>
  
  <p>The pipeline contains</p>
  
  <pre><code>pool:
     vmImage: 'windows-2019'
  
  variables:
    solution: '**/*.sln'
    buildPlatform: 'Any CPU'
    buildConfiguration: 'Release'
    Major: '2'
    Minor: '0'
    Patch: '0'
  
  steps:
  - task: NuGetToolInstaller@0
  
  - task: NuGetCommand@2
    inputs:
      restoreSolution: '$(solution)'
  
  - task: VSBuild@1
    inputs:
      solution: '$(solution)'
      platform: '$(buildPlatform)'
      configuration: '$(buildConfiguration)'
  </code></pre>