Skip to content
Discussion options

You must be logged in to vote

Your harvested .wxs files take the files from SourceDir, which goes to the first matching file in current folder or in the unnamed bind paths.
You should add a preprocessor variable to the harvesting item metadata

 <ItemGroup>
    <HarvestDirectory Include="$(SolutionDir)CommunicationService\$(OutputPathFragmentNet)">
       <PreprocessorVariable>var.OutputPathFragmentNet</PreprocessorVariable>
...

and define the preprocessor variable to the compiler:

<PropertyGroup>
<DefineConstants>$(DefineConstants);OutputPathFragmentNet=$(SolutionDir)CommunicationService\$(OutputPathFragmentNet);</DefineConstants>

That of course should be done for each of the harvested fodlers

Replies: 5 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@robmen
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by MarkStega
Comment options

You must be logged in to vote
1 reply
@MarkStega
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants