I'm sorry, I'm new to Wix mailing list. Did I post to a wrong list? Should I subscribe to dev list instead? Did I not provide enough information? I really need a solution to the problem ASAP. Has anybody have any experience in Wix project automation? How to add a project reference to Wix project programmatically from C# custom template wizard?
Thanks! On 1/22/2015 10:53 AM, Igor Furman wrote: > I develop a multi-projects VS 2010 template. One of the projects is WIX. > In the class that implements IWizard I need to add references to C# > projects to Wix project. Basically, I need to do exactly like that: > > var targetProject = (VSProject) _project.Object; > targetProject.References.AddProject(sourceProject); > > > where targetProject is WIX project. The code works perfectly for C# > projects, but does not work for Wix. > Please help! > > > ------------------------------------------------------------------------------ > New Year. New Location. New Benefits. New Data Center in Ashburn, VA. > GigeNET is offering a free month of service with a new server in Ashburn. > Choose from 2 high performing configs, both with 100TB of bandwidth. > Higher redundancy.Lower latency.Increased capacity.Completely compliant. > http://p.sf.net/sfu/gigenet > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users