草庐IT

buildAgent

全部标签

c# - 使用 TFS 2017 BuildAgent 构建解决方案时出现错误 CS0234

在尝试使用TFS构建定义进行构建时,我遇到了以下问题。执行构建时,代理会记录以下错误:ErrorCS0234:Thetypeornamespacename'VisualStudio'doesnotexistinthenamespace'Microsoft'(areyoumissinganassemblyreference?)ErrorCS0246:Thetypeornamespacename'TestInitializeAttribute'couldnotbefound(areyoumissingausingdirectiveoranassemblyreference?)ErrorCS