Click here to Skip to main content
15,917,645 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I have a task to convert project having framework 1.0 to framework 4.0 i,e VS2010. So I simply opened the project in VS2010 and through conversion wizard it gets automatically converted to VS2010. Also I have set Target framework 4.0 and my project is running in VS2010 with out any errors.

Now my concern is that Project gets really converted into VS2010 or it still supports framework 1.0 because in .net1.0 datagrid is used and in 4.0 datagridview is used. I know it is having backward compatibility but would like to know how to confirm that its been converted into VS2010.

Waiting for your suggestions.

Thanks in advance.

Right click the project and select properties. You will see various tabs. In 'Application' tab, your application 'Target Framework' will be set. Whatever is configured there, is the current configured framework. As such, backward compatibility is supported so it should work as is. Your references to assemblies to correct version would be present in Web.Config file.

Last but not the least, Run the application and unit test to see if things are working fine.
Share this answer
Mehdi Gholam 28-Aug-12 2:25am    
Manas Bhardwaj 28-Aug-12 8:36am    
If your project compiles and works without errors on .net 4 then you can be sure that it is using all the libraries of .net 4.

To be sure create a virtual machine and only install .net4 on it and run your application.

To "really" use .net 4 features you would probably have to do a lot of redesign and refactoring for new features like generics, linq ,... which are not in .net1.0 (not advised because "if it ain't broke, don't fix it") .
Share this answer
Manas Bhardwaj 28-Aug-12 8:36am    
Mehdi Gholam 28-Aug-12 9:43am    
Thanks Manas!

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

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900