diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponentResult.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponentResult.cs index 943745627c..1aa38c1cdc 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponentResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponentResult.cs @@ -52,10 +52,16 @@ namespace Microsoft.AspNetCore.Mvc public ITempDataDictionary TempData { get; set; } /// + /// + /// This property is unused and will be removed in the next major version. + /// + /// /// Gets or sets the used to locate views. + /// /// /// When null, an instance of from /// ActionContext.HttpContext.RequestServices is used. + [Obsolete("This property is unused and will be removed in the next major version.")] public IViewEngine ViewEngine { get; set; } ///