Moving C++ project between computers
I have to work on a project using different computers (home/office). I keep only Config, Content, Source, and ProjectName.uproject -- I regenerate the VS project files each time via right click on project -> "Generate Visual Studio project files".
The problem is, when building the solution in VS (Development Editor / Win64), I get this error:
Same problem if building for Development / Win64 (except then it can't find rules file for target 'UE4Game').
I tried keeping all the files (Intermediate, Saved) and it fails with the same error. Both computers use the same version of Unreal. One difference is that on my home computer, UE is installed in a different directory -- but regenerating VS solution takes care of that, I think.
Turns out, the project was created with
UBT looks for the UE target rules files (UE4Editor.Target.cs, UE4Game.Target.cs) in different places depending on whether it's an enteprise project or not.
Follow this question
Once you sign in you will be able to subscribe for any updates here