Click here to Skip to main content
13,195,379 members (67,279 online)
Rate this:
Please Sign up or sign in to vote.
H guys,

I have a question, that how can we change the framework 2.0(V.S 2005) to framework 4.0(V.S 2010), is it possible? if yes, then how? whats the process available for that and if not, so what can i do to migrate it, either i will buy any software or tool for that or is there any solution for this kindly reply me as soon as possible.

Posted 27-Aug-12 6:13am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

If you open your project in VS2010, it will try to convert it and tell you of any issues. Usually it just works fine. If not, edit your code to fix it.
Meysam Tolouee 27-Aug-12 13:33pm
I've got a warning and 4 error when I want to build the solution after converting. I do not know what they means!

The warning is:
Use command line option '/keyfile' or appropriate project settings instead of 'AssemblyKeyFile'

and this is one of the errors:
Metadata file 'E:\My Document\Library\Controls\CodeProject\WindowsDateTimePicker\FarsiLibrary_src\out\FarsiLibrary.Resources\FarsiLibrary.Resources.dll' could not be found
Christian Graus 27-Aug-12 13:34pm
So the library is missing. Or it's incompatible ?
Meysam Tolouee 27-Aug-12 13:42pm
I checked and it was right there and also it was added to the project.
I do not know how make them compatible!
Christian Graus 27-Aug-12 13:44pm
It's a CP article, so convert/add the source code to your project and import it from there.
Meysam Tolouee 27-Aug-12 13:49pm
Yes, I have downloaded from CP, but it has written in .Net2 and my project is in .Net4. There is no newer version.
Christian Graus 27-Aug-12 16:13pm
So, convert it, too.
Meysam Tolouee 27-Aug-12 16:15pm
The problem starts since I converted that!
I am talking about that from start.
greatabby 27-Aug-12 16:42pm
is any tool available in the market that can convert .net 2.0 to .net 4.0?
Christian Graus 27-Aug-12 16:44pm
Visual studio does it, no other tool is needed. you just need to work out how to update this control.
greatabby 27-Aug-12 16:48pm
Well, i had read i think more than 15 forums now, i didn`t try it yet but it seems like every one is saying when you convert it through VS 2010 there would be some errors or library or some thing else. i just wanna ask what type of error would occur? and how can we solve it?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.171019.1 | Last Updated 27 Aug 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100