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

Tnx!!! Helped me with my project as well.