Error MSB3073 building 4.26 caused by extra quotation mark?

Sorry, it’s been a while, but to the best of my recollection you can just use the traditional Windows 10 Command Prompt to run the batch file manually (I don’t know how to fix batch command that is generated by Visual Studio).

I did it manually like this:

  1. Using File Explorer, navigate to the folder where your Build.bat file is located. In the OP’s example, this is C:\GitHub\UnrealEngine\Engine\Build\BatchFiles – but will vary depending on where you cloned the GitHub repo.

  2. Open a Command Prompt at this location by clicking the location bar in File Explorer and entering cmd and pressing enter – example here: https://www.itechtics.com/open-command-window-folder/#Using_CMD_command_in_File_Explorer_to_open_Command_Prompt_Window

This should open a Command Prompt window, with the currently active directory matching the folder you found in File Explorer.

  1. Select this entire command, right click, and copy (might wrap onto more than one line, but it will be a single command when you paste):

build.bat -Target="UE4Editor Win64 Development" -Target="ShaderCompileWorker Win64 Development" -Quiet -WaitMutex -FromMsBuild

  1. Back in your Command Prompt, hit Alt+Space (or click the little C:\ icon at the top-left corner of the window), go to Edit, and click Paste. Then hit Enter to run the command.

Good luck!

1 Like