Question: the type func is defined in an assembly that is not referenced?
Answer: When you get this error, it means that code you are using makes a reference to an type that is in an assembly, but the assembly is not part of your project so it can't use it. Deleting Project.