Unresolved reference to symbol " " in section 'Fragment'

9.5k Views Asked by At

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.!

2

There are 2 best solutions below

3
On BEST ANSWER

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.

1
On

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.