-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build error with WixToolset.UI.wixext
#1473
Comments
I'm getting the same error, I think it is related to the newest wix release 5.0.0-rc.1 yesterday. |
Just to help your further troubleshooting...
|
If you cannot find the way then you can always get the required version from NuGet:
and then simply copy the package in the |
How to do this in github action? |
You have a few options.
That's it. So you can just add a batch file step in your CI and execute it before the WixSharp build. |
Is right? |
Yep, it's frustrating, it just literally breaks everyone's builds.
|
Thanks |
Great. Thank you for sharing.
That was that magic syntax that WiX team did not share with us, unfortunately. With this trick you don't need to deal with the nuget packages just have this single step and you are good
|
Since it's been more than 3 weeks and WiX team has not patched/removed the broken extension from nuget,.org, Thus now you can request building your msi with a specific version of the extension in question. For the problem we are discussing the work around will be as below: WixExtension.UI.PreferredVersion = "4.0.4";
. . .
project.BuildMsi(); I have also updated the compiling algorithm and now it warns you if accidentally you are trying to build your msi with a broken version of I will release this enhancement in a day or two. |
That is good |
NET Framework: - #1473: Build error with WixToolset.UI.wixext - Issue #1444: wix.exe not found if installed as local tool - minor improvements triggered by #1469 NET Core (v2.1.3.0): - added project templates - improved error reporting during compilation. - added full CustomUI sample (to be used as a template)
Done. You can find the update in the latest v2.1.5 release. Note, that this change was implemented to specifically avoid the use of the defective version of WiX extension (WixToolset.UI.wixext v5.0.0-rc.1). While this work can be used to target a specific version of any extension in general, this workaround can be removed when WiX team releases the next version of this extension. This is how you can target a specific version of an extension: WixExtension.UI.PreferredVersion = "4.0.4"; // or any other working version
. . .
project.BuildMsi(); |
This issue start in yesterday(2024.3.9)
My CI in here
Fail
Done
The text was updated successfully, but these errors were encountered: