I’m trying to upgrade my uproject from 4.7.6 to 4.14.3 and I’m getting the following:
UnrealBuildTool Exception: ERROR: Not expecting project C:\Unreal Projects\Fluoride\Intermediate\ProjectFiles\ProjectStream.vcxproj to already have a target rules of with configuration name Game (ProjectStreamTarget) while trying to add: ProjectStreamTarget
Does anyone understand the cause of this exception or how I can resolve it?
If you haven’t already done so, try deleting your project’s Intermediate folder, then generate project files and build it again. If that does not help, are you upgrading directly from 4.7.6 to 4.14.3, or are you upgrading to each major version? Also, are you using the binary version of the Engine that is installed by the Launcher, or did you build the Engine from source code?
I fixed that problem removing or deleting all inside YourProject/Intermediate/ , in Windows Explorer right clicked YourProject.uproject, selected “Generate Visual Studio project files”, after that clicked over uproject to open and a warning popup told me something is missing so I presseed Yes to Generate it again. After all that, I can add C++ code to the project as normally.