Is there a defined way of downgrading a solution to a lower version of the .net Framework.
Select Programs, then select Programs and Features. Click on "Microsoft . NET Framework 4.7" Click Uninstall/Change at the top of this screen, and uninstall .
Try to target .NET Framework 4.0 in your solution first.
Right click on your project-> Properties->Application panel. You should see it there. After setting your target framework you have to compile and address all possible framework specific scenarios.
In Visual studio you should set the target to be Framework 4.0 (msdn). And then fixup the errors for any code manually that relies on 4.5
If you have downloaded any packages using Nuget while your project was a 4.5 project, you need to manually remove the packages and install the pages again after you have changed your project to 4
First Update the packages and this will change many of packages using the command PM> update-package
You can remove the packages using PM > uninstall-package packageName -force
Install the package back using PM>install-package packageName
You can check to make sure all your nuget packages are 4.0 by looking at the packages.config
file in the root of each project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With