Object library's language setting incompatible with current project

The reference couldn't be added. This error has the following cause and solution: