Wixsharp: Question: Preventing build of Wix# project building the MSI

Created on 30 Jan 2019  路  2Comments  路  Source: oleg-shilo/wixsharp

Perhaps this is obvious, but how do I prevent the MSI being built when the Wix# project is built?

The Wix# project is created from the templates provided in the Wix# template nuget. I expected there to be a post-build action that ran the resulting binary, but they are empty.

WixSharp 1.9.4
WicxSharp.bin 1.9.4
Wix Toolset 3.11.1

question

All 2 comments

There is a post build action but it is implemented as MSBuild 'WixSharp.targets' not as a post build event.

If you prefer not to have this integration you should remove WixSharp NuGet package before your attempt to build the project:

  • Create project from the appropriate VS template
  • Delete "WixSharp" package from the packages.config file
  • Restore/Download the NuGet packages

You are ready to build now.

Ah, thank you.

Was this page helpful?
0 / 5 - 0 ratings