My system got corrupted two days ago and i have lost all my projects too. I had git backup of my project which is few months old, after downloading from git and it showed me the following issue.
i am unbale to install .Net 4.0 as it says "a newer or Higher version of the framework already installed", so i tried downloading the closest version available ehich is .Net 4.5.1
But the project failed to build with following error, i tred .Net 4.5.1 & 4.8
"BC30928 Base class 'ObjectContext' specified for class 'My_ProjectEntities' cannot be different from the base class 'DbContext' of one of its other partial types."
I am using Visual Studio 2022 with Windows 11 Pro