Try generating visual studio files again, it usually helps clearing things up. You can also limit the errors to build only.