Exception:
CS0246: The type or namespace name could not be found...
Solution:
The cause is most likely because you are trying to reference an asp.net package (library) which uses a higher version of the asp.net framework.
To fix, update your project asp.net framework to at least match.
For more information, see here.