diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponentResult.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponentResult.cs index 1aa38c1cdc..df97d7d53d 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponentResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponentResult.cs @@ -51,19 +51,6 @@ 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; } - /// /// Gets or sets the Content-Type header for the response. /// diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/exceptions.net45.json b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/exceptions.net45.json new file mode 100644 index 0000000000..063df4e403 --- /dev/null +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/exceptions.net45.json @@ -0,0 +1,12 @@ +[ + { + "OldTypeId": "public class Microsoft.AspNetCore.Mvc.ViewComponentResult : Microsoft.AspNetCore.Mvc.ActionResult", + "OldMemberId": "public Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine get_ViewEngine()", + "Kind": "Removal" + }, + { + "OldTypeId": "public class Microsoft.AspNetCore.Mvc.ViewComponentResult : Microsoft.AspNetCore.Mvc.ActionResult", + "OldMemberId": "public System.Void set_ViewEngine(Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine value)", + "Kind": "Removal" + } +] \ No newline at end of file diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/exceptions.netcore.json b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/exceptions.netcore.json new file mode 100644 index 0000000000..063df4e403 --- /dev/null +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/exceptions.netcore.json @@ -0,0 +1,12 @@ +[ + { + "OldTypeId": "public class Microsoft.AspNetCore.Mvc.ViewComponentResult : Microsoft.AspNetCore.Mvc.ActionResult", + "OldMemberId": "public Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine get_ViewEngine()", + "Kind": "Removal" + }, + { + "OldTypeId": "public class Microsoft.AspNetCore.Mvc.ViewComponentResult : Microsoft.AspNetCore.Mvc.ActionResult", + "OldMemberId": "public System.Void set_ViewEngine(Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine value)", + "Kind": "Removal" + } +] \ No newline at end of file