Installer Projects 2022 Extension Unrecoverable Build Error

Dave Arnold
1
Reputation point
Since upgrading Visual Studio Community 2022 to version 17.3, I am unable to build an installer project. The rest of the solution builds fine, but the installer project fails with:
Building file '...\Release\MyProjectName.msi'...
ERROR: Unrecoverable build error - 0x800700C1
It creates a .tmp file in the output directory before it fails, so I don't believe it is a permissions problem. I've tried running VS as administrator, but that doesn't help. I haven't been able to find any info on this error anywhere online.
Can anyone help with this? Thanks.
{count} votes
I only have the one solution, but I can try creating a new one to see what it does. Any idea what error 0x800700C1 means? The messaging doesn't really give me any hits to go on. Thanks.
The VS Error Lookup tool says its: "%1 is not a valid Win32 application. "!
If a clean project produces the same error, perhaps a re-install of the extension is needed (though I've never had any such need).
I've re-installed the extension a few times already, so I'll see what a clean project does. Thanks again.
Hello, do you have any update? You can also try to repair your VS2022 through Visual Studio Installer > More > Repair. And check if the error goes away.
If the error only occurs in installer project, I suggest you report it to Microsoft Visual Studio Installer Projects 2022 team.
I have tried repairing VS2022, but that did not help. I tried creating a new, clean solution with a new win forms project and a new installer project, and still get the same error:
Building file 'C:\Users\dave\source\repos\WinFormsApp1\Setup1\Debug\Setup1.msi'...
ERROR: Unrecoverable build error - 0x800700C1
Sign in to comment
1 answer
Sort by: Most helpful
Facing same issue a week ago.
This error happens only ARM Windows on my environment, intel Windows runs well.
both using VS2022 Community edition.
VS2022 does not support officially ARM Windows machine at this time, hopefully fix this issue when official support has come on arm windows.
Sign in to comment