.Net Framework questions

Hello Experts,
I have few dot.net version related questions as below:

1. I would like to know which version of .Net Framework has been installed in my machine.  Please see the attachments.  They don't match.  Any idea which is the correct one?
2. Currently my project is in .Net Framework 4.0.  I would like to move it to .Net Framework 4.5.  I am not sure if I have 4.5 or not.  Please advice how to proceed.
3. In my web.config I have the following line.  But when I hover the mouse under targetFramework I see "The 'targetFramework' attribute is not allowed".  Any idea how to get rid of this error?

<compilation defaultLanguage="c#" debug="true" targetFramework="4.0"/>

Thank you a bunch in advance.
DotNetVerCMD.png
DotNetVerRegEdit.png
DotNetVerVS13.png
RadhaKrishnaKiJayaAsked:
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.

Dave BaldwinFixer of ProblemsCommented:
This 'tool' can verify the .NET versions you have on your computer: https://blogs.msdn.microsoft.com/astebner/2008/10/13/net-framework-setup-verification-tool-users-guide/

This page https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/versions-and-dependencies shows what versions of .NET are available for specific versions of Windows.  Not all .NET versions will work on all versions of Windows.
0

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
JohnBusiness Consultant (Owner)Commented:
I use .NET Framework Setup Verifier that Dave has suggested above and it works well. The most recent version covers from .NET 1 to .NET 4.7 . It will make repairs if it finds issues.
0
RadhaKrishnaKiJayaAuthor Commented:
Thank you Dave / John,
I ran the tool and verified.  It says "Install state for .NET Framework 4.5: installed with no service packs.".  What is the meaning?  How can I install the service pack?

Thank you!
0
PMI ACP® Project Management

Prepare for the PMI Agile Certified Practitioner (PMI-ACP)® exam, which formally recognizes your knowledge of agile principles and your skill with agile techniques.

JohnBusiness Consultant (Owner)Commented:
Look in the Microsoft Download site for .NET Framework downloads.

I assume you have run Windows updates
0
RadhaKrishnaKiJayaAuthor Commented:
John,
Please try to understand my question first.  The log says  "Install state for .NET Framework 4.5: installed with no service packs.".  Meaning the Framework 4.5 has been already installed, but no service packs.

So, my question is how can any .NET Framework  be installed without the service packs?

Thank you!
0
JohnBusiness Consultant (Owner)Commented:
You need to repair the installation by downloading it and installing it again . That is what I would try. Then it may update it to the service pack level
0
Dave BaldwinFixer of ProblemsCommented:
"service packs" are additional code that is installed after the basic product has already been installed.  They are normally installed by Windows Updates.  That's why John is asking if you have run Windows Updates.
0
Shaun VermaakTechnical SpecialistCommented:
So, my question is how can any .NET Framework  be installed without the service packs?
You have the initial version installed
0
RadhaKrishnaKiJayaAuthor Commented:
Dave,
I am not authorized to do any Windows updates on my machine.  They are usually done on corporate level by our IT department.

Thank you!
0
JohnBusiness Consultant (Owner)Commented:
Ask your IT department to do updates. You cannot solve this issue as a regular user
1
RadhaKrishnaKiJayaAuthor Commented:
Shaun Vermaak,
Thank you! What is initial version?  What do you advise?

Thank you!
0
Dave BaldwinFixer of ProblemsCommented:
John is right, you need to get your IT department to fix that problem.  If you can't do updates, you probably can't install any software either.
0
RadhaKrishnaKiJayaAuthor Commented:
Thank you Dave for your help.
1
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
ASP.NET

From novice to tech pro — start learning today.