.net framework

I have a C# Windows Form Application and the target framework pointed to " .net framework 2.0". Now if I change the target framework to 4.0, does the user need to have .net framework 4 installed before they can run my app?

**** I didn't set the .net framework 4.0 as a prerequisite when I deploy the file with Click Once ****
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jacques Bourgeois (James Burger)PresidentCommented:
You target the framework version through the Application tab of the project's Properties Window (bottom of Project menu). Note that you won't be be able to do that with versions of Visual Studio that came before framework 4.

If you have an old version, look up the Community Edition on the MSDN web site. It's the equivalent of the Professional Edition but is free.

Yes, your users will need to have at least the version of the framework that you are targeting.
phman1275Author Commented:
I am using VS 2013 and the existing Application is still pointing to framework 2.0.
all .net frameworks are redistributable. whatever your application's frame work is will have to be installed on a users computer. being redistributable you can include the needed libraries in your own installation.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jacques Bourgeois (James Burger)PresidentCommented:
Many options such as the target framework and ClickOnce are not updated when you move from one version of Visual Studio to another.

For the version of the framework, you will have to do it manually yourself as I explained in my first answer.

This won't automatically update ClickOnce however, so you will also have to set in the Publish tab of the project's Properties window.

It should show in Visual Studio 2013.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.