-
Notifications
You must be signed in to change notification settings - Fork 196
Description
Our last successful Github build was on Jan 30, 2026, and today we got the following failure:
Wix project file has been built: D:\a\ILSpy\ILSpy\ILSpy.Installer\ILSpy.wxs
Compiling ILSpy.wxs
Source base directory: D:\a\ILSpy\ILSpy
WixToolset.UI.wixext : warning WIX6101: Could not find expected package root folder wixext6. Ensure WixToolset.UI.wixext/7.0.0-rc.1 is compatible with WiX v6. [D:\a\ILSpy\ILSpy\ILSpy.Installer\ILSpy.Installer.csproj]
EXEC : error : Cannot find WiX extension 'WixToolset.UI.wixext'. WixSharp attempted to install the extension but did not succeed. Please install the extension manually with: `wix.exe extension add -g WixToolset.UI.wixext` [D:\a\ILSpy\ILSpy\ILSpy.Installer\ILSpy.Installer.csproj]
wix.exe : error WIX0144: The extension 'D:\a\ILSpy\ILSpy\ILSpy.Installer\ILSpy.wxs' could not be loaded because of the following reason: Bad IL format. The format of the file 'D:\a\ILSpy\ILSpy\ILSpy.Installer\ILSpy.wxs' is invalid. [D:\a\ILSpy\ILSpy\ILSpy.Installer\ILSpy.Installer.csproj]
D:\a\ILSpy\ILSpy\ILSpy.Installer\ILSpy.Installer.csproj(30,5): error MSB3073: The command "cd .\
D:\a\ILSpy\ILSpy\ILSpy.Installer\ILSpy.Installer.csproj(30,5): error MSB3073: set ide=true
D:\a\ILSpy\ILSpy\ILSpy.Installer\ILSpy.Installer.csproj(30,5): error MSB3073: "D:\a\ILSpy\ILSpy\ILSpy.Installer\bin\Release\net472\ILSpy.Installer.exe"" exited with code -1.
Done Building Project "D:\a\ILSpy\ILSpy\ILSpy.Installer\ILSpy.Installer.csproj" (default targets) -- FAILED.
Done Building Project "D:\a\ILSpy\ILSpy\ILSpy.Installer.sln" (default targets) -- FAILED.
Build FAILED.
"D:\a\ILSpy\ILSpy\ILSpy.Installer.sln" (default target) (1) ->
"D:\a\ILSpy\ILSpy\ILSpy.Installer\ILSpy.Installer.csproj" (default target) (2) ->
(PostBuild target) ->
WixToolset.UI.wixext : warning WIX6101: Could not find expected package root folder wixext6. Ensure WixToolset.UI.wixext/7.0.0-rc.1 is compatible with WiX v6. [D:\a\ILSpy\ILSpy\ILSpy.Installer\ILSpy.Installer.csproj]
"D:\a\ILSpy\ILSpy\ILSpy.Installer.sln" (default target) (1) ->
"D:\a\ILSpy\ILSpy\ILSpy.Installer\ILSpy.Installer.csproj" (default target) (2) ->
(PostBuild target) ->
EXEC : error : Cannot find WiX extension 'WixToolset.UI.wixext'. WixSharp attempted to install the extension but did not succeed. Please install the extension manually with: `wix.exe extension add -g WixToolset.UI.wixext` [D:\a\ILSpy\ILSpy\ILSpy.Installer\ILSpy.Installer.csproj]
wix.exe : error WIX0144: The extension 'D:\a\ILSpy\ILSpy\ILSpy.Installer\ILSpy.wxs' could not be loaded because of the following reason: Bad IL format. The format of the file 'D:\a\ILSpy\ILSpy\ILSpy.Installer\ILSpy.wxs' is invalid. [D:\a\ILSpy\ILSpy\ILSpy.Installer\ILSpy.Installer.csproj]
D:\a\ILSpy\ILSpy\ILSpy.Installer\ILSpy.Installer.csproj(30,5): error MSB3073: The command "cd .\
D:\a\ILSpy\ILSpy\ILSpy.Installer\ILSpy.Installer.csproj(30,5): error MSB3073: set ide=true
D:\a\ILSpy\ILSpy\ILSpy.Installer\ILSpy.Installer.csproj(30,5): error MSB3073: "D:\a\ILSpy\ILSpy\ILSpy.Installer\bin\Release\net472\ILSpy.Installer.exe"" exited with code -1.
https://github.com/icsharpcode/ILSpy/actions/runs/21996917625/job/63559229683?pr=3663
We are locking to Wix 6 for ages (see https://github.com/icsharpcode/ILSpy/blob/d8c619d2ad6f851df0534ff9b963e01ce7ba7404/.github/workflows/build-ilspy.yml#L53) but funnily WixSharp seems to try to pick up "stuff" from the just released (seven days at time of writing) Wix 7 RC1 https://www.nuget.org/packages/wix/7.0.0-rc.1#versions-body-tab. Given that release happened since the last successful build, this seems a likely culprit.
The PR itself was intended to be a simple NuGet update icsharpcode/ILSpy#3663 (initially didn't touch CI oder installer generation)
Tried:
- going from 2022 build agent to 2025
- going to latest point release of WixSharp
- going to 6.0.2 global tool of Wix.
Any ideas / tips what else to try?