UE5.vcxproj Warnings when Opening Cloned Project Inside VS2022

I’ve just encountered – for the first time – this same issue. Mine is on a renamed project, not a cloned one, but I suspect the root cause will turn out to be the name change.

What I’ve tried so far are these steps (where $PROJ is my top-level project directory):

  1. From $PROJ deleted Binaries, Intermediate, .vs, .vsconfig, and $PROJ.sln.
  2. Used “grep” (Linux text search utility) to find all occurrences of the old project name, then edited the files to change them to the new name.
  3. Right-clicked on $PROJ.uproject and regenerated the Visual Studio files.
  4. Opened $PROJ.sln in Visual Studio 2022.

After these steps, the VS error is still present.

My usual development tools are JetBrains Rider and the various Linux tools. I’m very new to VIsual Studio and not normally a Windows programmer. I’m not sure where to go next on solving this, so as a workaround I’m going to create a new project instead of trying to use this renamed one.

3 Likes