Unresolved reference to symbol “ ” in section 'Fragment'

孤人 提交于 2019-12-23 11:58:03

问题


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


回答1:


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.




回答2:


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.



来源:https://stackoverflow.com/questions/21000022/unresolved-reference-to-symbol-in-section-fragment

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!