Is the .NET Framework installed on this machine?

Friday, May 25, 2007 9:00 AM

Posted by Jonathan Danylko | Tag: .NET | Comments: 0 | View blog reactions

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

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.

Technorati Tags: , , ,

RSS LogoLike this article? Link to the RSS feeds to always get the latest posts.
What is RSS?

Related Articles:


Chatterbox - 0 Comments

 

Posting anonymous comments requires approval
and will not appear immediately.

Please Register or Login to post a comment.

 Post a Comment