Exceptions are reported as coming from wix.targets #5884

Closed
opened this Issue Oct 2, 2018 · 0 comments

Projects
None yet
1 participant
Member

barnson commented Oct 2, 2018

 Which version of WiX are you building with? Tools@f6a736c4cbb800904c216ce5730ab02ab7fd4373 Which version of Visual Studio are you building with (if any)? n/a Which version of the WiX Toolset Visual Studio Extension are you building with (if any)? n/a Which version of .NET are you building with? 4.6.2 If the problem occurs when installing your packages built with WiX, what is the version of Windows the package is running on? n/a Describe the problem and the steps to reproduce it. If the pseudo-wix.exe crashes with an unhandled exception, all detail is lost to the ether: d:\path\to\wix.targets(625,5): error : An item with the same key has already been added.  Describe the behavior you expected and how it differed from the actual behavior. If source-line-number info is available, it should be reported. Exceptions should include the stack trace, if only for the sanity of WiX developers. This should be true for all instances of the WiX "program."

robmen added a commit to wixtoolset/Tools that referenced this issue Dec 27, 2018

 Catch unhandled exceptions at the top to provide useful debug info 
Fixes wixtoolset/issues#5884
 d26af21