This content has been marked as final. Show 2 replies
You need to upgrade the project itself from .net 2 to 4, which depending on what it is may or may not be a straightforward process (ASP.net in particular has some breaking changes).
Once you do that, all you need to do for ODP is remove the reference to the old version, and readd it with the .net 4 version. With a recent client both are already installed, so it's pretty straightforward.