Unable to open project or build development editor after cloning project

This is using windows and Visual Studio code.

I decided to clone a project that I’d started working on, to give it a less stupid name. The cloning failed, and I selected the “fix it myself” option.

When I went back to the original, I found that it wouldn’t start - it gives me the following error

"The following modules are missing or built with a different engine version:

[StupidProjectName]

Would you like to rebuild them now?"

If I click yes, I then get:

“StupidProjectName could not be compiled. Try rebuilding from source manually”

So, I go to Visual Studio, select the Development Editor config, and click build. This then fails with the following errors:

LNK2011 - precompiled object not linked in; image may not run (file: SomeClass.gen.cpp.obj)
LINK1120 - 1 unresolved externals (file: UnrealEditor-StupidProjectName.dll)

However, if I select the Debug Game Editor task and build that, everything works fine. It seems Unreal is trying to open the Development Editor config, and that is failing.

Can anyone help with this? It’s been a little while since I last checked in and I really don’t want to have to lose all that work.

Update: even checking out an old version doesn’t work. Really no idea what to do here- how can the main module be missing? Is there any way to regenerate the DLL?

did you regenerate project files after cloning ?

Nope, just went back and tried to open the old one. Suddenly not working.

Still hoping for a fix for this. In the end I’ve used the Debug Game Editor and blueprintue.com to export the blueprints and added the code to a new project, so it’s not completely hopeless, but I’ve still lost two days of work to this.