I am trying to run a legacy project for detecting USB devices on the computer, but the software was written a long time ago and also using .NET framework 4.0 which is now outdated. However, Microsoft still allows you to use version 4.5, but you have to reference the assemblies of the project.

That’s where the problem begins. Firstly, no matter what I do, I can’t find any instructions on how this is done. I initially selected the Reference file and right clicked for the option to add references, but the reference list is empty.

No matter what I am trying to do, it seems like version 4.0 keeps evading me. I added some photos for context.
If you can provide a solution that would be much appreciated, or a link for downloading the .NET 4.0 framework
I tried looking for a .NET 4.0 download to go around this problem, but apparently Microsoft doesn’t offer it anymore, only a link to an article about using and adding reference assemblies, which I could not understand.
