net9.0
namespace Microsoft.AspNetCore.Mvc
{
    [Obsolete("This API is obsolete and will be removed in a future version. Consider removing usages.", DiagnosticId = "ASP5001", UrlFormat = "https://aka.ms/aspnetcore-warnings/{0}")]
    public enum CompatibilityVersion
    {
        [Obsolete("This CompatibilityVersion value is obsolete.")]
        Version_2_2 = 2
    }
}
.NET 5.06.07.08.09.0
.NET Core 2.23.03.1
Information specific to net9.0
Assembly

Microsoft.AspNetCore.Mvc.Core , Version=9.0.0.0, PublicKeyToken=adb9793829ddae60

Referencing

Requires any:

  • Your project needs to use SDK Microsoft.NET.Sdk.Web.

  • Your project needs a framework reference to Microsoft.AspNetCore.App.

Obsolete This CompatibilityVersion value is obsolete.
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API

12/25/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙