So if you have a Visual Studio Solution file, and each project that you want
to reference has been added to that VS Solution file, then you add the
reference to your project and use the variables as documented here:
http://wixtoolset.org/documentation/manual/v3/votive/votive_project_references.html

Personally I avoid that approach for several reasons.  My main reason is
that I want to be able to build my projects on the command line using
MSBuild commands, (in addition to building my projects within VS IDE) VS
Project References are only resolve when the VS IDE is using the Solution
file.

There are several other approaches to defining the your source paths. with
some infor here:
http://wixtoolset.org/documentation/manual/v3/howtos/general/specifying_source_files.html

The approach I use most of the time is:
1) I define an environment variable to root of all of my projects (to
harvest MSI, etc.)
2) In the bootstrapper project file (I unload it and edit it directly), I
modify the LinkerAdditionalOptions to include:
-b $(EnvVariableName to root of all projects)\Project\bin\$(Configuration)

In the bootstrapper the MsiPackage/@SourceFile="(local or
platform)\Project.msi"  (For projects that do not have multiple locales or
platforms, just specify the package name.)

There are other approaches that make use of binding or preprocessor
variables.




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/bootstrapperApplicationData-attribute-is-not-declared-tp7595444p7596016.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to