c# - Compatible with both dotnet 3.5 and dotnet 4.0 -


originally set use .net3.5 compatibility win7. (actually using wpf)

however when comes users in win8 supports only .net4.0, required users download , install .net3.5, results in terrible user experience.

here comes question:

how make software compatible multiple .net versions?

actually tried use .net 2.0 software , goes both win7 , win8. when comes .net 3.5, backward compatibility seems awful. need features available in 3.5, or wpf.

i don't mind if have build multiple binary releases, provided auto-selection mechanism available.

p.s. i've found similar question @ make same app compatible net3.5 & 4.0@stackoverflow got no after reading it.

edit

i'm using both winform , wpf. i'm using wpf better looking ui, however, nutoriously know, webbrowser in wpf cannot render in wpf app. use winform webbrowser.

if you're making normal wpf desktop application, move target framework .net 4 , done it. .net 4 supported on windows 7 windows 8. if don't want have users download install .net 4, include in setup distribution.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -