Joni_78 Posted December 7, 2012 Share Posted December 7, 2012 If I've made a simple app with VS2012, net framework 4.5, should i require W7 users in installer to download v4.5 or does that app work with 3.5? Link to comment Share on other sites More sharing options...
0 Andre S. Veteran Posted December 7, 2012 Veteran Share Posted December 7, 2012 The target framework has to be installed on any machine you want to application to run on. If the app targets .NET 4.5, .NET 4.5 has to be installed for the app to run. Link to comment Share on other sites More sharing options...
0 Joni_78 Posted December 7, 2012 Author Share Posted December 7, 2012 Thanks Link to comment Share on other sites More sharing options...
0 DDStriker Posted December 7, 2012 Share Posted December 7, 2012 (edited) If I've made a simple app with VS2012, net framework 4.5, should i require W7 users in installer to download v4.5 or does that app work with 3.5? You should be able to set vs2012 to use .net 3.5 Link to comment Share on other sites More sharing options...
0 ajua Posted December 16, 2012 Share Posted December 16, 2012 If your application is not making use any of the features of the latest .NET Frameworks, compile it against 3.5. This way you don't have to worry about your users having installed 4.0 or 4.5, specially if your app doesn't need them. Link to comment Share on other sites More sharing options...
0 libertas83 Posted December 16, 2012 Share Posted December 16, 2012 In the end, you should program in whichever .NET version you want to use. As long as you handle the installer properly, it won't matter if they have .NET Framework 4.5 installed or not because your installer should handle it. I would recommend staying with 4.5 because you have a much more complete API with features that you can use with tons of improvements you can use, including security improvements. For your installer, it should detect if the version required is there and if not, install it. For .NET Framework 4+ you can have the Client Profile installed which is a smaller version of the Framework to make it easier for end user installs. Microsoft should have plenty of documentation on how best to handle it. Link to comment Share on other sites More sharing options...
Question
Joni_78
If I've made a simple app with VS2012, net framework 4.5, should i require W7 users in installer to download v4.5 or does that app work with 3.5?
Link to comment
Share on other sites
5 answers to this question
Recommended Posts