Question received on the Ocean portal:
I got following error. For all PetrelSystem declaration in my code, I got the same error. I added Ocean.Core dll file from new path(Petrel 2012), but that did not help:
The name 'PetrelSystem' does not exist in the current context
the code was copiling correctly on Ocean for Petrel 2011