Click here to Skip to main content
15,868,141 members
Please Sign up or sign in to vote.
4.00/5 (2 votes)
How to programmatically convert a VS 2010 project to VS 2008 project?
if not programmatically how to do it manually (Prefered if done programmatically).
Thanks In advance and sorry as i don't have any knowledge about converting so i cannot post the code.
Posted
Updated 17-Jan-14 22:56pm
v2

 
Share this answer
 
Comments
agent_kruger 18-Jan-14 5:14am    
sir you are awesome but i would like to know can i do it programitically?
Karthik_Mahalingam 18-Jan-14 5:18am    
thanks,
but one question.. why u want to do pragmatically ??
as you not going to do anything with the solution file.
u can do a one time update, manually only ....
Karthik_Mahalingam 18-Jan-14 5:19am    
Richard Solution is straight forward approach.
you can try that too...
You don't need to convert anything. The only problem is that the solution and project files created by VS2010 are probably incompatible with VS2008. The easiest way is

  1. Create a new empty project in VS2008
  2. Copy all the source files into the new project's directory
  3. In VS add the files into the project
  4. Build the project and fix any errors
 
Share this answer
 
Comments
agent_kruger 18-Jan-14 5:17am    
sir that was answered by "Mr. Kartik Banglore". Now, i would like to know how to do that programitically
Richard MacCutchan 18-Jan-14 5:25am    
Ignore my previous comment. Follow KARTHIK Bangalore's suggestion, all you need to do is to write a program to edit the files as described in the Tip.
Karthik_Mahalingam 18-Jan-14 5:19am    
5!
Richard MacCutchan 18-Jan-14 5:23am    
Thank you, but your solution looks easier.
Karthik_Mahalingam 18-Jan-14 5:26am    
yes, if my solution doesn't work, let him try with yours...
he has got two options :)

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