Feature Requests item #1472412, was opened at 2006-04-18 08:42 Message generated for change (Comment added) made by derekc You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642717&aid=1472412&group_id=105970
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: votive Group: None >Status: Pending Priority: 5 Submitted By: Vadym Stetsyak (vadmyst) >Assigned to: Derek (derekc) Summary: WIX unable to load .NET 2.0 assembly with File/Assembly set Initial Comment: Number of steps to reproduce the error: - create .NET 2.0 assembly - sign it with sn.exe - add the assembly to wix xml with File/Assembly = ". net" -build setup IMO the error is happening because of light.exe is built agains .NET 1.1 and is unable to load .NET 2.0 assembly. Rebuilding wix.dll candle.exe light.exe and dark.exe under .NET 2.0, solved the issue. It would be good if there were .NET 2.0 WIX build available for downloads... -- Vadym Stetsyak blog: http://vadmyst.blogspot.com ---------------------------------------------------------------------- >Comment By: Derek (derekc) Date: 2006-04-21 15:33 Message: Logged In: YES user_id=518766 The root issue of having an incorrect file name of light.cfg (versus light.exe.config) should be fixed in the latest release. ---------------------------------------------------------------------- Comment By: Vadym Stetsyak (vadmyst) Date: 2006-04-21 01:18 Message: Logged In: YES user_id=1438446 Yeah, I think it was the problem with config file. After installing votive, there was light.cfg file near light.exe. Renaming it into light.exe.config solved the issue. Thanks for the help! P.S while rebuilding manually wix sources I've encountered that some files are not in solution and some have different names. I didn't use NAnt to built maybe that is why I've got these errors... ---------------------------------------------------------------------- Comment By: Derek (derekc) Date: 2006-04-20 23:59 Message: Logged In: YES user_id=518766 Is the file called light.exe.config? (Note the name includes "exe".) We recently had some problems with Votive installing config files incorrectly so you really need to double-check the file name. Is the exe.config file in the same directory as light.exe? ---------------------------------------------------------------------- Comment By: Bob Arnson (barnson) Date: 2006-04-19 19:39 Message: Logged In: YES user_id=26581 When light.exe is running under .NET 2.0, it can load 2.0 assemblies. Can you attach the assembly you're trying to use? ---------------------------------------------------------------------- Comment By: Vadym Stetsyak (vadmyst) Date: 2006-04-19 00:21 Message: Logged In: YES user_id=1438446 Oops, I ment that config file didn't help much... ---------------------------------------------------------------------- Comment By: Vadym Stetsyak (vadmyst) Date: 2006-04-19 00:18 Message: Logged In: YES user_id=1438446 I am aware of configuration file. However, it did help much. I've even removed support for .NET 1.1, but light was still unable to build the msi. As I mentioned earlier, I've rebuilt the sources under .NET 2.0, and then everything started to work. It seems to me that .NET 1.1 AssemblyName.GetAssemblyName (string) is not working with signed .NET 2.0 assemblies ---------------------------------------------------------------------- Comment By: Bob Arnson (barnson) Date: 2006-04-18 23:27 Message: Logged In: YES user_id=26581 Recent releases of WiX have .config files for the WiX tools that load them under .NET 2.0, which lets (e.g.) light.exe load a .NET 2.0 assembly. Do they not work for you? What error do you get? <configuration> ... <startup> <supportedRuntime version="v2.0.50727" /> <supportedRuntime version="v1.1.4322" /> </startup> </configuration> ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642717&aid=1472412&group_id=105970 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ WiX-devs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-devs
