[安装Visual Studio构建工具时容器中缺少SSDT和vstest功能

问题描述 投票:1回答:1

跟随this guide,我使用--all选项将构建工具安装到了容器中。

此外,我还在启动时安装Azure Pipelines Agent service into the container。>

现在我有两个问题:

  • Azure Pipelines代理的扫描部分检测到该功能,未找到/添加“ vstest”功能,但似乎在那儿,因为我确实在容器中找到了vstest.console.exe。任何想法可能遗漏了什么,或为什么未正确检测到它?

  • SSDT尚未安装。在容器中搜索-没有任何内容。使用--all时怎么可能?它应该是软件包的一部分,因为它在安装向导中显示了数据工作负载。 ##[error]The nuget command failed with exit code(1) and error(C:\azp\agent\_work\2\s\src\Something.Database\Something.Database.sqlproj(52,57): error MSB4226: The imported project "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Microsoft\VisualStudio\v11.0\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets" was not found. Also, tried to find "Microsoft\VisualStudio\v11.0\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets" in the fallback search path(s) for $(MSBuildExtensionsPath) - "C:\Program Files (x86)\MSBuild" . These search paths are defined in "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\msbuild.exe.Config". Confirm that the path in the <Import> declaration is correct, and that the file exists on disk in one of the search paths.

按照本指南,我使用--all选项将构建工具安装到了容器中。另外,我在启动时将Azure Pipelines代理服务安装到容器中。现在我有...

docker azure-pipelines build-tools azure-pipelines-agent
1个回答
0
投票

可能缺少什么,或为什么未正确检测到它?

© www.soinside.com 2019 - 2024. All rights reserved.