Visual Studio



Hi,
when you are developing your applications using VS 2010 and unfortunately your TFS server became unreachable, your Visual Studio 2010 stuck!
Since you are unable to tell to VS that your TFS is unreachable you should waiting for VS until it detects that is unable to connect to TFS… This is really annoying and this makes you wasting your precious time…

Bernhard Tschirren has developed a VS addon for adding the Go Off Line button into VS Source Control Menu! Using this button befor opening your your .sln you can avoid the VS stuck even if your TFS is offline ūüôā

Here you are the GoOffline VS Ads link (for installing just double click it after downloading): Click Here

Happy coding and stay tuned!
Marzio.


Hi guys,
few days after using Visual Studio 2008 on Windows 7, it happens that Visual Studio losts XAML intellisense functionality, making my coding very annoying.
The issue is well known in Microsoft Community, even if the cause is not so clear in my opinion: http://social.msdn.microsoft.com/forums/en-US/windowssdk/thread/dd6f14ed-e582-4b49-9358-64f2afaec151/


The faster fix consists in manually registering the TextMgrP.dll:

On an X86 machine:

  1. Open a Windows CMD window as an Administrator (On Vista: Start, All Programs, Accessories, right-click on command prompt and  choose to Run as Administrator)
  2. Type:¬†regsvr32 “%CommonProgramFiles%\Microsoft Shared\MSEnv\TextMgrP.dll”

On an X64 machine:

  1. Open a Windows CMD window as an Administrator (On Vista: Start, All Programs, Accessories, right-click on command prompt and  choose to Run as Administrator)
  2. Type:¬†regsvr32 “%CommonProgramFiles(X86)%\Microsoft Shared\MSEnv\TextMgrP.dll”

After that don’t forget to close all opened Visual Studio and launch them again ūüôā


The described procedure solved my problem.

Stay tuned,
Marzio.


Hi guys,

are you unable to run the Visual Studio 2008 setup after installing it?
Well,  in case you encountered the error reported in the below picture, you just need to install the VS2008 SP1 patch available here in order to fix the problem.

VS 2008 - A problem has been encountered while loading the setup components.

VS 2008 - A problem has been encountered while loading the setup components.

The problem is documented by Microsoft here.


Hi,
I have the pleasure to let you know two interesting Microsoft Visual Studio 2010 ScreenCasts taken from channel9 msdn. These videos are focused on the two of the mains VS2010 improvements: the Historical Debugger and the Test Planning using Camano. Take a look to my previous post if you want more information and screenshots of VS2010.

The Historical Debugger is a new VS2010 facility for allowing the developers to go back in the stack after an exception has been accurred in the application. Of course, this functionality was also present in VS2008 but the improvement provided by Historical Debugger is that it is able to record everything the application done, including all the events handled and a simple double click, on every recorded thing, results in open the source code allowing the developers to see the values of all variabiles back in the time!

The Camano is a Test Suite Application included in Visual Studio 2010 Team Edition that help developers more easily reproducing bugs by delivering snapshots of those virtualized environments after bugs are discovered! This is a very powerful functionality for increasing the collaboration between developers and testers. The devolper can go back in the environment before the bug was descoverd and then he can easily reproduce the bug.


Hi guys,
today I want to give you some information about the Microsoft Visual Studio 20010 (code-name “Rosario”) and .NET 4.0. The first pre-release for the Community Technology Preview (CTP) was released on 31 october 2008. The mains news introduced in this version are:

  • full UML support for improving communication between Architects and Developers
  • build improvements for avoiding ‘broken builds’ and increasing the build realibilty
  • coder UI Tester for recording the right UI behaviours and automatically generates code for testing it
  • hystorical debuger for decreasing the effort spent during debug sessions
  • tester activity center for avoiding the famouse “it works on my machine”

You can also visit the VS2010 Web Site for more information.

UML Support

Microsoft Visual Studio 20010 provides fully UML support. This functionality can be used for increasing the communications between developers and architects and avoiding miss-understanding.
How many times developers say to theirs project leader:¬† “hey, we implemented this behaviour in this manner as we decided… so don’t tell me I make wrong implementation!” ?
So, thanks to support of: use cases, sequence diagrams, activity diagrams, logical class diagrams and component diagrams every miss-understanding can be reduced.
The UML is support both for modelling entities and then generating the relevant code and both for generating UML diagrams from the code itself!

VS2010 - Component diagram

VS2010 - Component diagram

VS20010 - Sequence Diagram

VS20010 - Sequence Diagram

Build Improvements

Microsoft Visual Studio 2010 uses the Workflow Foundation for improving the build process: all the MSBuild operations can be defined in a visual way with the ‘activities’ more understandable to human, avoiding put your hands directly on xml files.
Two more builds system are available: Gated Check-in and ShelveSet Check-in. The Gated Check-in ensures to a single developer that everythinghe done¬† is ok before performing the check-in. The ShelveSet Check-in is quite similar, but in a global way, a new ShelveSet containing all the developers check-ins is created and ensured to not ‘broken the build’ after performing the real check-in.

VS2010 - Build System

VS2010 - Build System

Coder UI Tester

The idea is to record what we are doing over an user interface and describing the right UI behaviours. For example you can record a push button action than you can put the behavioud: “Clicking the following button results in enabling this checkbox”. So recording an action and describing the correct result the VS2010 automatically generates a code for testing your applciation!

VS2010 - Coder UI Tester

VS2010 - Coder UI Tester

Hystorical Debugger

How many times a poor developer said: “Ouch! The value of this variable is changed right now but… what is the prevoius value? I have to debug it again!”. With VS2010 the effort spent in debug is decreasing thanks for the hystorical debug! Every time a method is executed it is registered on the stack, and double clicking on it you can view all the prevoius values of locals variables. Here you are a screenshot:

VS2010 - Hystorical Debug

VS2010 - Hystorical Debug

Tester Activity Center

For increasing the communication between testers and developers, Microsoft Visual Studio 2010 introduced a new¬† application for managing the test cases and logging in a developer friendly way the results. This avoid the well know phrases usually said from developers such as: “It works on my machine!” or “I do the same thing the tester said but I have different result!”. This more cooperative information provided in testing phase by this tool are:¬† Action Log,¬† Event Log, System Information, Debug Information and Video Recorder too!
This tool also provides reports.

VS2010 - Testing Tool

VS2010 - Testing Tool

VS2010 - Tester Video Record

VS2010 - Tester Video Record

VS2010 - Tester Report

VS2010 - Tester Report