Search This Blog

Wednesday, May 13, 2009

Convirtiendo un proyecto en Visual Studio 2010 hacia Visual Studio 2008

Mientras efectuaba pruebas con Visual Studio 2010 CTP decidi tomar aventurar en la creacion de un proyecto con Visual Studio 2010. Despues de invertir un poco de tiempo, logre desarollar el proyecto rapidamente haciendolo funcionar exactamente como lo deseaba. A pesar de este logro lo necesitaba realmente en Visual Studio 2008; por esta razon en lugar de nuevamente empezar de cero me encontre con la necesidad de investigar como convertir el proyecto hacia Visual Studio 2008. Claro esto es ademas de minimizar el tiempo invertido ter demasiado tiempo adicional al que ya habia invertido.

Recuerden que Visual Studio 2010 CTP aun esta en CTP y no ha sido finalizado oficialmente, no se sabe aun que cambios ocurriran. Sin embargo, por el momento estos son los pasos que funcionaron para mi.

· Abre el archive .sln que corresponde al proyecto a convertir con Notepad

· Localiza la siguiente linea: Microsoft Visual Studio Solution File, Format Version 11.00

· Reemplaza 11.00 con 10.00

· Localiza la siguiente linea: # Visual Studio 10

· Reemplaza 10 with 2008

· Guarda el Archivo

· Borra los archives con extension .cache en los siguientes subfolders:

o obj/debug

o obj/release

· Abre el proyecto con Visual Studio 2008

· Crea el proyecto con Visual Studio 2008

Thursday, May 7, 2009

Converting a Visual Studio 2010 Project to Visual Studio 2008

While testing the Visual Studio 2010 CTP went ahead and created a project, forgetting that the target version was in reality Visual Studio 2008. That said, since it was working just as it was required; found myself with the need to find a way to convert it backwards with as little re-work as possible.

Keep in mind that the Visual Studio 2010 CTP is still not the final release and things might change down the road, but for the moment the steps that worked for me are listed below.

· Open the .sln file corresponding to the Project to be converted with Notepad

· Locate the following line: Microsoft Visual Studio Solution File, Format Version 11.00

· Replace 11.00 with 10.00

· Locate the following line: # Visual Studio 10

· Replace 10 with 2008

· Save the File

· Delete the .cache files existing in the following paths:

o obj/debug

o obj/release

· Open the project with Visual Studio 2008

· Build the project with Visual Studio 2008