How to change the name of target build?

I’m so sorry. I’m a bit forgetful these days. When change the class name of build target to new name these 2 errors generated:

  1. Error MSB3073 The command ""D:\Epic

Games\4.10\Engine\Build\BatchFiles\Build.bat"
MyProject2 Win64 Development
“D:\Unreal
Projects\MyProject2\MyProject2.uproject”
-rocket -waitmutex -2015" exited with code -1. MyProject2 C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets 37

2.> Error Expecting to find a type to be

declared in a target rules named
‘MyProject2Target’. This type must
derive from the ‘TargetRules’ type
defined by Unreal Build
Tool. MyProject2 D:\Unreal
Projects\MyProject2\Intermediate\ProjectFiles\EXEC 1