Aaron Stebner's WebLog

Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio

.NET Framework cleanup tool now supports .NET Framework 4.5 and Windows 8

.NET Framework cleanup tool now supports .NET Framework 4.5 and Windows 8

Rate This
  • Comments 50

I have posted an updated version of the .NET Framework cleanup tool that supports cleaning up the .NET Framework 4.5. It has also been updated to correctly recognize when it is running on Windows 8. There is more information about how to download and use the .NET Framework cleanup tool in the user’s guide at http://blogs.msdn.com/b/astebner/archive/2008/08/28/8904493.aspx.

As always, if you run into any issues or have any feedback about the .NET Framework cleanup tool, please let me know by posting a comment on one of my blog posts or using the contact form.

  • Hi Felipe Goes - Can you please use the tool described at blogs.msdn.com/.../6458047.aspx to collect all of your setup log files, upload the file named %temp%\vslogs.cab that this tool will create to a file server (such as http://skydrive.live.com), and then reply back here and provide a link that I can use to download your log files and take a closer look?

  • Aaron, thx for your replay... I will provide :)

  • i installed vs 2012 and when i want to run it, i got this error:

       could not load file or assembly presentationframework version=4.0.0.0,

       Culture=neutral, PublicKeyToken=31bf3856ad364e35 or one of its dependencies.

       The system cannot find the file specified.

    also when i installed vs 2010 i got this error.

    i have windows 8 32 bit.

    please help me.

    thank you very much

  • Hi vahid - That assembly should have been installed as a part of Windows 8 because Windows 8 includes the .NET Framework 4.5 as a part of the OS.  You might want to try to repair the .NET Framework by doing the following:

    1.  Try to run the System Update Readiness Tool from support.microsoft.com/.../947821.

    2.  Try to repair the files that are a part of your OS by using the steps listed at blogs.msdn.com/.../how-to-repair-the-net-framework-2-0-and-3-0-on-windows-vista.aspx.

    If none of the above help, then I'd suggest posting a question on the Visual Studio setup forum at social.msdn.microsoft.com/.../threads to see if someone there has any additional suggestions for you to try.

  • Thank you Aaron Stebner

  • Thank you so much Sir Aaron Stebner!!

  • Hi Aaron, i am currently using a school laptop as i am in high school. And by some very accidental occurence i seemed to have deleted the .NET framework from my laptop. When i realised what i had done i had gone to the bin and restored all the documents. However, it didn't work. I am unable to install anything or play games, etc. I have tried repairing the .NET framework with one of your suggestions and even removing it. Nothing has worked for me.. What do you suggest?

    Thanks, Ronnoc.

  • I am also using windows 7 enterprise as it is part of the school system.

  • Hi Ronnoc - What version of the .NET Framework do you need to restore on your Windows 7 computer?  If it is the .NET Framework 4.5, 4, 1.1 or 1.0, then I'd suggest using the instructions and the download links at blogs.msdn.com/.../8108332.aspx to remove and re-install the .NET Framework.

    If it is the .NET Framework 2.0, 3.0 or 3.5, those are installed as a part of the OS on Windows 7.  You can use steps like the ones at blogs.msdn.com/.../how-to-repair-the-net-framework-2-0-and-3-0-on-windows-vista.aspx to repair versions of the .NET Framework that are installed as a part of the OS.

  • Seems to be a bug in the latest version

    Dot Net 1.1 is not detected as installed on 64bit operating systems (XP64 - Win8 64) when it ever so clearly is.

  • Hi Danial - This seems to be working for me on the 64-bit machines that I've tried so far.  Can you please provide a log file from the tool when you ran it in this scenario so I can take a closer look?

  • Hi Aaron!

    Does the cleanup tool support .NET Framework 4.5.1 ?

    Regards

    Frank

  • Hi Frank - The tool does not have a separate entry for the .NET Framework 4.5.1, but since it is a service pack-level update to the .NET Framework 4.5, you can choose the .NET Framework 4.5 entry and it will cleanup either the .NET Framework 4.5 or the .NET Framework 4.5.1 depending on what you have installed.

  • Hi Frank - I looked at the cleanup tool source code a bit closer and realized I will have to make a small update to allow it to fully remove the .NET Framework 4.5.1.  I'll be publishing an updated version of the cleanup tool later today with this update.

  • hi i am not able to install kaspersky internet security on my lappy. "windows 8"

    it says "an error ocured while intereactin wit microsoft.net framework.4.5,you are advised to reinstall the microsoft.net framework 4.5 what to do i am not able to reinstall the frmework

Page 2 of 4 (50 items) 1234
Leave a Comment
  • Please add 7 and 5 and type the answer here:
  • Post