This is what is outputted by Visual Studio

Plz help

1>------ Build started: Project: UE4, Configuration: BuiltWithUnrealBuildTool Win32 ------
2>------ Build started: Project: MyProject, Configuration: Development_Editor x64 ------
2>Creating makefile for MyProjectEditor (no existing makefile)
2>Performing full C++ include scan (no include cache file)
2>Parsing headers for MyProjectEditor
2> Running UnrealHeaderTool "C:\Users\firec\Documents\Unreal Projects\MyProject\MyProject.uproject" "C:\Users\firec\Documents\Unreal Projects\MyProject\Intermediate\Build\Win64\MyProjectEditor\Development\MyProjectEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
2>C:/Users/firec/Documents/Unreal Projects/MyProject/Source/MyProject/MyProjectGameState.h(23) : LogCompile: Error: Unknown variable specifier 'EditDefaultOnly'
2>EXEC : error : UnrealHeaderTool failed for target 'MyProjectEditor' (platform: Win64, module info: C:\Users\firec\Documents\Unreal Projects\MyProject\Intermediate\Build\Win64\MyProjectEditor\Development\MyProjectEditor.uhtmanifest, exit code: OtherCompilationError (5)).
2>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets(44,5): error MSB3075: The command ""C:\Program Files\Epic Games\UE_4.19\Engine\Build\BatchFiles\Build.bat" MyProjectEditor Win64 Development "C:\Users\firec\Documents\Unreal Projects\MyProject\MyProject.uproject" -WaitMutex -FromMsBuild" exited with code 5. Please verify that you have sufficient rights to run this command.
2>Done building project "MyProject.vcxproj" -- FAILED.
========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========