我正在使用一个非常简单的声明来包含一个包含wix安装程序的变量定义的文件。这仅在64位MSI安装程序中失败。Wix包含元素不起作用
?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<?include $(var.ProjectDir)\Includes\Variables.wxi ?>
我得到以下错误:
Schema validation failed with the following error at line 1, column 245: The element 'Wix' in namespace 'http://schemas.microsoft.com/wix/2006/wi' cannot contain text. List of possible elements expected: 'Bundle Product Module Patch Fragment PatchCreation'.
我有一个愚蠢的“某处。 – TomEberhard
一个额外的>对我来说,圣洁的废话我不能相信这个错误信息是如此糟糕。 – Hrethric