49
Imaginet Presents The Newest of the New with Visual Studio and TFS 2012 Dave McKinstry, ALM Practice Manager Imaginet and ALM: Efficiently Build Better Software

The Newest of the New with Visual Studio and TFS 2012

Embed Size (px)

DESCRIPTION

By itself, Visual Studio 2012 included many compelling new features not available in prior releases. But Microsoft hasn’t stopped. Since the production release in August 2012, Microsoft has continued to release more new capabilities. In this session we’ll walk through some of the latest and greatest enhancements that you can use in your Visual Studio and TFS 2012 environment.

Citation preview

Imaginet Presents

The Newest of the New with Visual Studio and TFS 2012

Dave McKinstry, ALM Practice Manager

Imaginet and ALM: Efficiently Build Better Software

Agenda

• The New Meaning of “New”

• The First “New” for 2012

• The Next “New”

• Other “New” things

• “New” Considerations

• Summary

The Old Definition of “New”

Visual Studio Version Product Release

Visual Studio April, 1995

Visual Studio 97 February, 1997

Visual Studio 6.0 June, 1998

Visual Studio .NET (2002) February, 2001

Visual Studio .NET 2003 April, 2003

Visual Studio 2005 November, 2005

Visual Studio 2008 November, 2007

Visual Studio 2010 April, 2010

Visual Studio 2012 September 2012

Microsoft has been releasing Visual Studio every two years on average

Existing ALM Capabilities in Visual Studio 2010

Define

•Requirements

•Validation

•Prioritization

•Release Plan

Develop

•Iteration Plan

•Develop

•Test

Operate

•Monitor

•Support

•Upgrade

New ALM Capabilities in Visual Studio 2012

Define

•Requirements

•Validation

•Prioritization

•Release Plan

Develop

•Iteration Plan

•Develop

•Test

Operate

•Monitor

•Support

•Upgrade

Microsoft’s Evolving Release Cadence

Visual StudioVisual

Studio 97Visual

Studio 6.0

Visual Studio .NET

(2002)

Visual Studio .NET

2003

Visual Studio 2005

Visual Studio 2008

Visual Studio 2010

Visual Studio 2012

~2 years

3 W

eeks

Broad adoptionof agile practices

Releases for TFS and Visual Studio

Releases for Team Foundation Service

Visual Studio Releases – Quarterly “New”

Visual Studio Version Product Release

Visual Studio April, 1995

Visual Studio 97 February, 1997

Visual Studio 6.0 June, 1998

Visual Studio .NET (2002) February, 2001

Visual Studio .NET 2003 April, 2003

Visual Studio 2005 November, 2005

Visual Studio 2008 November, 2007

Visual Studio 2010 April, 2010

Visual Studio 2012 September, 2012

Visual Studio 2012.1 December, 2012

Visual Studio 2012.2 Soon!

Visual Studio … Est. 2Q2013

Visual Studio … Est. 3Q2013

The o

ld “N

ew

”The n

ew

“New

Agenda

• The New Meaning of “New”

• The First “New” for 2012

• The Next “New”

• Other “New” things

• “New” Considerations

• Summary

Visual Studio 2012 Update 1

• Released November 26, 2012

• Affects both Visual Studio 2012 and TFS 2012

• Bug fixes

• Many new features!

• Usability improvements for Version Control• Associate multiple bugs with a checking at once in

the Add by ID field (i.e. comma separated)• Toolbar button to show/hide deleted items in the

source control explorer• Copy the name of a changeset/shelveset from the

Changeset/Shelveset Details page• Find a Shelveset by name from the Find

Shelvesets page• Include/exclude all items except those that are

selected• Know if my detected changes are adds or deletes

before clicking the link• Navigate to an item in source control explorer

from pending changes page• Undo changes to a file from the editor context

menu

• TFS web access usability improvements• Drag and drop queries and query folders• Drag/drop between User Stories and People in the

Taskboard• Drag a task to a person to assign it in the

Taskboard• Expand and Collapse the left navigation pane• Remember the state of the splitters• Animate Taskboard tiles on drop• Next/Previous arrows on WIT form• Updated navigation styling• Links and Attachments in WIT form shows counts

• Kanban support in TFS Web Access

• Sharepoint testing improvements• Load testing support for SharePoint• Unit test emulator for SharePoint• Coded UI test support for SharePoint• Intellitrace collection plan for SharePoint

• Manual testing improvements• Editing of test cases from inside the test runner• Code coverage support for manual testing of web

apps• Hierarchical query support• Pause manual testing session and later resume a

test case• Deep copy of a test plan to better support release

management• Publish test results to TFS from command-line

• Coded UI testing improvements• Cross browser testing for coded UI testing

(IE, Chrome, Firefox, …)• Usability improvements for Coded UI tests

• SCVMM 2012 SP1 support with Lab Management for Windows 2012 hosts

• VSUpdate support for Microsoft Test Manager for automatic update notification

• Extend TFS server side path limits from 260 characters to 400 characters

• Integrate Blend Windows Phone Tooling

• Code Map – Incremental discovery and visualization of your application architecture and dependencies

• IntelliTrace Integration with System Center

• Unit testing improvements• Windows Store C++ unit testing enhancements• Windows Store Unit Test library enhancements• Traits support for all adapters• Unit Test Grouping and Filtering in Test Explorer

Window

• Easier installation of unit test adapters on TFS build machines using Nuget

• Multiscale image support for manifest content• JavaScript Memory Profiling

• Mixed Managed/Native Debugging Support for Store Apps

• ARM Native Dump Debugging Support

• Enable XP targeting with C++

AND MORE…

Were any bugs fixed?

Entity Framework Tools

• Entity Framework designer may overwrite facets of C-Space properties based on facets of S-Space properties.

• Build the solution fails after you add an empty ADO.NET Entity Data Model.

• The .tt files stop generating after you nest an .edmx file under the project folder.

ASP.NET Editor

• HTML tag is not closed when you type a starting <script> tag in Visual Studio 2012.

• IntelliSense gives a warning when you mix user controls and controls in a same tagPrefix node.

• CSS code examples cannot work in .less files.

• Visual Studio 2012 cannot insert a closing tag in HTML files automatically.

Web Tools

• Web Platform and Tools (WPT) packages are affected by a time stamp signing issue.

• Dirty flag is displayed after you save a file in Visual Studio designer.

• Too much memory is used after you add a new entity model that is generated from a database.

• A local Internet Information Services (IIS) Express instance is displayed when you browse from a web page that is in a cloud service project.

• "Application/JavaScript" content of JavaScript files is not registered to Visual Studio 2012.

• Right-to-Left is not supported in JavaScript Windows Store app templates.

• Visual Studio 2012 does not support the WinJS Software Development Kit (SDK).

• Visual Studio 2012 crashes when you save a read-only manifest and then select Cancel to dismiss the dialog box.

Web Publish

• You cannot install the Web Deploy component when you set up Visual Studio 2012.

• Web Tools Extensions (WTE) website publish operation does an unnecessary precompilation.

Build Automation in TFS

• A Build Scheduling job fails two times in TFS.

• "TF50620: The Team Foundation identity scope A5BD927E-17AE-41F9-B8F3-34BE44653408 does not exist" error, and you cannot upgrade to Visual Studio 2012.1.

• Message queue settings are lost.

• You cannot scroll in web browsers for the summary and log views of build files in Team System Web Access (TSWA).

Cloud Intelligence and Admin in TFS

• Visual SourceSafe (VSS) installer compliance issues.

• Visual Studio 2012.1 milestone information in ReleaseManifest.xml.

• "Object doesn't support this property or method" error when you access the Team Profile page.

Collaboration in TFS

• PowerPoint Storyboarding stops working when you uninstall Visual Studio 2012.1.

Services Framework in TFS

• "An error occurred while executing the following script: upd_IdentitySnapshotToDev11M36.sql. Failed batch starts on the line 242. Statement line: 2." error when you attach a collection to a Visual Studio 2012.1 server.

• You cannot upgrade to Visual Studio 2012 if the database collation name contains "90" and this instance is hosted on Microsoft SQL Server 2012.

• Rebranded URLs (for example tfs.visualstudio.com) are not supported in the Visual Studio 2012 client.

• "Exception of type 'Microsoft.TeamFoundation.Framework.Server.HostShutdownException' was thrown" error when you try to delete a project of an offline collection.

• LocalScopeId value is not changed in tbl_GroupScope when you change the Server ID.

• You cannot detach and reattach a cloned collection database instance, and it

fails with an index violation.

• Decreased performance when you use the complex identity or group membership topography.

• Version Control in TFS

• Query plan in the prc_CheckIn process causes large memory estimates.

• "Cannot insert NULL value (QU1)" exception in the TFS 2012 service, and the VC++ UpdateLocalVersion command fails.

.NET Runtime

• "Code Analysis errors of the same type - CA2149 Transparent code must not reference security critical items" error when you create a new application by using the default "Windows Phone XAML and Direct3D" project template.

F#

• The sort algorithm of the FSharp.Core.dll assembly may produce incorrect results, and you cannot deploy the applications that contains F# code to Windows Store.

ClickOnce

• "Not a valid Win32 application" error when you try to use ClickOnce to deploy a Windows Presentation Foundation (WPF) application to Windows XP.

C++ Compiler

• Incorrect code is generated for bit field swap on the ARM compiler.

• Debug Interface Access (DIA) ARM stack unwinder displays empty stack when the CPU contains an invalid address.

• WinCE default entry point is _stdcall instead of _cdecl.

• The image base symbol name of WinCE is ImageBase instead of CeImageBase.

• Single VC++ file takes a long time to compile.

• No sign targets are called for the vcredist_x86, vcredist_x64, or vcredist_arm files.

Installation

• "Microsoft XP support for Visual Studio" error when you install the XP targeting package.

• C++ Editor

• You may lose the property sheet changes in Property Manager.

• "Exception 0xC0000005; SQLCEOLEDB40.DLL!unloaded" error when you run VC++ applications in Visual Studio 2012.

• "Exception 0xC0000005;MICROSOFT.VISUALSTUDIO.CPPSVC.INTERNAL.DLL!" error when you run VC++ applications in Visual Studio 2012.

• You encounter a deadlock between the Devenv.exe and VCPkgSrv.exe files.

• VC++ project system does not support transitive closure of SDKs.

Standard C++ Library

• Potential branding issue during installation.

• Application intermittently crashes when you create an async operation with Parallel Patterns Library (PPL).

C Runtime (CRT)

• Replace mempcy function for ARM CPU with a faster version from Windows.

• Visual Studio Fundamentals

• NetFx payloads are not the re-signed version in TFS and in team agents.

• Test professional and feedback client Stock Keeping Unit (SKU) are not included in the list of the Visual Studio 2012.1 bundle.

• The message on the Visual Studio 2012.1 "uninstall finished" page uses the information icon instead of the warning icon.

• ProjectReference and SKURef are not updated for the Visual Studio 2012.1 MSP with WDExpress core MSI file.

• Visual Studio 2012 does not contain the TFS_ServerCore.msi package.

• Threaded wait dialog title bar colors do not work well with a custom Microsoft Visual Studio 2010 color theme.

Visual Studio IDE

• Crash occurs when you try to close Visual Studio 2012.

• "Exception 0xC0000005; DEVENV.EXE!CDevEnvAppId::Run" error when you change the default installation path in Visual Studio 2012.

• Chrome does not automatically appear in the list of the Browse With dialog in Visual Studio 2012.

• You cannot start .VSIX setups after you install the July 2012 update in Visual

Studio 2012 RC.

• Localization

• Some IntelliSense texts are not translated.

ASP.NET Data

• Data Sources window is disabled after you build a project. Additionally, a "data sources are not supported by the current project" warning is displayed.

Code Analysis

• "MSBuild could not locate the Code Analysis tool" error when you run code analysis in Visual Studio Express 2012 for Windows Desktop.

Agile

• No feedback when you cannot create stubs or shims for an assembly by using the Fakes function.

My Work

• You encounter crash and data loss issues in the code review workflow.

• The work items that are under the selected area path do not show in the "Available Work Items" section of MyWork.

• The feature enablement infobar does not go away when you upgrade TFS 2010 to TFS 2012.

Debugger

• 764861: Visual Studio 2012 crashes when you try to debug a native x32-based application.(http://connect.microsoft.com/VisualStudio/feedback/details/764861)

• 760468: The remote endpoint is not reachable, and you cannot start or attach the debugger in Visual Studio 2012.(https://connect.microsoft.com/VisualStudio/feedback/details/760468)

• "Exception 0xC0000005;VSDEBUGENG.MANIMPL.DLL!" error when you debug an application in Visual Studio 2012.

• The application may crash or data corruption occurs when you debug optimized native ARM-based binaries.

• The brand name is incorrect in the remote debugger installer dialog window.

• "Exception rxoejih3rskjez4xxwpxudkcppwjodng; VSDEBUGPRESENTATIONPACKAGE.NI.DLL!" error when you debug an application in Visual Studio 2012.

• You cannot debug ARM-based VC++ applications for late-breaking Windows hardware changes.

• You cannot step in a dynamic SQL script file by using the debugger in Visual Studio 2012.

• You cannot uninstall the app package after you debug an installed app package.

• The Wait dialog box is not helpful when third-party networking software blocks local 64-bit debugging.

IntelliTrace

• "'Microsoft.VisualStudio.TraceLogPackage.TraceLogPackage, Microsoft.IntelliTrace.Package.11.0.0, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' package did not load correctly" error when you debug a new project in Visual Studio 2012.

Code Map

• Flag icons on Code Map are not updated.

T4

• You cannot debug the T4 template by using the Entity Framework templates.

Lab Manager

• You cannot create network isolation environments on Microsoft Windows 2008 R2 Service Pack 1 (SP1) hosts.

• You cannot create the TestEnvironment.xml file by using Build Verification Testing (BVT) scripts.

• LoadTestScenario case fails in the BVT rolling build.

• "Specified cast is not valid" exception when you try to stop recording for an editing task scenario.

• You cannot obtain VC++ runtime from Visual Studio 2012 remote store.

• Test-signing time is too long in Visual Studio 2012.

SharePoint Development Enhancements

• SharePoint improvements

– Unit test emulator

– Coded UI test support

– Web Performance test support

– Load test support

– IntelliTrace collection plan

SharePoint and Unit Testing[TestMethod]public void ScheduleAppointmentReturnsTrueWhenNewAppointmentIsCreated(){

using (new SharePointEmulationScope(EmulationMode.Enabled)){

//Arrange

SPSite site = new SPSite("http://localhost");string listName = String.Format("List{0}", Guid.NewGuid());

// create a new temporary listGuid listId = site.RootWeb.Lists.Add listName, listName, SPListTemplateType.GenericList);SPList list = site.RootWeb.Lists[listId];Assert.IsNotNull(list);

// add fields to listlist.Fields.Add("Name", SPFieldType.Text, true);list.Fields.Add("Date", SPFieldType.Text, false); list.Update();

// prepare string errorMsg = string.Empty; DateTime date = DateTime.Now; BookAnAppointmentWebPart webPart = new BookAnAppointmentWebPart();

// Act bool success = webPart.ScheduleAppointment(site.RootWeb, list.Title, "My Name",

"888-888-8888", "[email protected]", "23", date, out errorMsg);

// Assert Assert.IsTrue(success);

// cleanup list.Delete(); site.Dispose();

}}

SharePoint and IntelliTrace

Agile Enhancements

• Taskboard:

– Drag-n-drop assignmentof tasks to user stories

– Drag-n-drop assignmentof tasks to people

• Cumulative Flow diagram

• Initial Kanban board implementation

TFS Enhancements

• Team Web Access

– Navigation enhancements

• Persistence of the state of the splitters

• Styling improvements and Animations

• Previous/Next navigation on work items

• Removed backlog items are hidden from the backlog

– Displays links and attachment counts

– Drag-n-drop queries and query folders

– Expand / Collapse the left navigation pane

– Version control usability

• Version Control

– Support for server paths up to 400 characters

Window Development

• Windows Store Applications

– ARM Native Dump Debugging Support

– Mixed managed/native Windows Store Applications debug support

– Windows Store C++ unit testing

– Data-driven Windows Store application unit tests

– JavaScript Memory Analysis tool

• Windows C++ Development

– Target Windows XP from Visual Studio 2012

• Windows Phone 8

– Static Code Analysis

Windows Store Applications and JavaScript

Test Explorer Enhancements

Ability to easily filter tests

using “Traits”

• TestCategory attribute (implicit)

• Owner

• Priority

• Other TestProperties

Explicit using Search (e.g.,Priority:”1”)

Exploring Code using Code Maps

Manual Testing Enhancements

• Microsoft Test Manager (MTM)

– Image logs for Exploratory Testing

– Code coverage for manual testing against web apps

– Edit Test Cases during test execution

– Pause and resume test execution

– Test suite population using hierarchical queries

– Deep copy of test suites via command line

– Automatic MTM and Feedback client updates

• MTM Lab Center

– Lab Management support for Windows 8 environments(Requires SCVMM 2012 SP1 which enables Windows 2012 and Windows 8 lab management support.)

Exploratory Testing with Image Logs

Automation Testing Enhancements

• Coded UI Tests

– Cross Browser support via Selenium

– Enhanced HTML logging support

– SharePoint 2010 support

• Web Performance & Load Tests

– Load tests use LocalDB by default

Other Changes

• New Visual Studio start page videos

• Customized IntelliTrace collection plans

• System Center SP1 Management Pack for TFS Work Item integration

• System Center SP1 IntelliTrace collection

• Improvements for loading symbols and source

• Shut down MSBuild processes when Visual Studio shuts down

IntelliTrace and System Center

DEMONSTRATION

Update 1:Select New Features

• Code Map

• Coded UI Tests

Agenda

• The New Meaning of “New”

• The First “New” for 2012

• The Next “New”

• Other “New” things

• “New” Considerations

• Summary

Visual Studio and TFS Update 2

• Four community technology preview (CTP) releases since the beginning of the year

• Current release is Update 2 CTP 4

• CTP 4 has a “Go-Live” license

• Like it’s predecessor, numerous fixes and enhancements!

• Final release isn’t available so specifics may change.

Team Web Access Enhancements

• Work Item Tagging

• Send Work Items via Email

• Test Hub in Web Access

• Version Control experience

Automated Testing and Unit Testing

• Microsoft Fakes move to Visual Studio Premium edition

• Test Explorer

– Group unit tests by class

– Playlists

• Unit Testing support for Windows Phone apps

• Windows store app testing

– [UITestMethod] cause a unit test to run on the UI thread

• Coded UI Tests

– Improved cross browser– Extended “Title smart match” injects JavaSciprt for difficult to automated test steps

SharePoint Enhancements

• Further SharePoint Load Testing improvements

– Additional support for InfoPath, Excel services, Office Web Companions, workflows, etc.

• SharePoint 2013 support

– Coded UI Tests

– Unit Tests

– Web Performance Tests

– Load Tests

– IntelliTrace

Visual Studio 2012 Update 2 Enhancements

• Visual Studio Blue Theme

• XAML designer performance improvements (load)

• Command-line Build/Deploy for Windows phone apps

• New Team Explorer “Connect” page

• Profiler events timeline for Windows store HTML/JS

• Blend returns, including support for WPF, Silverlight and SketchFlow

• Code Map integration with the debugger

• LightSwitch support for HTML 5

Blend for Visual Studio 2012

Code Map / Debugger Interactions

DEMONSTRATION

Update 2:Select New Features

• Team Web Access– Kanban Board– Tags– Code– Test– Email

• Test Explorer

• LightSwitch (template)

Agenda

• The New Meaning of “New”

• The First “New” for 2012

• The Next “New”

• Other “New” things

• “New” Considerations

• Summary

Beyond the Updates

• Visual Studio Gallery (a few from Microsoft)

– Storyboard Shapes Libraries [5/31-9/12/2012]

– Visual Studio Productivity Power Tools [11/9/2012]

– Team Foundation Power Tools 2012.1 [9/12/2012]

– Visual Studio Tools for Git (Preview) [3/6/2013]

DEMONSTRATION

Add-ons as “New”

Agenda

• The New Meaning of “New”

• The First “New” for 2012

• The Next “New”

• Other “New” things

• “New” Considerations

• Summary

Lots of “New” stuff – When should I adopt?

• High compatibility between client and server components

• Try to keep server components in sync

– Build and Test servers

– Lab environments

• Always best to upgrade in a test environment

Summary

• Microsoft has increased their release cycles from every two years to quarterly

• Updates target both TFS and Visual Studio tools

• Include both bug fixes but and valuable new features

• Prereleases are being made available including some with “Go-Live” support

• You can and should control how and when you choose to upgrade

Questions?

Want to know more...?

Imaginet’s New Blog Keeps You In The Know

http://blog.imaginet.com

Stay up to speed on the latest news from Imaginet, Microsoft, Visual Studio, and the entire software development world.

More Webcasts on ALM / TFS / Visual Studio 2012

• Top Business Benefits of Application Lifecycle Management (ALM)• April 1 (1:00-2:00pm CT)• June 3 (1:00-2:00pm CT)

• Lean, Kanban, and TFS • April 3 (1:00-2:30pm CT)

• Quality Coding: What’s New with Visual Studio 2012• April 4 (1:00-2:30pm CT)• April 18 (1:00-2:30pm CT)• May 9 (1:00-2:30pm CT)• May 23 (1:00-2:30pm CT)

• Getting Started With Coded UI testing: Building Your First Automated Test• April 11 (1:00-2:30pm CT)• April 25 (1:00-2:30pm CT)• June 13 (1:00-2:30pm CT)• June 27 (1:00-2:30pm CT)

• The How, What, and Why of Performance Testing Your Applications• May 2 (1:00-2:30pm CT)

• Managing Test Labs Without the Headaches• June 6 (1:00-2:30pm CT)• June 20 (1:00-2:30pm CT)

Upcoming ALM Workshops & Webcasts:

Free Services from Imaginet & Microsoft

There are a number of different Microsoft Programs that you might be able to leverage to get some free services from Imaginet:

• Deployment Planning Services (DPS) – You can trade in your Microsoft Software Assurance credits to receive some free TFS/ALM Deployment Planning Services days with Imaginet

• Partner Services Credit (PSC) – Have you or are you about to spend money with Microsoft on Visual Studio 2012 products? If so, Microsoft may kick in some funding to help you successfully adopt.

• Virtual Technical Specialist (VTS) hours –You may be eligible to receive some free remote consulting/training hours with Imaginet through the Microsoft Virtual Technical Specialist program.

For more information, email [email protected].

Need Help with YOUR Application Lifecycle Management?

• Includes designing, installing, and configuring Team Foundation Server (TFS) 2012 and the Visual Studio 2012 development tools.

• Learn best practices for source control, build management, agile methodologies, and work management processes using TFS 2012.

• Support and training for your team

• Includes a high-level ALM assessment

Imaginet’s Visual Studio 2012TFS Adoption 10-day Quickstart

Interested? Just email us at [email protected].

Email us at:[email protected]

ALM Planning & Implementation ServicesALM Planning

• ALM Assessment & Envisioning Workshops (3 or 5 days)

• VS & TFS Migration Planning Workshop (5 days)

• TFS Deployment Planning* (5 days)

• Visual SourceSafe to TFS Migration Planning* (3 Days)

• Visual Studio Quality Tools Deployment Planning* (5 days)

Upgrade

• TFS 2010 Adoption Quick Start (5 or 10 days)

• TFS 2012 Adoption Quick Start (5 or 10 days)

• TFS 2010 Upgrade Quick Start (10 days)

• TFS 2012 Upgrade Quick Start (10 days)

Remote Support

• Remote Support for TFS & Visual Studio

Lab

• Visual Studio Lab Management Quick Start (10 days)

Testing

• Manual Testing with Test Manager Quick Start (5 days)

• Visual Studio Testing Tools Quick Start (10 days)

• Visual Studio Automated Testing Quick Start (5 days)

• Visual Studio Load Testing Quick Start (5 or 10 Days)

Builds

• Automated Build & Release Management Quick Start (5 days)

• Automated Build Center of Excellence (CoE)

Database

• Visual Studio Database Tools Quick Start (10 days)

Integrations

• Team Foundation Server (TFS) & Project Server Integration Quick Start (10 days)

• TFS & Quality Center Integration/Migration Quick Start (10 days)

For questions or more information,

please contact us at:

[email protected] or (972)607-4830

Remember to add http://blog.imaginet.com to your favorite reader!

http://www.imaginet.com