Warn user of .NET Framework requirements
        Posted  
        
            by moogs
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by moogs
        
        
        
        Published on 2010-03-26T10:46:54Z
        Indexed on 
            2010/03/26
            13:13 UTC
        
        
        Read the original article
        Hit count: 268
        
So I have an app (tool) that uses .NET 3.0. When run on a machine that only has .NET 2.0 (like the default Server 2008 R2 install) it crashes miserably.
What I've seen so far is that people are using a shunt that will first check the .NET version. Is there a way to build it or add some manifest somehow so that the user is warned of this problem (and hopefully be prompted to install .NET)?
I know this can be solved by an installer, but I have requirements that need it to be a standalone executable.
© Stack Overflow or respective owner