How to check the compatibility between my program and the .net framework versions?
        Posted  
        
            by Jack
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Jack
        
        
        
        Published on 2010-04-26T13:17:18Z
        Indexed on 
            2010/04/26
            13:23 UTC
        
        
        Read the original article
        Hit count: 236
        
Hi all
I am writing a program which is targeted to run on .net framework 2.0.
I have chosen 2.0 in my VS project.
It runs fine on my machine (mine has 2.0 SP2), so there is no compile error. but when I tried to run it on another machine (only with 2.0, no sp), it cannot run. I am aware that I used some method which is supported by 2.0 but only with 2.0 SP2.
.net framework 2.0 SP2 seems not being listed in VS IDE, that's why VS cannot give me any warning when I compiled it on my machine.
How can I easily check the compatibility of my codes with .net framework 2.0 SP2? or I just have to look at msdn to check every method I have used???
thanks
© Stack Overflow or respective owner