Decorator not resolved

Hi.

I have a problem where my Decorator class that is implementing MetaService isn’t being resolved. Instead Litium MetaServiceImpl class is resolved when I’m injecting MetaService.

The problem seems to be only in my local environment, not any of my collegues local environtment.

The reason I’m asking you is to check if you have any tips, because we have no control over the registration of services and decorators.

I have reloaded the packages, restarted the site, and I’ve done a clean build.

Decorator class:

[ServiceDecorator(typeof(MetaService))]
public class MetaServiceDecorator : MetaService

Impl class:
public class MetaServiceImpl : MetaService

Litium version: MVC litium 5

Have you tried cleaning/rebuilding solution? You might want to also manually delete the obj/ and bin/ folder from your project just to make sure.

Have you checked that you have a reference to the project that implements the decorator?