Is the .NET Framework installed on this machine?

Guy Vider at The Code Project has some code that detects whether .NET is available on the clients machine or not.

Last Updated: May 25th, 2007 • MVC •

If you build client applications that require the .NET framework, you do realize that you can't install your awesome, brand new .NET application that cleans dishes, sweeps the floors, and streams music through your kitchen because they don't have the .NET Framework on their machine.

How can you detect whether they have the .NET Framework on their machine when your code is written in .NET?

Guy Vider has come up with a way to use a different language to detect whether the .NET framework was installed on a client's machine or not. Apply this technique to your build process and you should be on your way to a flawless installation on a clean machine.

Great technique for developers who deploy professional .NET applications.

Did you like this content? Show your support by buying me a coffee.

Buy me a coffee  Buy me a coffee
Picture of Jonathan Danylko

Jonathan Danylko is a freelance web architect and avid programmer who has been programming for over 20 years. He has developed various systems in numerous industries including e-commerce, biotechnology, real estate, health, insurance, and utility companies.

When asked what he likes to do in his spare time, he replies, "Programming."

comments powered by Disqus