WiX ICE30 error, but directory is correct

My WiX project (3.10.3.3007) has 2 different web.config files and is installed in 2 different locations. 2 errors from my assembly: ICE30 error: target file 'svcenub9.con | Web.config 'is set to' [TARGETDIR] \ inetpub \ wwwroot \ barcode \ 'by two different components in the LFN system:' web_config 'and' views_web_config '. This disrupts component reference counting.

ICE30 error: target file 'svcenub9.con | Web.config 'is set to' [TARGETDIR] \ inetpub \ wwwroot \ barcode \ 'by two different components in the LFN system:' web_config 'and' views_web_config '. This disrupts component reference counting.

Relevant XML and their directories:

<Fragment>
   <DirectoryRef Id="barcode">
      ...
      <Component Id="web_config" Guid="*">
         <File Id="web_config" KeyPath="yes" Source="$(var.buildSrc)\BarcodeIntegrationService\Web.config" />
      </Component>
      ...
      <Directory Id="views">
         ...
         <Component Id="views_web_config" Guid="*">
            <File Id="views_web_config" KeyPath="yes" Source="$(var.buildSrc)\BarcodeIntegrationService\Views\Web.config" />
         </Component>
      ...
      </Directory>
   ...
   </DirectoryRef>
</Fragment>

ICE, MSI. Component, , .

- WiX, ?

+1
1

, Name. "" DefaultDir. . , ICE .

+3

Source: https://habr.com/ru/post/1618865/


All Articles