Visual Studio MSB3073 Error on Build (Updating project from 5.3 to 5.4). "-WaitMutex -FromMsBuild Microsoft.MakeFile.Targets"

Upgrading can be problematic

If I remember correctly you also have to modify the target files

example

// Copyright Epic Games, Inc. All Rights Reserved.

using UnrealBuildTool;
using System.Collections.Generic;

public class LineWarsMaxTarget : TargetRules
{
	public LineWarsMaxTarget(TargetInfo Target) : base(Target)
	{
		Type = TargetType.Game;
		DefaultBuildSettings = BuildSettingsVersion.V5;
		IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_4;
		ExtraModuleNames.Add("LineWarsMax");
	}
}

where IncludeOrderVersion can decide if your project compiles correctly.
You can try testing it with

		IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_3;

if you upgraded.

I had this in both target files (normal module + editor).