HotReload is not active when Editor is open

Hi Community,

I´m kind of confused. I don´t get HotReload working when compiling in VS in one particular project.
The UnrealEditor is open, the Build Configuration is set to “Development Editor”, but when I hit compile, VS wants to write to the “UE4Editor-NAME.dll” and not to the "“UE4Editor-NAME-FUNNYNUMBER.dll”. D

The Output:

1>------ Build started: Project: UE4, Configuration: BuiltWithUnrealBuildTool Win32 ------
2>------ Build started: Project: EscapeTheRoom, Configuration: Development_Editor x64 ------
2>  Creating makefile for EscapeTheRoomEditor (no existing makefile)
2>  Failed to delete file 'E:\PROJECTS_local\Programming\Udemy\trunk\Section_03\EscapeTheRoom\Binaries\Win64\UE4Editor-EscapeTheRoom.dll'
2>      Exception: Der Zugriff auf den Pfad "E:\PROJECTS_local\Programming\Udemy\trunk\Section_03\EscapeTheRoom\Binaries\Win64\UE4Editor-EscapeTheRoom.dll" wurde verweigert.
2>  Attempting to retry...
2>  Failed to delete file 'E:\PROJECTS_local\Programming\Udemy\trunk\Section_03\EscapeTheRoom\Binaries\Win64\UE4Editor-EscapeTheRoom.dll'
2>      Exception: Der Zugriff auf den Pfad "E:\PROJECTS_local\Programming\Udemy\trunk\Section_03\EscapeTheRoom\Binaries\Win64\UE4Editor-EscapeTheRoom.dll" wurde verweigert.
2>  Attempting to retry...
2>  Failed to delete file 'E:\PROJECTS_local\Programming\Udemy\trunk\Section_03\EscapeTheRoom\Binaries\Win64\UE4Editor-EscapeTheRoom.dll'
2>      Exception: Der Zugriff auf den Pfad "E:\PROJECTS_local\Programming\Udemy\trunk\Section_03\EscapeTheRoom\Binaries\Win64\UE4Editor-EscapeTheRoom.dll" wurde verweigert.
2>EXEC : error : Exhausted all retries!
2>  Performing 1 actions (2 in parallel)
2>  [1/1] Link UE4Editor-EscapeTheRoom.dll
2>LINK : fatal error LNK1104: cannot open file 'E:\PROJECTS_local\Programming\Udemy\trunk\Section_03\EscapeTheRoom\Binaries\Win64\UE4Editor-EscapeTheRoom.dll'
2>UnrealBuildTool : error : UBT ERROR: Failed to produce item: E:\PROJECTS_local\Programming\Udemy\trunk\Section_03\EscapeTheRoom\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-EscapeTheRoom.suppressed.exp
2>  Total build time: 17,15 seconds (Local executor: 0,00 seconds)
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(41,5): error MSB3075: The command ""D:\Programs\Epic Games\UE_4.19\Engine\Build\BatchFiles\Build.bat" EscapeTheRoomEditor Win64 Development "E:\PROJECTS_local\Programming\Udemy\trunk\Section_03\EscapeTheRoom\EscapeTheRoom.uproject" -WaitMutex -FromMsBuild" exited with code 5. Please verify that you have sufficient rights to run this command.
========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

So these HotReload-DLL files are not created and I don´t understand why. When I open another 4.19.-Project HotReload works.

Do anybody know where the problem might be?

Cheers,

Simon

Ahh I got it to run:

If VS isn´t compiling with HotReload (UE4Editor is open), just compile in Unreal, and afterwards we can compile in VS.

Nice !