diff --git a/src/Umbraco.Web/UmbracoContext.cs b/src/Umbraco.Web/UmbracoContext.cs index 8d56a81084..d878ac3d1d 100644 --- a/src/Umbraco.Web/UmbracoContext.cs +++ b/src/Umbraco.Web/UmbracoContext.cs @@ -324,6 +324,8 @@ namespace Umbraco.Web /// /// Gets the current ApplicationContext /// + [Obsolete("Do not access the ApplicationContext via the UmbracoContext, either inject the ApplicationContext into the services you need or access it via it's own Singleton accessor ApplicationContext.Current")] + [EditorBrowsable(EditorBrowsableState.Never)] public ApplicationContext Application { get; private set; } ///