How do you upgrade the engine version of a c++ project. I have tried various things but it doesn’t work. I find it weird that it is so difficult to do something so fundamental.
Right click your .EXE .UPROJECT file in your project folder then switch engine versions then compile.
But first if you haven’t downloaded the latest version of Unreal Engine here is a video for your help if you want to use the Github route.
The other way is to just download the new engine version using the Epic Games Launcher.
I have tried that a lot of times. It looks like this in the beginning.

Then when i switch engine version it looks like this:

I click the project file to start and it gives me the following error message:

I press yes and it gives me this message:

Binary modules are not compatible between engine version, you need to recompile them, there API diffrences so errors may apper and engine can’t recompile module automatically
Once you switch enigne version, regenerate VS project files (right click uproject file), open VS solution (sln file), try to compile, fix any errors that appear.
When I do that it just compiles the game in the previous version, even though I have changed the engine version and generated the project files in the uproject file.
Open uproject file in text editor and check what version you got set in there
Look ok. you sure you module compiled correctly?
When I open the solution it starts parsing the files:
when its done I build it:

It says build succeeded:

when I then debug it, it opens in the previous engine:
But if I then change anything in the code it cant build anymore and gives me this message:
BTW thanks for the help and I’m answering within an hour but me answer needs to be reviewed before it gets published.
Try deleting .vs file and Intermediate folder in project, and regenerate VS project again
I don’t know if you mean the solution or .vs folder so I tried both:
Here I delete the vs and intermediate folder:

Then I generate visual studio project files. I then go in the solution and try to reload the project which gives me an error message


Here I try the other option and delete these two:

But when I generate visual studio project files it doesn’t create the solution.
Do not do generation with VS open and there no way sln file is not generated, and it should be. The most raw state if UE4 project have only Config, Content, Source (if it is C++) and uproject file, this is what you should contain project in repository if you had one. Try to reduce it to that state and generate VS files
Before I generate visual studio project files:

After:

It doesn’t create the sln file



