WixSharp:在运行时创建 .msi,而不是编译时

WixSharp: create .msi at RunTime, not CompileTime

提前致谢!

目前,我的 .msi 正在构建 cat 编译 时间。

Compiler.BuildMsi(managedProject);

是否可以在 运行 时间创建 .msi

WixSharp的作者在这里给出了很好的回答: https://github.com/oleg-shilo/wixsharp/issues/136

Just to clarify the "build process". Your Wix# project is a console application project. If its executable run then it invokes "main" and the msi is generated. The Wix# project template is configured in such a way that the exe is executed after every successful project compilation. This creates an effect of the "Compile build" but technically speaking it is a "Runtime build".