I am trying to update a legacy ASP.NET 4.6 app to .NET 4.8. The app contains 2 class library projects as well.
I'm now using VS2022 for the updating instead of VS2017/2019 that I was using before.
For the library projects, I updated the project's target framework to 4.8 and then updated packages by running the following command successfully (no errors shown):
update-package -ProjectName abc -Reinstall -IgnoreDependencies
After running the command, VS2022 - clean and rebuild - packages.config targetframework changes to 4.8:
<package id="System.Memory" version="4.5.5" targetFramework="net48" />
- In package manager console window - why does it reinstall same version again?
- Inside project references for class library project some of the dll versions are still pointing to 4.5 folder, shouldn't it have a 4.8 folder name that it should be pointing to?
e.g.
C:\Users\Projects\abc\packages\System.Memory.4.5.5\lib\net461\System.Memory.dll