Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Overtime I accumulated a bunch of .net versions. I'm rather certain some of them are not used anymore by any installed application. How do I check that? In other words, is there a (simple) tool, which perhaps is part of .net itself, that can scan my .net installation directory and tell me which versions are obsolete/unused?

thank you.

share|improve this question

migrated from Dec 20 '12 at 1:08

This question came from our site for professional and enthusiast programmers.

Uninstall all and install the latest? – Khan Dec 19 '12 at 21:02
Why? (out of curiosity) – Nick Vaccaro Dec 19 '12 at 21:10
This requires a pragmatic approach. You can tell by uninstalling it. If that doesn't make an app you use crash and burn then you didn't need it. You fix it by putting it back. – Hans Passant Dec 19 '12 at 22:35
Your first reply has been removed by a moderator. This is not a discussion forum, so answers to a question should be just that: answers. To associate the question with your account to be able to edit it or comment on answers, register on this site with the same Open ID/Account as on Stack Overflow. – Daniel Beck Dec 20 '12 at 21:19

I suspect you won't find such a tool, but others may prove me wrong. I do think it helps if you realize that there are actually 2 major version into use right now, and that it's safest to keep them both: .NET 2 Framework and .NET 4 Framework.

There are still a lot of applications using the older 2 version that do not necessarily run wel on 4. So while you may uninstall it, you might find yourself reinstalling it again when you encounter such an application.

On top of that, I think it's also pretty safe to assume that 1 is largely deprecated and very likely to be unused. Only if you have legacy software from 10 years back, you'll need this one.

Furthermore: 3.0 and 3.5 are just enhancements on 2.0. So as long as you keep 2.0, there's no point in getting rid of these. Otoh, if you loose 2.0, you'll loose these too.

And to conclude: I have no experience with 4.5, but from what I read, it's an in-replace update of 4.0. So either you have 4.0 or you have 4.5.

share|improve this answer
Just to clarify what Grimace was saying to cover all .NET apps all you need installed is the most recent version of 3.5 (currently SP1) and you need the most recent version of the 4.x line your computer can support, 4.5 is not supported on XP (it requires Vista or newer) so the newest version you can get at the time of this writing is 4.0. – Scott Chamberlain Dec 20 '12 at 15:36

You must log in to answer this question.