Adding the files of another project to the WIXPROJ file either won't have any
effect or will cause build errors. Instead if you wish to add sources to the
MSI (to distribute the sources, I assume), you need to add them to WXS files
instead.
The Heat tool provides a way to create WXS files, and that tool can be called
from the WIXPROJ file (incorporating that WXS file creation into your build,
which would achieve what I assume your end goal is). See the HeatProject and
HarvestProject topics in the manual for some operational details, and search
for Heat in this email list for many more.
> Date: Mon, 5 Aug 2013 14:39:06 +0300
> From: kuzetron...@tut.by
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] csharp sourse files
>
> Thanks for the reply and sorry for my english.
> I don`t start resolve this task yet. And I don`t now how to do this correct
> because I am beginner.
>
> For example:
> I have a visual studio c# solution Main.sln. Solution including projects:
>
> - Logic.csproj
> - Demo1.csproj (with class_11.cs, class_12.cs etc.)
> - Demo2.csproj (with class_21.cs, class_22.cs etc.)
> - Setup.wixproj (including Logic.dll, Demo1.exe and Demo2.exe)
>
> output installer setup.msi work fine.
>
> And I have additional c# solution Demos.sln. This solution including
> projects:
>
> - Demo1.csproj
> - Demo2.csproj
> (These projects are the same as in Main.sln)
>
> I have a task - add to Setup.wixproj in Main.sln source files of Demos.sln
> (*.sln, *.csproj, *.cs, *.confing etc)
> Demos.sln have many of files. These files can be renamed and new files are
> added frequently.
>
> Is it possible to add the source code to the Setup.wixproj without
> necessary to correct the Setup.wixproj after adding or renaming files in
> Demos.sln
>
>
> 2013/8/5 Blair Murri <os...@live.com>
>
> > Are you harvesting via ProjectReference/HarvestProject or some other means?
> >
> > > Date: Mon, 5 Aug 2013 11:53:35 +0300
> > > From: kuzetron...@tut.by
> > > To: wix-users@lists.sourceforge.net
> > > Subject: [WiX-users] csharp sourse files
> > >
> > > Hi,
> > >
> > > I need to add examples of source files from some project to my
> > installation
> > > package (its bynaries included to installation package).
> > > Is there a way to do this without making any changes in my wix-project
> > > every time when I add new source file in myproject.csproj?
> > >
> > ------------------------------------------------------------------------------
> > > Get your SQL database under version control now!
> > > Version control is standard for application code, but databases havent
> > > caught up. So what steps can you take to put your SQL databases under
> > > version control? Why should you start doing it? Read more to find out.
> > >
> > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
> > > _______________________________________________
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
> > ------------------------------------------------------------------------------
> > Get your SQL database under version control now!
> > Version control is standard for application code, but databases havent
> > caught up. So what steps can you take to put your SQL databases under
> > version control? Why should you start doing it? Read more to find out.
> > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> ------------------------------------------------------------------------------
> Get your SQL database under version control now!
> Version control is standard for application code, but databases havent
> caught up. So what steps can you take to put your SQL databases under
> version control? Why should you start doing it? Read more to find out.
> http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users