You will need to have your build system produce a verbose log and locate the
error message there. That error indicates an unexpected exception was
thrown, and what you have is the line that contains the error portion that
will be flagged by MSBuild and other similar tools as being an error. The
related error data is found in following lines in the build spew.

-----Original Message-----
From: Francesc Castells [mailto:fcaste...@dgtexperts.com] 
Sent: Thursday, June 03, 2010 11:28 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] error LGHT0001: Unable to cast object

Not sure. Does light log by default somewhere? that message is the only I
get on screen.

On Thu, Jun 3, 2010 at 5:42 PM, Blair <os...@live.com> wrote:

> Looks like a bug. Do you have the stack trace?
>
> -----Original Message-----
> From: Francesc Castells [mailto:fcaste...@dgtexperts.com]
> Sent: Thursday, June 03, 2010 6:34 AM
> To: wix users
> Subject: [WiX-users] error LGHT0001: Unable to cast object
>
> Hi,
> I'm using WIX 3.0.5419.0 in a VS project. I'm receiving the following
error
> when building:
>
> light.exe(0,0): error LGHT0001: Unable to cast object of type
> 'System.Collections.DictionaryEntry' to type
> 'Microsoft.Tools.WindowsInstallerXml.FileRow'.
>
> Google doesn't return any result for "LGHT0001 Unable to cast" and I don't
> know where to start looking for the problem.
>
> Any tip on what to check or where the problem can be will be really
> appreciated.
>
> Francesc
>
>
----------------------------------------------------------------------------
> --
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
>
----------------------------------------------------------------------------
--
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
----------------------------------------------------------------------------
--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to