Search code examples
visual-studio-2010windows-7wixwix3.5votive

WiX project error when opening up solution in Visual Studio


I have a solution with a WiX project in it. Everytime I open it I get an error and then the WiX project is displayed as unavailable.

The error is:

Setup\Setup.wixproj : error  : Error HRESULT E_FAIL has been returned from a call to a COM component.

If I right click on the project and then select Reload Project it works fine. I've tried reinstalling WiX but I still get the same problem.

My system is: Windows 7 Professional 64bit Visual Studio 2010 Wix 3.5

What is causing this and how can I fix it?


Solution

  • If you have "Show All Files" enabled on the project, it will cause this behavior. I just filed a bug for votive for this issue.

    Update: This was fixed in WiX 3.6