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

Not sure if this is relevant to you anymore, but for the record the issue turned out to be I was using “BluePrintReadOnly” with private variables. Once i moved them to the public that fixed the build issue.