VS studio UE integration error

Hey,
after corrupted uninstallation of VS 2019 and 2022 (some files were deleted from appdata, programdata) and fresh install of VS 2022 - UE 5.1 , 4.27 don’t seem to fully recognize it.

When I create new project and open the solution it gives me error when opening .h/.cpp files:

Output from: UE Integration Logging

Analyzing Blueprints for project:

//
// Wall of logs
//

[2023.01.17-15.28.21:335][  0]LogInit: Error: VisualStudioToolsCommandlet looked like a commandlet, but we could not find the class.

Command failed with exit code 1.

Ive installed UnrealVS and the Visual Studio Integration plugin is enabled in project.

Any ideas?

1 Like

I have some generic tips and things you can try to resolve the issue:

  • Make sure that you have the latest version of the UnrealVS and Visual Studio Integration plugins installed and enabled in your project.
  • Try reinstalling the UnrealVS and Visual Studio Integration plugins to ensure that all necessary files are properly installed.
  • Check if there are any updates for the version of UE you are using and make sure that your VS version is compatible with the UE version you’re running.
  • Make sure that you have the correct version of the Visual Studio Tools installed. It should be the same version as the VS you installed
  • Try to open the C++ project in VS first and then open the UE editor.
  • Try to delete the Intermediate and Binaries folder and rebuild the project.
  • If none of the above works, try creating a new project and moving your code to that project.
3 Likes

For anyone coming here late:

Make sure you enable the extension plugin in your unreal project as well. You can edit the file directly or add it through the unreal editor with your project opened

4 Likes