Compile Error after Generating PawnTank.cpp/.h

I’m having a compiler issue that seems similar to one that others have encountered. I’m using Visual Studio 2019 Community Edition on Windows 10 and am on UE 4.26.

See reference below:


I have tried:
Deleting: .vs, saved, Binaries, Intermediate folders as well as the solution
Right clicking the unreal project file to generate Visual Studio Components

After doing so I receive the error message below:

|Error|MSB3073|The command ““C:\Program Files\Epic Games\UE_4.26\Engine\Build\BatchFiles\Build.bat” ToonTanksEditor Win64 Development -Project=“D:\Unreal Projects\ToonTanks 4.26\ToonTanks.uproject” -WaitMutex -FromMsBuild” exited with code 6.|ToonTanks|C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets|46||

Are there any other solutions to this issue?

Solved:

Typo in UPROPERY I put “ViewAnywhere” not “VisibleAnyWhere”