How can I resolve the error "Couldn't find target rules file for target 'MyProjectName'" when building a project?

This also worked for me. I wonder how that “Enterprise” setting got in there, and what does it mean?