It seems that you can't add the project file directly, you need to create a new one, then join the class file.