After generating a project .sln file using GenerateProjectFiles.bat compilation of several engine modules fails in VisualStudio with the of the following error:
EXEC : error : UnrealBuildTool Exception: A conflicting instance of UnrealBuildTool is already running at this location: C:\\unreal\UnrealEngine\Engine\Binaries\DotNET\UnrealBuildTool.exe. A process manager may be used to determine the conflicting process and what tool may have launched it.
This appears to affect the following modules:
TestPAL, UnrealFileServer, UnrealLightMass, UnrealCEFSubProcess, UnrealPak, BootstrapPackagedGame, UnrealHeaderTool, BuildPatchTool, CrashReportClient, SlateViewer, SymbolDebugger, UnrealVersionSelector, UnrealWatchdog, UnrealFrontend, BlankProgram, ShaderCacheTool, UnrealVersionSelector, MiniDumpDiagnostics,
A .sln generated by creating a new C++ project from the UE4Editor UI does not appear to have this issue. Likewise I am able to build the project itself either by building it exclusively in Visual Studio, building manually using Build.bat or by omitting the ‘-Engine’ flag from the GenerateProjectFiles.bat command
Command used to generate project project files:
[Path-To-Engine]/Build/BatchFiles/GenerateProjectFiles.bat [Path-To-Project]/MyProject.uproject -Game -Engine -2015
This seems to have started occurring since upgrading to 4.18.3. I am using the same process to generate project files that I have for previous versions of the engine/project. Please let me know if I am doing something wrong here.
Thank You