Probably not, this was a project with its origins in the first release of DTF. 
I added app.config because that is what I would do with an application, it was 
only when I created a new custom action project from the template that I 
thought that the name might have been relevant and then I checked the build 
options.

I suppose the build could force you to have a correctly named config file, 
other than that it would need my patented psychic compiler that does what I 
think rather than what I coded!

Neil

-----Original Message-----
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: 13 November 2012 15:50
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] SFXCA: Failed to get requested CLR info.

Do you think the build could have figured that out and helped you with error 
messages?


On Tue, Nov 13, 2012 at 4:52 AM, Neil Sleightholm <n...@x2systems.com>wrote:

> To answer my own question...
>
> It was a couple of things:
> 1. The config was called app.config so needed to rename it to 
> CustomAction.config 2. The Build Action property needed to be set to 
> "Content".
>
> Neil
>
> -----Original Message-----
> From: Neil Sleightholm [mailto:n...@x2systems.com]
> Sent: 13 November 2012 12:09
> To: General toolset. (wix-users@lists.sourceforge.net)
> Subject: [WiX-users] SFXCA: Failed to get requested CLR info.
>
> I am getting the following error from the C#/DTF custom action when 
> running on Windows 8 without .NET 3.5 installed:
>
> SFXCA: Failed to get requested CLR info. Error code 0x80131700
> SFXCA: Ensure that the proper version of the .NET Framework is 
> installed, or that there is a matching supportedRuntime element in 
> CustomAction.config. If you are binding to .NET 4 or greater add 
> useLegacyV2RuntimeActivationPolicy=true to the <startup> element.
>
> My CA was built with WiX 3.6 and the CustomAction.config looks like this:
> <?xml version="1.0" encoding="utf-8" ?> <configuration>
>   <startup useLegacyV2RuntimeActivationPolicy="true">
>     <supportedRuntime version="v4.0" />
>     <supportedRuntime version="v2.0.50727"/>
>   </startup>
> </configuration>
>
> I have tried setting the target framework to 2.0 and 4.0 but get the 
> same error.
>
> Can anyone suggest why this is failing?
>
> Neil
>
> Neil Sleightholm
> X2 Systems Limited
> n...@x2systems.com<mailto:n...@x2systems.com>
>
>
> ----------------------------------------------------------------------
> -------- Monitor your physical, virtual and cloud infrastructure from 
> a single web console. Get in-depth insight into apps, servers, 
> databases, vmware, SAP, cloud infrastructure, etc. Download 30-day 
> Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ----------------------------------------------------------------------
> -------- Monitor your physical, virtual and cloud infrastructure from 
> a single web console. Get in-depth insight into apps, servers, 
> databases, vmware, SAP, cloud infrastructure, etc. Download 30-day 
> Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



--
virtually,

   Rob Mensching
   http://RobMensching.com LLC
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single web 
console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud 
infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to