Unresolved reference to symbol “ ” in section '

2019-06-26 11:48发布

I have added InstallDemo.wxs file and copied the code from WixUI_InstallDir src/ext/wixlib/, Then i have added UIRef into product.wxs file after that when i built the solution i got this 50 error "Unresolved reference to symbol 'Dialog:BrowseDlg' in section 'Fragment' so, Help me to resolve this issue.. please tell me how to create a simple dialog screen in 'WIX' please help, Thank you.!

标签: wix wix3.5 wix3
2条回答
叛逆
2楼-- · 2019-06-26 11:48

I added a new wxs file by accident to a WiX project with build action as content rather than Compile; therefore, WiX was not compiling the newly added wxs file since it was being treated as a content file.

Simple solution is to remove and then re-add the new wxs file.

查看更多
forever°为你锁心
3楼-- · 2019-06-26 12:09

Have you referenced the WixUIExtension in your WIX Installation project? You need this to give you the BrowseDialog.

You can find the WixUIExtension.dll file in the bin folder of the WiX Toolset installation folder in Program Files.

查看更多
登录 后发表回答