If you're being spammed with this exception, compilation may have failed and the project may be temporarily corrupted.
Perform a partial project reimport by regenerating the script assemblies.