How may I resolve an error "Couldn't find target rules file for target 'ProjectName' when building a project?

I had this issue when creating projects on one of my computers. For some reason projects created on one of the computers create the following setting in the .uproject file (just open it with a text editor):

“Enterprise”: true,
I removed the setting from the .uproject file and now it compiles.