Migrate to .NET Core 3.0
ProprietaryMigrate C# projects from .NET Core 2.x to .NET Core 3.0, applying necessary API changes for removed and replaced types. See https://learn.microsoft.com/en-us/dotnet/core/compatibility/3.0.
OpenRewrite. Recipes. CSharp. Migration. Dotnet. Net3_0. UpgradeToDotNet3_0mod run . --recipe= OpenRewrite. Recipes. CSharp. Migration. Dotnet. Net3_0. UpgradeToDotNet3_0Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.
- Change .NET target framework
- Change .NET target framework
- Change .NET target framework
- Change .NET target framework
- Change .NET target framework
- Upgrade NuGet package version
- Upgrade NuGet package version
- Upgrade NuGet package version
- Upgrade NuGet package version
- Upgrade NuGet package version
- Change type
- Change type
- Change type
- Change type
- Change type
- Change type
- Remove NuGet package reference
- Remove NuGet package reference
- Remove NuGet package reference
- Add framework reference
- Add NuGet package reference when namespace is used
- Add NuGet package reference when namespace is used
- Remove MSBuild property
- Remove MSBuild property
- Remove DotNetCliToolReference
- Ensure csproj attestation
- Change method name
- Change method name
- Change method name
- Replace UseIdentity() with UseAuthentication()
- Use HttpContext authentication extensions
- Use GetExternalAuthenticationSchemesAsync()
- Remove method invocations
- Remove method invocations
- Remove method invocations
- Remove method invocations
- Replace
PlatformServiceswithAppContext - Find Newtonsoft.Json usage
- Find
HttpContext.Authenticationusage (removed in ASP.NET Core 3.0) - Find synchronous IO usage (disabled in ASP.NET Core 3.0)
- Find
UseMvc/AddMvcusage (replaced in ASP.NET Core 3.0) - Find
WebHostBuilder/WebHost.CreateDefaultBuilderusage (replaced in ASP.NET Core 3.0) - Find
CompactOnMemoryPressureusage (removed in ASP.NET Core 3.0) - Find
IConnectionAdapterusage (removed in ASP.NET Core 3.0) - Find obsolete localization APIs (ASP.NET Core 3.0)
- Migrate ApiController to ControllerBase
- Find SpaServices/NodeServices usage (obsolete in ASP.NET Core 3.0)