Incredibuild add-in fails to build C++ solution in Visual Studio

343 views Asked by At

I upgraded my older Incredibuild installation with the latest version 10.5 to fix an invalid license error on Windows and I also upgraded my Visual Studio 2022 add-in respectively since I'm working in Visual Studio on C++ projects. When I initiate a build with Incredibuild, I'm getting a failure the following output:

--------------------Build System Warning---------------------------------------
Checking MSBuild version:
    Cannot load version info from: �l�R�ct Visual Studio Solution File, Format VersionMSBuild\Current\Bin\amd64\, Error: 123

-------------------------------------------------------------------------------
--------------------Build System Warning---------------------------------------
Visual Studio does not include an English language pack:
    This version of Visual Studio does not include a built-in English language pack.
    
    For the best Incredibuild experience, it is highly recommended to install a Visual Studio English language pack.

-------------------------------------------------------------------------------
 
Build ID: {184494E3-2125-4767-B661-F6D0037AE45A}
 
Active code page: 437
The filename, directory name, or volume label syntax is incorrect.
 
2 build system warning(s):
   - Checking MSBuild version
   - Visual Studio does not include an English language pack

I verified my Visual Studio Installer language packs and I have English installed, my Visual Studio is in English after all so the warning seems bogus:

Overall I don't understand why Incredibuild is failing, maybe it calls a bad command in the Visual Studio 2022 development tools which implies a poorly developed software but I cannot verify that easily due to the opaque nature of this commercial tool. I never got Incredibuild to work before, either, but it would be great to accelerate builds. I can build my C++ code just fine in Visual Studio via the regular Build -> Build Solution menu item, though.

1

There are 1 answers

0
BullyWiiPlaza On

Indeed, the support's suggestion worked fine to fix the build failure. Here's the solution:

  1. On your machine, in the Window Search, type in Region
  2. A window should appear, go to the Administrative tab
  3. A Region Settings window will pop up, ensure the Current system locale is English (United States), and the checkbox is uncheck for 'Beta: Use Unicode UTF-8 for worldwide language support'. See screenshot below as reference.
  4. You can try a build to see if this takes away the messages, but a machine restart may be needed after making any changes.