Dotnet 'Object' is Missing

I'm using Business Central 2019 Wave 1 (140), I have 2 instance, 1 for testing, 1 for production using different database.

I want to use Dotnet 'Object',

in testing instance, it doesn't give me error:

but in the production, it give me error:

How to fix this?

Related
Recommended