Changing .net references in vb program from .NET 2.0 to .NET 4.0

I have a vb.net program that was done several years ago and has references to .NET 2.0. How can I change this to .NET 4?
.NET 2.0
BrianAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

gr8gonzoConsultantCommented:
Have you already changed your project's targeted framework to your desired version (4.x)?

Also, I'd strongly recommend going to at LEAST 4.6. Go as high as you can while staying compatible with your target audience's framework. So if you're in an office environment where everyone should be on 4.6.2, then target 4.6.2.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BrianAuthor Commented:
How do I change the project's targeted framework?  I added C:\Windows\Microsoft.NET\Framework\v4.x to my reference paths, but that did not change the version listed under References.
Reference Path
Chinmay PatelChief Technology NinjaCommented:
Hi Brian,

If you have th source code with you, you can do that from Application Page or Project Properties dialog. Please keep a backup of the project and be ready to fix (possible) breaking changes.

Once you have opened the project in Visual Studio -> right click on the Project -> Properties -> Application -> Target Framework.

All the best.

Regards,
Chinmay.
Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

gr8gonzoConsultantCommented:
Yeah, what he said. (points up) :)
Chinmay PatelChief Technology NinjaCommented:
Yikes :P you already said that.. I keep the tabs open and answer them one by one :P
BrianAuthor Commented:
Thanks for the help!
David Johnson, CD, MVPRetiredCommented:
change it here and the references will change by themselves
2019-04-29_16-58-38.png
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.