[# VS11] May I work on the same project with Visual Studio 2010 and Visual Studio 11?


image

Buenas,

First we go with the answer to the question:

If. It is possible to work on the same project with Visual Studio 2010 and Visual Studio 11 .

Now a little it more than details based on the experience of the past half year. With the arrival of Visual Studio 11, again we see in the manual "project compatibility" between projects in Visual Studio 2010 andVisual Studio 11. This story we know it from VS2005, VS2008 and VS2010; and we know that it is not so simple.

When you migraba a VS2010 project updated the project (.csproj) file and if you worked with Crystal Reports reports, or setup projects, because usually you have one or more problems that can easily live VS2005 and VS2010.

Visual Studio 11 takes a different approach and promises to not change the project files. But taking into account several changes we have in Visual Studio 11, better to see scenarios supports.

For example, I’ve created a solution with 17 projects representative of what it found almost "out of the box" in Visual Studio 2010. Since ASP projects.NET MVC 2 until Office extensions. I have included, only by way of example a project for Windows Phone, although I know that Visual Studio 11 not open it.

image

However, when we opened this solution with Visual Studio 11, the first thing we see is that the Visual Studio Installer project type is deprecated. This is not new, because we knew for some time, but to take this into account.

image

Another error, but this time configuration:

image

There is a little touch the innards of Visual Studio 11 to make it work with an earlier version of SQL Express.

But after a second migration we have ready the project in Visual Studio 11

image

Now, if you were working with ASP projects.NET MVC 2.0, you won’t other than update you to the latest version. ASP projects.NET MVC 2.0 not support and kindly suggest you that you upgrade them to version ASP.NET MVC 3 .

ASPNETMVC2WEBAPPLICATION1_NET4\ASPNETMVC2WEBAPPLICATION1_NET4. CSPROJ:THE PROJECT FILE ‘E:\SRCELBRUNO\TESTS\PROJECTCOMPATIBILITY\TESTFORVS11\ASPNETMVC2WEBAPPLICATION1_NET4\ASPNETMVC2WEBAPPLICATION1_NET4.CSPROJ’ CANNOT BE OPENED. THERE IS A MISSING INTERNET PROJECT. INTERNET: ‘{F85E285D-A4E0-4152-9332-AB1D724D3325}’ IS UNSUPPORTED BY THIS INSTALLATION.HTTP://GO.MICROSOFT.COM/FWLINK/?PRD=12395 & PVER = 11 & SBP = PROJECTTYPEDEPRECATED & PLCID = 0 × 409 & CLCID = 0 × 409 & AR = MSDN & SAR = PROJECTCOMPATIBILITY & O1 = {F85E285D-A4E0-4152-9332-AB1D724D3325 }}

Obviously, Windows Phone projects are not yet supported in Visual Studio 11 .

PhoneApp1_Net4\PhoneApp1_Net4. csproj:The project file ‘E:\srcElBruno\Tests\ProjectCompatibility\TestForVs11\PhoneApp1_Net4\PhoneApp1_Net4.csproj’ cannot be opened. There is a missing Internet project. Internet: ‘{C089C8C0-30E0-4E22-80C0-CE093F111A43}’ is unsupported by this installation. http://go.microsoft.com/fwlink/?prd=12395 & pver = 11 & sbp = ProjectTypeDeprecated & plcid = 0 × 409 & clcid = 0 × 409 & ar = MSDN & sar = ProjectCompatibility & o1 = {C089C8C0-30E0-4E22-80C0-CE093F111A43 }}

Now, the Solution Explorer panel us makes clear, what types of projects are supported, which could not be loaded and which are incompatible.

image

If we try to compile the project, we will see that the same compiled correctly. But now comes the litmus test:

You can Visual Studio 2010 open the new solution and compile the modified projects?

And the answer is…. NOT! The first thing we see is the conversion wizard and perversely did so to the project of ASP.NET MVC 2.

image

The question at this time, dear reader, is to how demons amending this file if the Visual Studio 11 crack has told me that it can not load?. Therefore if, modify and much to the csproj file, and it is for this reason that at this point Visual Studio 2010 understands that you need to update it.

So if you update it with VS2010, so there is no more problems, unless you want to work in mixed-mode on your computer with VS2010 and VS11.

So the endpoints to be taken into account are as follows:

  • Until today Visual Studio 11 cannot be used to develop for Windows Phone.
  • With developments for AZURE, Visual Studio 11 does not yet support a clean upgrade from VS2010, but that is grounds for a full post
  • There is no support for projects of Visual Studio Installer in VS11
  • Be careful with ASP projects.NET MVC 2.0 if you think working with Visual Studio 11

The good thing about all this garden is then really work "side by side" between both Visual Studios without complications, something that before from VS2005 to VS2010 for example wasn’t so easy.

 

Saludos @ Home

El Bruno

image image image

[#VS11] Puedo trabajar en un mismo proyecto con Visual Studio 2010 y Visual Studio 11?


image

Buenas,

en primer lugar vamos con la respuesta a la pregunta:

SI. Es posible trabajar en un mismo proyecto con Visual Studio 2010 y Visual Studio 11.

Ahora un poco más de detalles basados en la experiencia de este último medio año. Con la llegada de Visual Studio 11, de nuevo vemos en el manual que hay “project compatibility” entre proyectos de Visual Studio 2010 y Visual Studio 11. A esta historia la conocemos de VS2005, VS2008 y VS2010; y sabemos que no es tan simple.

Cuando se migraba un proyecto a VS2010 se actualizaba el archivo de proyecto (.csproj) y si trabajabas con informes de Crystal Reports, o proyectos de setup, pues por lo general tenías uno o más problemas para que puedan convivir fácilmente VS2005 y VS2010.

Visual Studio 11 toma un enfoque diferente y promete no cambiar los archivos de proyecto. Pero teniendo en cuenta varios cambios que tenemos en Visual Studio 11, más vale que veamos que escenarios soporta.

Por ejemplo, he creado una solución con 17 proyectos representativos de lo que encontramos casi “out of the box” en Visual Studio 2010. Desde proyectos de ASP.Net MVC 2 hasta extensiones de Office. He incluido, solo a modo de ejemplo un proyecto para Windows Phone, aunque sé que Visual Studio 11 no lo abrirá.

image

Ahora bien, cuando abrimos esta solución con Visual Studio 11, lo primero que vemos es que el tipo de proyecto de Visual Studio Installer está deprecado. Esto no es novedad, ya que lo sabíamos desde hace un tiempo, pero a tenerlo en cuenta.

image

Otro error, pero esta de vez de configuración:

image

Hay que tocar un poco las tripas de Visual Studio 11 para que funcione con una versión anterior de SQL Express.

Pero después de un segundo de migración ya tenemos listo el proyecto en Visual Studio 11

image

Ahora bien, si estabas trabajando con proyectos de ASP.Net MVC 2.0, no te quedará otra más que actualizarte a la ultima versión. Los proyectos de ASP.Net MVC 2.0 no se soportar y te sugieren amablemente que los actualices a la versión ASP.Net MVC 3.

AspNetMvc2WebApplication1_Net4\AspNetMvc2WebApplication1_Net4.csproj: The project file ‘E:\srcElBruno\Tests\ProjectCompatibility\TestForVs11\AspNetMvc2WebApplication1_Net4\AspNetMvc2WebApplication1_Net4.csproj’ cannot be opened. There is a missing project subtype. Subtype: ‘{F85E285D-A4E0-4152-9332-AB1D724D3325}’ is unsupported by this installation. http://go.microsoft.com/fwlink/?prd=12395&pver=11&sbp=ProjectTypeDeprecated&plcid=0×409&clcid=0×409&ar=MSDN&sar=ProjectCompatibility&o1={F85E285D-A4E0-4152-9332-AB1D724D3325}

Obviamente, los proyectos de Windows Phone no están soportados todavía en Visual Studio 11.

PhoneApp1_Net4\PhoneApp1_Net4.csproj: The project file ‘E:\srcElBruno\Tests\ProjectCompatibility\TestForVs11\PhoneApp1_Net4\PhoneApp1_Net4.csproj’ cannot be opened. There is a missing project subtype. Subtype: ‘{C089C8C0-30E0-4E22-80C0-CE093F111A43}’ is unsupported by this installation. http://go.microsoft.com/fwlink/?prd=12395&pver=11&sbp=ProjectTypeDeprecated&plcid=0×409&clcid=0×409&ar=MSDN&sar=ProjectCompatibility&o1={C089C8C0-30E0-4E22-80C0-CE093F111A43}

Ahora bien, el panel del Solution Explorer nos deja muy en claro, qué tipos de proyectos están soportados, cuales no se pudieron cargar y cuales son incompatibles.

image

Si intentamos compilar los proyectos, veremos que los mismos compilan correctamente. Pero ahora viene la prueba de fuego:

¿podrá Visual Studio 2010 abrir la nueva solución y compilar los proyectos modificados?

Y la respuesta es …. NO !!! Lo primero que vemos es el asistente para conversiones y curiosamente apunta al proyecto de ASP.Net MVC 2.

image

La pregunta en este momento, estimado lector, es ¿cómo demonios se modifica este archivo si el crack de Visual Studio 11 me ha dicho que no lo puede cargar?. Pues si, lo modifica y mucho al archivo csproj, y es por esto que en este punto Visual Studio 2010 entiende que tiene que actualizarlo.

Así que si lo actualizas con VS2010, pues ya no hay más problemas, salvo que quieras trabajar en modo mixto en tu equipo con VS2010 y VS11.

Así que los puntos finales a tener en cuenta son los siguientes:

  • Hasta el día de hoy Visual Studio 11 no se puede utilizar para desarrollar para Windows Phone.
  • Con desarrollos para AZURE, Visual Studio 11 todavía no soporta un upgrade limpio desde VS2010, pero ese es motivo de un post completo
  • No hay soporte para proyectos de Visual Studio Installer en VS11
  • Cuidado con los proyectos de ASP.Net MVC 2.0 si piensas trabajar con Visual Studio 11

Lo bueno de todo este jardín, es que luego realmente el trabajo es “side by side” entre ambos Visual Studios sin complicaciones, algo que antes entre VS2005 y VS2010 por ejemplo no era tan fácil.

Saludos @ Home

El Bruno

image image image

[#VS11] CodeMaid: Excellent extension with the 3 things that you always need


image

Buenas,

those who know me know that I am a staunch enemy of the mouse. Eye! This does not mean that he is a friend of the touch, but rather than attempt to always work with keyboard shortcuts.

So was that a couple of days ago I installed an extension in Visual Studio called CodeMaid, but it wasn’t until yesterday that I had the opportunity to use it. In fact, one of the keyboard shortcuts for keyboard "stepped" with another that I use and there I realized that had the installed extension.

I’ve been 2 days and the truth is that CodeMaid, I like. I like it because it is free, because it is open source, because it points to simple but effective things and because it works on the latest 4 updates for Visual Studio.

image

For example, has struck me how well it works the "Cleanup" option. This action is responsible for "clean" our code looking for details as

  • unused using statements
  • removes unnecessary whitespace
  • delete consecutive blank lines
  • etc.

So I’ve implemented a couple of files that I knew that they had room for improvement, and it has done really well.

Another option that I like is "Reorganize" a class. This option reorganizes the code of a class based on the specifications of StyleCop. If we then execute the analysis of StyleCop, we will see that it takes us much work above.

Note: recalls that in Avanade Spain , is highly probable that you touch pass a review with StyleCop as mandatory for the coding style rule.

Finally, an action which I think is great. The ability to switch between related files. As usual we usually do when edit WPF between the XAML and the XAML.cs

image

As well, only emphasize those 3 things although I know has more. CodeMaid has been worth for 2 days of work.

Meanwhile, I shall return to activate ReSharper and will work with it that gives me the same options Sonrisa and know him much better.

Download: http://www.codemaid.net/

 

Saludos @ Home

El Bruno

image image image

[# VS2010] HowTo: Debug two projects at the same time with Visual Studio (the easy way!)


image

Good,

today I leave a tip of the simple but useful for all those who have to debug 2 processes at the same time with Visual Studio. Many times I have seen that the developers launched a project in DEBUG mode from the IDE and then with attached to the other process to have control over it.

If both processes belong to a same solution, it is possible to configure it so that when you start a compilation and execution (the lifetime F5) launching several projects. To do this, we deploy the properties of the solution, select the option [Multiple startup projects] and… ready Risa

image

Greetings @ Here

The Bruno

[#VS2010] HowTo: Depurar 2 proyectos a la vez con Visual Studio (the easy way!)


image

Buenas,

hoy dejo un tip de los simples pero útiles para todos aquellos que tienen que depurar 2 procesos al mismo tiempo con Visual Studio. Muchas veces he visto que los developers lanzamos un proyecto en modo DEBUG desde el IDE y luego con adjuntamos al otro proceso para tener control sobre el mismo.

Si ambos procesos pertenecen a una misma solución, es posible configurar la misma para que cuando se inicie una compilación y ejecución (el F5 de toda la vida) se lancen varios proyectos. Para esto, desplegamos las propiedades de la solución, seleccionamos la opción [Multiple startup projects] y … listo Risa

image

Saludos @ Here

El Bruno

   

[English] Visual Studio 2010 ALM


image47dd1de4

Team Foundation Server 2010

WorkItem Tracking

 

Source Control

 

Team Build

 

Reports

 

Testing

 

Collaboration

 

Client Object Model

 

Office

 

Team Web Access

 

Administration

 

Tools

 

TFS Integration

 

Visual Studio 2010

 

Visual Studio Gallery

 

Miscelanous

 

Greetings @ Here

El Bruno

[Spanish] Visual Studio 2010 ALM y Team Foundation Server 2010, 2008 y 2005


image47dd1de4

 

Team Foundation Server 2010

WorkItem Tracking

 

Source Control

 

Team Build

 

Reports

 

Testing

 

Collaboration

 

Client Object Model

 

Office

 

Team Web Access

 

Administración

 

Herramientas

 

TFS Integration

 

Visual Studio 2010

 

Visual Studio Gallery

 

Varios

 

Team Foundation Server 2008 y 2005

How To

Herramientas

Team System Web Access

TFS Errors

TFS Build

TFS WareHouse e Informes

Metodologías y Process Templates

Administración y mantenimiento

Varios

 

Saludos @ Here

El Bruno

   

[TEAMBUILD2010] Recopilación de enlaces sobre Team Build 2010


image47dd1de4

Buenas,

simple y rápido para no olvidarme, los links que he ido poniendo sobre Team Build 2010.

Saludos @ Home

El Bruno