开发者

problem with UIRef in visual Studio

开发者 https://www.devze.com 2023-01-27 20:39 出处:网络
Hi i\'m having a problem with UIRef in Visual S开发者_开发知识库tudio when i try to add a wxs file.

Hi i'm having a problem with UIRef in Visual S开发者_开发知识库tudio when i try to add a wxs file.

<UIRef Id="MyWixUI_FeatureTree"/>
<UIRef Id="WixUI_ErrorProgressText" />

This is the error: error LGHT0094 : Unresolved reference to symbol 'WixUI:MyWixUI_FeatureTree' in section 'Product:*'.

I don't know if i must make some changes on the VS settings. or if I must add other reference.

Thanks!!!


You have to modify the element Id in your customized file "MyWixUI_FeatureTree.wxs":

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
    <Fragment>
        <UI Id="MyWixUI_FeatureTree">


Did you create the UI Element "MyWixUI_FeatureTree"? Is MyWixUI_FeatureTree really WixUI_FeatureTree? If you reference an element, you need to make sure that element is actually in scope.

0

精彩评论

暂无评论...
验证码 换一张
取 消