Hello!

I have WiX project included into Visual Studio solution along with
other projects written on C#. In order to automate build process I
need to get output files from some of C# projects, and add them to
.msi file.

Usually when you add reference from one C# project to another,
msbuild copy files from output dir of referenced project to the
referrer’s folder. But this rule is not applicable to WiX projects.

I’ve made reference from WiX project to one of C# projects but haven’t
got any files from C# project in WiX output directory. Is it possible
to make standard references (which allow files to be copied)?

After getting all of the files in WiX output dir I’m going to filter
out some of them (in pre-build event) and then automatically generate
the list by the heat utility (also in pre-build event). It’s simpler
than filter out Components through the xsl transformation from wxs
file generated by the heat.

Another issue I faced with: usually when I add file to C# project as a
link I can set “Copy if newer” option for this file in it’s properties
window. But in case of WiX projects there is no such option. May be I
missed something?



------------------------------------------------------------------------------

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to