Cegone
Cegone

Reputation: 489

Unresolved reference to symbol " " in section 'Fragment'

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

Upvotes: 4

Views: 9989

Answers (2)

caveman_dick
caveman_dick

Reputation: 6637

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.

Upvotes: 8

Keith Neuse
Keith Neuse

Reputation: 723

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.

Upvotes: 1

Related Questions