Archive

Archive for the ‘command prompt’ Category

How to detect installed CLR versions and how they are used…

June 2nd, 2009 2 comments

It has been a while since I posted anything on my blog. Sorry for keeping you on hold How to detect installed CLR versions and how they are used... icon wink ! I think the blog will be filled with some information shortly, since I am still overthinking all the great stuff I saw on Tech-Ed North America a couple of weeks ago (first I had to overcome the jetlag, then the weather in The Netherlands, etc. etc. How to detect installed CLR versions and how they are used... icon smile ). Enough nonsense for now!

While attending a session by Scott Hanselman on everything new in .NET 4.0 he showed a wonderful small tip, not only useful for the few of us already working on Visual Studio 2010: when working in the VS.NET Command Prompt, there is a small but useful command called ‘CLRVER’. It shows all .NET versions installed on your computer. Also, as an addition to this command, you can show active runtime processes using the -all switch. Nice piece of code! Enjoy!