Sign in to follow this  
Followers 0

.NET Framework 4.5 stupid question

6 posts in this topic

Posted

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?

Share this post


Link to post
Share on other sites

Posted

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.

Share this post


Link to post
Share on other sites

Posted

Thanks

Share this post


Link to post
Share on other sites

Posted (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

Edited by DDStriker

Share this post


Link to post
Share on other sites

Posted

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.

Share this post


Link to post
Share on other sites

Posted

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.