Updating obsolete IScopeProvider

Hi all,

I’m having issues with Umbraco Deploy failing on 13.11.0 instance

I think it may be due to the Umbraco.Cms.Core.Scoping.IScopeProvider being obsolete (the project builds and works on local and live but with build warnings, which seem to be tripping Deploy up).

When I go to update it there are two suggested replacements:

  • Umbraco.Cms.Infrastructure.Scoping.IScopeProvider
  • Umbraco.Cms.Core.Scoping.ICoreScopeProvider

Is there a rational for when each of these should be used? Umbraco.Cms.Core.Scoping.IScopeProvider is still used across most of the Umbraco docs so its a little unclear

Completely missed that IScopeProvider inherits from ICoreScopeProvider :sweat_smile:

Umbraco.Cms.Infrastructure.Scoping.IScopeProvider is the one

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.