title: A WPF app builds on my machine, but does not in Azure DevOps
body: <p>We're working on a WPF app using .NET Framework 4.7.2. We utilize a NuGet package called Microsoft.SqlServer.Types, version 12.0.5000. It wasn't building in Azure DevOps (it has never built there), but we need Microsoft.SqlServer.Types for reports. I cloned it to a new machine, in an effort to try to figure out what was wrong. I got errors with Microsoft.SqlServer.Types, in particular with it claiming it could not find SqlServerSpatial120.dll and msvcr100.dll in the project, but both are there. So, I removed the Microsoft.SqlServer.Types NuGet package, then put it back in again. It now builds fine on my machine. So, I committed that change, then pushed to Azure DevOps, where I ran the build pipeline, but it failed again, with the following errors:</p>
  <blockquote>
  <p>2021-07-21T20:24:48.7366010Z ##[error]C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(3987,5): Error MSB3113: Could not find file 'SqlServerTypes\x64\SqlServerSpatial120.dll'.
  2021-07-21T20:24:48.7374263Z C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(3987,5): error MSB3113: Could not find file 'SqlServerTypes\x64\SqlServerSpatial120.dll'. [D:\a\1\s\ACDC\ACDC.csproj]
  2021-07-21T20:24:48.7378901Z ##[error]C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(3987,5): Error MSB3113: Could not find file 'SqlServerTypes\x64\msvcr100.dll'.
  2021-07-21T20:24:48.7381193Z C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(3987,5): error MSB3113: Could not find file 'SqlServerTypes\x64\msvcr100.dll'. [D:\a\1\s\ACDC\ACDC.csproj]
  2021-07-21T20:24:48.7388245Z ##[error]C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(3987,5): Error MSB3113: Could not find file 'SqlServerTypes\x86\SqlServerSpatial120.dll'.
  2021-07-21T20:24:48.7451411Z C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(3987,5): error MSB3113: Could not find file 'SqlServerTypes\x86\SqlServerSpatial120.dll'. [D:\a\1\s\ACDC\ACDC.csproj]
  2021-07-21T20:24:48.7456054Z ##[error]C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(3987,5): Error MSB3113: Could not find file 'SqlServerTypes\x86\msvcr100.dll'.</p>
  </blockquote>
  <p>The portion of the YAML build file doesn't have much, here it is:</p>
  <pre class="lang-yaml prettyprint-override"><code>pool:
    vmImage: 'windows-latest'
  
  variables:
  - name: solution
    value: '**/*.sln'
  - name: buildPlatform
    value: 'Any CPU'
  - name:  DOTNET_SKIP_FIRST_TIME_EXPERIENCE
    value: true
  - name:  buildConfiguration
    value: 'Release'
  - name:  Binaries
    value: test
  - group: 'acdc-pipeline-group'
  
  steps:
  
  - task: NuGetToolInstaller@1
  
  - task: NuGetCommand@2
    inputs:
      restoreSolution: '$(solution)'
  
  - task: VSBuild@1
    inputs:
      solution: '$(solution)'
      platform: '$(buildPlatform)'
      configuration: '$(buildConfiguration)'
      msbuildArgs: '/target:publish
                    /p:ApplicationRevision=$(Build.BuildId)'
  </code></pre>
  <p>It fails in the VSBuild@1 step. Why is it I can build this app on my development box, but cannot build it using an Azure DevOps build pipeline?</p>