1

我刚开始使用多语言应用工具包(在 VS 2019 中)出现构建错误。几个月前它工作正常,我的机器上没有任何变化。

Severity    Code    Description Project File    Line    Suppression State
Error       The XLIFF file failed validation on line 0, Position 0. Message 'The element 'trans-unit' in namespace 'urn:oasis:names:tc:xliff:document:1.2' has invalid child element 'target' in namespace 'urn:oasis:names:tc:xliff:document:1.2'. List of possible elements expected: 'context-group, count-group, prop-group, note, alt-trans' in namespace 'urn:oasis:names:tc:xliff:document:1.2' as well as any element in namespace '##other'.'. PowerPlannerAppDataLibrary  C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\Multilingual App Toolkit\v4.0\Microsoft.Multilingual.ResxResources.targets 32  

似乎某些 XSD 文件丢失了...

在此处输入图像描述

4

0 回答 0