Skip to main content

First Look At Visual Studio 2012


(You will love coding once again…)

Microsoft has released its latest version of Visual Studio 2012, evaluation copy can be freely downloaded from the microsoft site.

Visual Studio 2012 was earlier known as Visual Studio 11. Visual Studio 2012 has great features compares to Visual Studio,2010, look and feel has been changed drastically. Visual Studio icon is changed from to

Let start with the new functionalities introduced in Visual Studio 2012

Start Page
Visual Studio 2012  start page is very nicely designed,lots of new features such as "Quick Launch" ,"Search Work Items" , improved team explorer windows has been introduced.















Recent Project List

Though this was available in earlier version of Visual Studio, remove from the list option is not newly available, you can remove unwanted projects from the “Recent” list by selecting “Remove From List” option. (Right Click on project which you want to remove from the list, select “Remove From List” )

Even you can see the latest Visual Studio GUI in the following screen shot.













Visual Studio Dark Theme
I have seen so many developer, they don’t like default Visual Studio GUI color and they like to code using dark editor, most of them go to Tools→ Options and change default color and fonts.

 
But now you can do this by just changing Visual Experience. Select Tools →Options ,click on General from Environment section. You have option to select “Dark” or “Light”. This is really cool stuff. You can even download themes online.














Visual Studio Installation Engine Improvement
Visual Studio 2012 installation is become very user friendly as compared to previous version of Visual Studio. You can save almost 25 % of installation time and saves about 2.5 GB of the space. There is a lots of improvement in installation engine.























Other Features

Metro Style Application Development

This is the great feature, and only available for Window 8 operating system. To develop metro style application, you need to download and install the Windows 8 Release Preview Evaluation copy which is freely available on the Microsoft site. Once you install Window 8 Release Preview, install Visual Studio 2012 .

Select File →New → Project which will open “New Project” window. Select Visual C# or Visual Basic from the Template (my favorite is Visual C#) and go to Windows Metro style.

Here you have options to select what kind of Metro style applications you want to develop.

(Note: Metro style application is only available for .Net Framework 4.0 and .Net Framework 4.5)

 


Code Clone Detection


This is the new feature introduced in Visual Studio 2012, this helps you to find out similar codes in the project. Normally developers copy existing code from the project to develop new functionality, but with this “copy and paste” tendency, developers introduce lots of bugs.

For example, I have a code in project to fetches employee details and now there a new requirement where apart from employee details, employee department also need to be fetched. As a developer my tendency is to just copy and paste code which fetches employee details and make the changes appropriately to fetch department details. But here I may be introducing new kind of defects, such as mismatch in column names et.

Now as a developer, I want to find out which are all places I have cloned my code. Use close detection from Visual Studio 2012 RC.

In following code, I have copied “GetEmployeeName” code to get “GetEmployeeDepartment”.


















Select code snippet for which you want to find code clones, right click and select “Find Matching Clones in Solution”











You will get following result for the code clones. If you look at above example, though method name has been changed from “GetEmployeeName” to “GetEmployeeDepartment”  still it detects as code clone, indeed this is great feature of Visual Studio 2012.







Comments

Popular posts from this blog

Team Foundation Server

Team Foundation Server Being in a software industry and specially those who are closely working with Microsoft technology no need to explain what is Team Foundation Sever (TFS). Let me explain in brief what is Team Foundation Server (TFS) and the advantages associated. Team Foundation Server is a source control, project management tool, bug tracking tool, change management, build automation and so on … TFS has number of inbuilt functionalities if used in a proper way leads to a project success. TFS enables organizations to manage applications throughout the IT lifecycle. Source Control Most of the organization uses Visual Source Safe (VSS) as a source control, TFS is an advanced source control which allows user to manage work items in a systematic way, and e.g., TFS administrator can set a policy while performing check-in and check-out operations. Following screen shot shows the policy warning if it’s not been satisfied. TFS can be integrated with Visual Studio;...

Installing Visual Studio 2012 with Update 2 CTP4

  Brian Harry has announced release of Visual Studio 2012 Update 2 CTP4 , this release contains significant improvements compared with other 3 releases and this is the final CTP release.  This weekend I have decided to refresh my environment with this latest Visual Studio 2012 Update 2 CTP4 release. Before I start, let me give some details on what’s new in Visual Studio 2012 Update 2 CTP4. Backup and restore Power Tool Preserve Configuration on Upgrade Servicing in High Availability SQL Environments (SQL Always On) Customizable kanban columns Visual Studio Git Extension You can complete details of new features here , you can download Visual Studio 2012 Update CTP4 from here http://go.microsoft.com/fwlink/?LinkId=273878 . My development environment setup (Note :this is my personal development environment setup and does not guarantee security or other features ) Application Tier : Windows Server 2012 Data Center Build 9200 Build Controller And Agent : Windows Serve...

Visual Studio 2010 and Dot Net Framework 4.0

Visual Studio 2010 and Dot Net Framework 4.0 This is continuation of my series on Dot Net Framework 4.0, Dublin, Visual Studio 2010… On 29th Sep 2008 Microsoft announced release of Visual Studio 2010 and the Framework 4.0, the main aim behind release of these products is to target new trends such as cloud computing , SOA, application life cycle management etc. The Visual Studio Team System 2010 is code named as “ Rosaria ”, complete details about the product is not yet released by the Microsoft, we can expect lots of new information about Visual Studio 2010 and Dot Net Framework 4.0 in coming days. One of the cool features of Visual Studio 2010 is the support for cloud development with Windows Azur tool for Visual Studio 2010. Windows Azur is the new cloud service, Windows Azur allows developer with on demand compute and storage to host web application on the internet through Microsoft data center. (I will explain Windows Azur in my forthcoming blog). There are lots of changes compare...