The type or namespace name 'System' could not be found
Cleaning solution worked for me.
I would also advise to close and relaunch Visual Studio once doing so.
I had the same problem earlier when I tried to edit an open source project from the internet.
Solved it by just Cleaning the solution and rebuilding it.