Did you try to build your whole project after you performed the upgrade to v12? The best solution is to check out the virtual objects and build the project in visual studio. This will help you resolve the errors you're seeing.
Remember Kentico doesn't automatically upgrade any of your virtual objects (transformations, templates, etc.) or custom code. You have to upgrade that all manually.