Question: are you missing using directive unity?
Answer: Are you missing a using directive of assembly reference? This error is caused when the namespace that you are trying to use does not exist. Error presented in this example: error CS0246: The type or namespace name `MySystem' Could not be found.