Upgrade .NET Framework from 4.5.1 to 4.8.1 and update NuGet packages #13
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR upgrades the ASP.NET MVC 5 application from .NET Framework 4.5.1 to 4.8.1 as Phase 1 of the planned migration to .NET 8. All NuGet packages have been updated to their latest Framework-compatible versions.
Framework Changes:
TargetFrameworkVersionfromv4.5.1tov4.8.1in all 5 .csproj filesWeb.configcompilation and httpRuntime targetFramework to4.8Key Package Upgrades:
All assembly references in .csproj files and binding redirects in Web.config have been updated to match the new package versions.
Review & Testing Checklist for Human
ServiceLayerDTOs and anyMapper.Mapcalls).SampleWebApp/Infrastructure/AutofacDi.csstill configures the container correctly.Recommended Test Plan:
Notes
AutoMapper.Net4.dllreference andAutoMapper.targetsimport were removed from BizLayer.csproj as they are no longer part of AutoMapper 10.xLink to Devin run: https://app.devin.ai/sessions/f3cd02d0f03f4167804b2c6db45849a9
Requested by: @mbatchelor81