Editor compile successful but VS reports a compile error

Hi!

Did anyone notice at 6:10 in the video that there was a “========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========” message in Visual Studio? I have the same message, however, everything works if I compile using the Unreal Editor. I did examine the details in the editor for any new edits after compiling only with VS and they didn’t show. Compiling inside the editor would show new edits in the code.
Anyone encountered this issue before and possibly solved it or have an explanation for it?

Error:

Ok, two rookie mistakes I’ve done! First of all, in the video there is no error that reported unsuccessful builds. I guess I was desperate with my build problem and started seeing that message everywhere :blush:
Secondly, my Visual Studio didn’t build correctly because I switched from VS2015 to VS2017 for that specific UE project and I didn’t delete the .vs folder in the project before generating the VS files and re-building the VS project. All seems to be working now :slight_smile:

Privacy & Terms