Bugs item #1647385, was opened at 2007-01-29 11:33
Message generated for change (Settings changed) made by justinrockwood
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1647385&group_id=105970

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: votive
Group: None
>Status: Closed
>Resolution: Works For Me
Priority: 5
Private: No
Submitted By: Cullen (culin23)
Assigned to: Justin Rockwood (justinrockwood)
Summary: votive incorrectly caching project variables

Initial Comment:
I'm using an import statement in my wixproj to import a common settings file.  
when I make changes to the settings file, the variables defined there are not 
updated unless i unload and reload the wixproj from my solution.

For instance, I have a file path defined in a settings file, which is included 
in my <DefineConstants> tag in my settings file.

The xml looks like <DefineConstants>EXEPATH=$(ExePath)</DefineConstants>

If I change $(ExePath)'s value, I have to unload and reload the wix project 
from my solution for the updated value to get passed to candle.

Cleaning the solution didn't work.

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

>Comment By: Justin Rockwood (justinrockwood)
Date: 2007-04-17 22:35

Message:
Logged In: YES 
user_id=1054914
Originator: NO

This isn't a Votive issue, but instead an MSBuild issue. Actually, it's
behaving by design. If you want to make your project recompile when your
common settings file changes, then you'll have to put something like the
following in your common settings file:

  <!-- This makes the project files a dependency of all targets so that
things rebuild if they change -->
  <PropertyGroup>
    <MSBuildAllProjects
Condition="Exists('PathToYourCommonSettingsFile')">$(MSBuildAllProjects);PathToYourCommonSettingsFile</MSBuildAllProjects>
  </PropertyGroup>

Replace PathToYourCommonSettingsFile with the path to your common settings
file.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1647385&group_id=105970

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to