WiX v3.5 supports NETFX 4.0. WiX v3.0 does not. IIRC, the fix is to add:

 <supportedRuntime version="v4.0" />

as the to the app.config for light.exe.

On Wed, Jun 2, 2010 at 4:31 PM, Thomas Svare <thomas_sv...@symantec.com>wrote:

> Hello,
>
>
>
> I'm helping with setting up a new build environment with VisualStudio
> 2010 and we're targeting .net 4.  The version of WiX in use is 3.0.5419.
> I'm getting the following light error on my assemblies that I didn't get
> with .net 3.5:
>
>
>
> error LGHT0132 : The assembly file 'Data.dll' appears to be invalid.
> Please ensure this is a valid assembly file and that the user has the
> appropriate access rights to this file.  More information: HRESULT:
> 0x8013101b
>
>
>
> The component is specified as follows:
>
>
>
>                <Component Id="Data.dll"
> Guid="8B9769B9-4FD7-435B-8B4D-668602EB07B1" SharedDllRefCount="yes"
> Win64="$(var.X_64)">
>
>                                <File Id="data.d" Name="Data.dll"
> KeyPath="yes" Assembly=".net" AssemblyApplication="data.d"
> Source="$(var.FILE_PATH)\Data.dll"/>
>
>                </Component>
>
>
>
> I googled the error and only came up with a few hits that were helpful
> but did not solve the problem.  I saw there was a bug in WiX 3.5.  Does
> anyone have any insight to this issue?
>
>
>
> Thanks,
>
> Tom
>
>
> ------------------------------------------------------------------------------
> 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
>
>


-- 
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
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