【发布时间】:2019-06-22 23:59:30
【问题描述】:
我的 winforms 应用程序在我的机器上构建正常。
但是当管道尝试构建它时会显示
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'.
管道包含
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)'
【问题讨论】: