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

This solved my problem perfectly! Thank you so much.