Errors coming from untouched UE5 source files

I have these errors from files that I have not made any changed to.

  • I have tried regenerating Visual Studio files.
  • I also uninstalled/reinstalled Unreal engine and Visual Studio.
  • I originally started with Visual Studio 2019 but when I started getting these issues, I did update to Visual Studio 2022.
  • One post I found said the issue was resolved by going to the Visual Studio Installer → Visual Study Community 2022 → Modify - Individual Components → uncheck IDE Support for Unreal Engine. but this did not resolve it for me
  • Another post suggested Click Edit → Editor Preferences → Source Code Change Source Code Editor to “Visual Studio 2022” Click Tools → Refresh Visual Studio 2022 Project Click Tools → Open Visual Studio 2022 to open the project in Visual Studio
  • I have tried opening various UE5 projects but the errors persist even when no code/classes have been added.

I’m lost in this dark world any help is appreciated!

Output:

[2023.01.15-23.40.10:775][  0]LogShaderCompilers: Display: Autogen file is unchanged, skipping write.
[2023.01.15-23.40.11:312][  0]LogAudio: Display: Registering Engine Module Parameter Interfaces...
[2023.01.15-23.40.12:303][  0]LogAudioCaptureCore: Display: No Audio Capture implementations found. Audio input will be silent.
[2023.01.15-23.40.12:304][  0]LogAudioCaptureCore: Display: No Audio Capture implementations found. Audio input will be silent.
[2023.01.15-23.40.12:615][  0]LogInit: Error: VisualStudioToolsCommandlet looked like a commandlet, but we could not find the class.
Command failed with exit code 1.

Some of Error List:

Severity    Code    Description Project File    Line    Suppression State
Error (active)  E1835   attribute "deprecated" does not apply here  MyProject   C:\Program Files\Epic Games\UE_5.1\Engine\Source\Runtime\CoreUObject\Public\Serialization\BulkData.h    283 
Severity    Code    Description Project File    Line    Suppression State
Error (active)  E1835   attribute "deprecated" does not apply here  MyProject   C:\Program Files\Epic Games\UE_5.1\Engine\Source\Runtime\CoreUObject\Public\Serialization\BulkData.h    1239    
Severity    Code    Description Project File    Line    Suppression State
Error (active)  E1455   member function declared with 'override' does not override a base class member  MyProject   C:\Program Files\Epic Games\UE_5.1\Engine\Source\Runtime\CoreUObject\Public\UObject\CoreNet.h   381 
Severity    Code    Description Project File    Line    Suppression State
Error (active)  E0020   identifier "FRHIViewableResource" is undefined  MyProject   C:\Program Files\Epic Games\UE_5.1\Engine\Source\Runtime\RHI\Public\RHI.h   2233

Same problem here, any ideas?

After I Rebuild (instead of Build), this error goes away.
Note that in order to build in vs, you have to close UE editor first

if you fix it can you tell me how cuz i have the same problem and I’m lost

Greetings @ZNNS

Welcome to the Unreal Engine Forums! In regards to the error posted above, I presume you’re getting the same ‘VisualStudioToolsCommandlet looked like a commandlet, but we could not find the class’ error. I’d recommend taking a look at this post. There were some users there experiencing the same problem. Let me know if this helps with your issue!