There are number of ways of achieving results results.
1) As told by Gabriel
2) Don't include -srd switch to harvest root directory as element.
3) use -var in Heat and -d in candle.
e.g for 3
heat.exe dir "$(SolutionDir)MyProject\MyDirectory" -ag -sfrag -srd -var
"var.MyProjectDir" -out $(ProjectD
Hi,
And with this :
*heat.exe dir "$(SolutionDir)MyProject" -ag -sfrag -srd -var
"var.MyProject.ProjectDir" -out $(ProjectDir)HarvestedFiles.wxs"*
Or you could add a subdir "Sources" in your SolutionDir :
C:\\SolutionDir\MyProject\Sources\MyDirectory
*heat.exe dir "$(SolutionDir)MyProject
Hi,
I have a project structure which is like this:
*C:\\SolutionDir\MyProject\MyDirectory*
In a pre-build event I use this:
*heat.exe dir "$(SolutionDir)MyProject\MyDirectory" -ag -sfrag -srd -var
"var.MyProject.ProjectDir" -out $(ProjectDir)HarvestedFiles.wxs"*
The output in HarvestedFiles
3 matches
Mail list logo