This is happening because of two app.config file inside the CustomAction. As while adding Service reference one more app.config file is creating,so just take the app.config configuration and paste inside CustomAction.config,by this the above error can able solved . Then can able to access the WCF Service inside WIX Custom Action.
WIX Consume WCF windows Service inside CustomAction
Question
Anyone know how to consume WCF widows service using WIX CustomAction.
Actually my url is this http://[localhost]:8000/WCFWindowsServiceHosting/CustomActions and my wCFWindows services is running provided image
Now using this i need to access my functionality which is written inside WCFWindowsservice.Anyone knows how to achieve this inside WIX CustomAction.
La solution
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow