> But how could it be, that build doesn't fail, if the last line of my code is project.BuildMsi(),
I cannot explain that. But you've seen the Wix# source code, It always wait fro WiX compiler to finish with
The easiest way to solve the problem would be to create a "Hello World" style project that exhibits the problem and send it to me.
If it cannot be done you can test your asynch build assumption. You can modify the code as below:
This should produce the following output:
I cannot explain that. But you've seen the Wix# source code, It always wait fro WiX compiler to finish with
Process.WaitForExit()
. The easiest way to solve the problem would be to create a "Hello World" style project that exhibits the problem and send it to me.
If it cannot be done you can test your asynch build assumption. You can modify the code as below:
var msi = project.BuildMsi(); Console.WriteLine("MSI: " + msi); //have here whatever code that fails the build
ProductName: MyProduct
Version : 1.0.0.0
ProductId : {6fe30b47-2577-43ad-9095-1861ca25889c}
UpgradeCode: {6fe30b47-2577-43ad-9095-1861ba25889b}
Auto-generated InstallDir ID:
INSTALLDIR=%ProgramFiles%\My Company\My Product
MSI: c:\users\<user>\documents\visual studio 2015\Projects\WixSharp Setup15\WixSharp Setup15\MyProduct.msi
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
The output above was produced by the default Wix# project template. The placement of the "MSI: c..." below the "INSTALLDIR..." line indicates that execution in my case was synchronous. Let's see what it does in your case.