无法 运行 在 Azure Devops 中构建操作 XLiffResource

Can't run build action XLiffResource in Azure Devops

我已经使用多语言应用程序工具包翻译了我的程序,但是当我尝试使用 Azure Devops Pipelines 构建它时,我得到:

##[warning]ITCO-DMS\ITCO_DMS.csproj(198,5): Warning : ITCO_DMS.csproj is Multilingual build enabled, but the Multilingual App Toolkit is unavailable during the build. If building with Visual Studio, please check to ensure that toolkit is properly installed.

除了设置专门的构建机器来编译它之外,还有什么办法可以解决这个问题吗?

错误表明“多语言应用程序工具包在构建期间不可用”。 Multilingual App Toolkit 是 Visual Studio 扩展名。您似乎使用了 Microsoft-hosted 代理,但没有此 VS 扩展。

恐怕您必须使用多语言应用程序工具包将 self-hosted 代理部署到 运行 项目:

https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/agents?view=azure-devops&tabs=browser