Converting from 4.17 to 4.18 error

I have a project that I’m converting to 4.18. It gives me this message.

Project files could not be generated. Log output:

Running C:/Program Files/Epic Games/UE_4.18/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project=“C:/Users/dcsha/Documents/testing/gameTesting 4.18/gameTesting.uproject” -game -rocket -progress
Discovering modules, targets and source code for project…
While compiling C:\Users\dcsha\Documents\testing\gameTesting 4.18\Intermediate\Build\BuildRules\gameTestingModuleRules.dll:
ERROR: c:\Users\dcsha\Documents\testing\gameTesting 4.18\Source\gameTesting.Target.cs(19,12) : error CS0122: ‘UnrealBuildTool.UEBuildBinaryConfiguration’ is inaccessible due to its protection level
ERROR: c:\Users\dcsha\Documents\testing\gameTesting 4.18\Source\gameTesting.Target.cs(17,23) : error CS0051: Inconsistent accessibility: parameter type ‘ref System.Collections.Generic.List’ is less accessible than method ‘gameTestingTarget.SetupBinaries(UnrealBuildTool.TargetInfo, ref System.Collections.Generic.List, ref System.Collections.Generic.List)’
ERROR: c:\Users\dcsha\Documents\testing\gameTesting 4.18\Source\gameTestingEditor.Target.cs(19,12) : error CS0122: ‘UnrealBuildTool.UEBuildBinaryConfiguration’ is inaccessible due to its protection level
ERROR: c:\Users\dcsha\Documents\testing\gameTesting 4.18\Source\gameTestingEditor.Target.cs(17,23) : error CS0051: Inconsistent accessibility: parameter type ‘ref System.Collections.Generic.List’ is less accessible than method ‘gameTestingEditorTarget.SetupBinaries(UnrealBuildTool.TargetInfo, ref System.Collections.Generic.List, ref System.Collections.Generic.List)’
ERROR: UnrealBuildTool Exception: Unable to compile source files.

Check this:

https://forums.unrealengine.com/development-discussion/c-gameplay-programming/118722-c-4-16-transition-guide?p=996806#post996806

Thank you, but I couldn’t find the same error in the forum thread.