VB.net 2013 - Target Framework

This seems simple, but I can't figure it out!

I have some labels on my program that show the Author, Version, etc.
I want to display the Target Framework that was set in the Project Properties on a label but I can figure it out?

Similar to this:
lbl_Version.Text = "Version: " & My.Application.Info.Version.Major.ToString & "." & My.Application.Info.Version.Minor.ToString & "." & My.Application.Info.Version.Build.ToString & "." & My.Application.Info.Version.MinorRevision

Thanks,
Mark
smithmrkAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

David Johnson, CD, MVPOwnerCommented:
I tried System.Environment.Version and System.Runtime.InteropServices.RuntimeEnvironment.GetSystemVersion
but it only returns the .net clr version
smithmrkAuthor Commented:
Returns the what?
What is clr version?

Mark
David Johnson, CD, MVPOwnerCommented:
common language runtime (clr)  i.e. compile for version 3.5x or lower you get 2.0.50727.8009
and  v2.0.50727 and for version 4.0 and higher .NET framework version: 4.0.30319.34209
.NET framework version2= v4.0.30319

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
Rowby Goren Makes an Impact on Screen and Online

Learn about longtime user Rowby Goren and his great contributions to the site. We explore his method for posing questions that are likely to yield a solution, and take a look at how his career transformed from a Hollywood writer to a website entrepreneur.

smithmrkAuthor Commented:
That works for me!
Why would they call it 3.5 when it is really 2.0.50727.8009?  Confusing!!!

Thanks,
Mark
käµfm³d 👽Commented:
Because .NET 3.x is an extension of the 2.0 Framework. It simply added on to the base Framework, it did not change it the way that 4.x did.
smithmrkAuthor Commented:
OK, thanks!
Still learning...
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
.NET Programming

From novice to tech pro — start learning today.