New in the Visual Studio 2012 IDE

Page 1

New in the Visual Studio 2012 IDE http://www.LearnNowOnline.com

Learn More @ http://www.learnnowonline.com Copyright Š by Application Developers Training Company


Navigating Code and UI Changes • Demo

Learn More @ http://www.learnnowonline.com Copyright Š by Application Developers Training Company


A Quick Tour of the IDE • • • •

A new look and feel Less chrome Focus on code Minimized toolbar

Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company


Finding and Setting Options • Select Tools | Options • Literally hundreds of settings • Environment • Projects • Text editor • More…

• New color themes (Light and Dark) Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company


Exploring Solutions • Solution Explorer organizes development artifacts • Solutions hold files, folders, and projects • Projects hold files, folders, and references • Projects produce assemblies

Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company


Navigating the IDE with QuickLaunch • QuickLaunch makes it easy to dig deep into IDE features, saving time • Shortcut: Ctrl + Q • Four Categories • • • •

Most Recently Used : @mru quick Commands: @menu Find Edit Options: @opt Text Editor C# General Documents: @doc Program.cs Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company


Using Code-Focused Rapid Application Development • Demo

Learn More @ http://www.learnnowonline.com Copyright Š by Application Developers Training Company


Navigating Code • • • •

Call Hierarchy shows code callers and callees Navigate To helps quickly find/move to code Highlighting References shows matching code Live Semantic Errors show errors/warnings

Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company


Adding Snippets • Quickly add common code blocks • Abbreviations expand to forms • Surround-With puts blocks around code

Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company


Refactoring Code • Improve design without breaking code • Rename • Extract Method • Encapsulate Field • Extract Interface • Remove Parameters • Reorder Parameters

Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company


Extending the Environment and NuGet • Demo

Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company


Extension Manager • Easy way to install 3rd party Add-Ins • One-Click install • Be informed of updates

Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company


NuGet • Adds assembly references to projects • Can install/uninstall via UI or built-in Powershell console • Add NuGet via the Extension Manager

Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company


Setting Up Libraries and Projects • Demo

Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company


Compatibility with VS 2010 • Can round-trip for many project types • Exceptions: • Windows Phone 7 support only in VS 2010 • Windows 8 support only in VS 2012 and on

Windows 8 • .NET 4.5 support only on VS 2012

Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company


Understanding Profiles • Profiles constrain a project to a subset of that project type • Windows 8 • Windows Phone 8 • Client • Full

• Client is subset of Full

Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company


Portable Libraries • Subset of .NET supporting multiple profiles • Least common denominator among profiles • Can select which Framework profiles to target

Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company


Questions? http://www.LearnNowOnline.com

Learn More @ http://www.learnnowonline.com Copyright Š by Application Developers Training Company


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.