Skip to content

Best Approach for a Self-Contained .NET Application? #7403

Answered by robmen
eajhnsn1 asked this question in Questions
Discussion options

You must be logged in to vote

Try adding Publish='true' to the ProjectReference in your .wixproj to your .csproj. So in "My.wixproj":

<ItemGroup>
  <ProjectReference Include="..\path\to\Your.csproj" Publish="true" />
</ItemGroup>

Then you can use the automatically added bindpath !(bindpath.Your) in your Source attribute to reference the files.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@eajhnsn1
Comment options

@maroonedsia
Comment options

Answer selected by eajhnsn1
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants