Blog - Title

Visual Studio 2013 Current Status

  • The Ultimate Visual Studio Tips and Tricks Blog

    Visual Studio 2013 Preview: Enhanced Scroll Bar

    • 18 Comments

    Visual Studio 2013 has another great new feature: enhanced scroll bar functionality. The new scroll bar will show cursor location, breakpoints, and much more! Let’s take a look.

    5-17-2012 12-51-16 PM

     

     

    Power Tools

    Before we begin I want to address where some of the new features in VS2013 are coming from. In Visual Studio 2013 many of the new features we put into the product were actually introduced via the Productivity Power Tools for Visual Studio 2012. This is an ongoing trend and you will see that many of the new features from future versions will come directly from the Power Tools. If you are still on 2012 you can get a lot of the newest functionality by installing the Visual Studio 2012 Power Tools which can be found here:

    http://visualstudiogallery.msdn.microsoft.com/3a96a4dc-ba9c-4589-92c5-640e07332afd

     

     

    Scroll Bar Options

    To really get a handle on the new scroll bar functionality the first thing you should do is Right Click on the vertical scroll bar and choose Scroll Bar Options:

    5-17-2012 11-57-37 AM

     

    You will see several settings that can be modified:

    5-17-2012 12-00-10 PM

    (NOTE: You can also get to this area by going to Tools | Options | Text Editor | All Languages | Scroll Bars)

     

     

    Show Scroll Bar

    5-17-2012 12-08-43 PM

    The first two options are pretty self-explanatory they will allow you to show or hide the scroll bars. For the most part you will leave these checked unless you have some special reason not to have them visible. 

     

    Display

    5-17-2012 12-12-18 PM

    The Display area allows you to turn on annotations that will show special items throughout the entire document within the scroll bar. This allows you, at a glance, to see where things like breakpoints and bookmarks are. We will look at these in the order you are most likely to encounter them but here is an example of the vertical scroll bar with annotations in it:

    5-17-2012 12-32-50 PM

     

     

    Show Caret Position

    5-17-2012 12-17-37 PM

    The first annotation you will most likely encounter is the caret position indicator. It simply shows the current position of the cursor with a blue line in the scroll bar.

     

     

    Show Changes

    5-17-2012 12-28-50 PM

    If you missed my blog post a couple of years ago on tracking changes in the editor, this is a good time to read it. You can find the post here:

    http://blogs.msdn.com/b/zainnab/archive/2010/04/14/track-changes-in-the-editor-vstipedit0048.aspx

     

    The Show Changes option simply shows the changes within it so you can see modifications at a glance for the entire document.

     

     

    Show Marks

    This options is fairly broad and covers several types of marks that can appear in code. Most notably this will show breakpoints:

    5-17-2012 12-42-29 PM

     

    Additionally, this will also show things like Bookmarks:

    5-17-2012 12-44-01 PM

     

     

    Show Errors

    The final indicator is arguably one of the most important. It shows any syntax errors the editor is aware of:

    5-17-2012 12-46-58 PM

     

    This let’s you quickly see where there are errors that need to be fixed before you compile your code.

     

     

    Behavior

    There are two behavior options for the vertical scroll bar: bar mode and map mode. So far everything we have seen is the traditional bar mode for the scroll bar. Now we will switch to map mode:

    5-17-2012 12-55-12 PM

     

    Map mode essentially turns your vertical scroll bar from this:

    5-17-2012 12-56-48 PM

     

    To this:

    5-17-2012 12-57-38 PM

     

     

    Source Overview

    Map mode is miniature look at your document so you can quickly get a feel for your code. There are four options for source overview when using map mode. I’ll show examples of the four views below. Of these the Off setting will be the most confusing until you see the Preview Tooltip in action so be patient.

     

    Wide

    5-17-2012 12-57-38 PM

     

    Medium

    5-17-2012 12-59-53 PM

     

    Narrow

    5-17-2012 1-00-50 PM

     

    Off

    5-17-2012 1-02-23 PM

     

     

    Preview Tooltip

    Regardless of which map mode view you use there is also an option to have the Preview Tooltip. Simply put your mouse pointer over any part of the vertical scroll bar and you will get a preview of the code at that position in the document:

    5-17-2012 1-09-33 PM

     

    Annotations

    All annotations previously mentioned also show up in map mode:

    5-17-2012 1-12-45 PM

     

     

    Go to a Specific Location on the Scroll Bar

    You basically have two options when you want to go to a specific location on the scroll bar. Let’s examine both ways.

     

    Left Click

    As long as you are in map mode:

    5-17-2012 2-39-51 AM

     

    You can simply LEFT CLICK any area on the scroll bar and you will jump to that location:

    5-17-2012 2-41-10 AM

     

    For this reason, I suggest, even if you don’t want the map, that you at least use map mode set to Off to get this functionality so you can quickly move around using the scroll bar:

    5-17-2012 2-44-42 AM

     

     

    Scroll Here

    Now that you have a solid base level of knowledge for this feature there is one more important item I want to show you: Scroll Here. If you find any place that is interesting to you in the vertical scroll bar and want to quickly go to that location you can simply Right Click the location and choose Scroll Here:

    5-17-2012 10-12-17 PM

     

    The new location will come into view so you can begin looking at the code:

    5-17-2012 10-13-50 PM

     

     

    Finally

    The enhanced vertical scroll bar is a great tool for developers to quickly see places of interest and to examine those locations. Try this feature out and see if you like it as much as I do. :)

  • The Ultimate Visual Studio Tips and Tricks Blog

    Visual Studio 2013: TODO Comments and Custom Tokens in the Task List

    • 17 Comments

    NOTE: This is an older feature I’ve updated the information for VS2013

     

    Ever been writing some code and you want to leave a reminder to yourself to do something on a particular line or area?  Did you know about the "to do" comment feature or custom tokens?  They seriously rock if you have never used them and, because they go in source code, everyone can have access to the information when you check-in the code!

     

     

    TODO Comments

    So here's how TODO comments work: 

     

    VB

    In VB you just put any comment in that begins with the letters "todo" (case doesn't matter):

    5-16-2012 12-13-33 PM

     

     

    C# and C++

    In C# and C++, it's pretty much the same thing (again, case doesn't matter):

    5-16-2012 12-17-39 PM

     

     

    In C++ you have to explicitly turn this feature on.  Go to Tools | Options | Text Editor | C/C++ | View and change Enumerate Comment Tasks to True:

    5-16-2012 12-19-14 PM

     

     

    Regardless which language you use the result is an entry in your Task List:

    5-16-2012 12-22-52 PM

    Note: You can Double Click any entry to automatically have the editor go to the respective line in your source.

     

     

    If you don’t see the entries, make sure you have set the task list to see comments:

    5-16-2012 12-24-46 PM

     

     

     

    Custom Tokens

    We actually have several tokens you can use in addition to TODO. To see all the existing tokens go to Tools | Options | Environment | Task List:

    5-16-2012 12-28-08 PM

     

     

    HACK and UNDONE

    You are welcome to use HACK and UNDONE as well. The MSDN documentation is horrifically bad when it comes to describing these tokens and I don’t agree with the description of use necessarily. Here is what it says:

    “Items labeled TODO, HACK, and UNDONE in the Task List window indicate code problems that do not keep the project from compiling, but that do cause run-time errors. You should correct these errors before running the project.”

    http://msdn.microsoft.com/en-us/library/aa652344(v=VS.71).aspx

     

    Also, be aware that the number of entries that appear in the Task List changes depending on the type of project you are working on. With VB and C# projects, the Task List displays all of the comments in the project whether the file is open or not. With C++ projects, the Task List displays only the comments that are found in the files currently opened for edit.

     

     

    Creating Custom Tokens

    Feel free to create your own tokens for your use. Creating your own tokens is very simple, just pick a name for your token and type it in the Name textbox:

    5-16-2012 1-07-32 PM

    Note: UnresolvedMergeConflict looks like an error but isn’t it is an actual token that will make a high priority item in the Task List.

     

     

    Next choose a priority level:

    5-16-2012 1-09-02 PM

     

     

    Then click the Add button to make it an active token:

    5-16-2012 1-10-32 PM

     

     

    You will see it in your list:

    5-16-2012 1-11-42 PM

     

     

    Now you can use the token in your comments:

    5-16-2012 1-14-01 PM

     

     

    Sharing Custom Tokens

    Be aware that any tokens you create ARE NOT SHARED with other developers so you may want to come up with a standard set of tokens for everyone to use if you intend to leverage this feature company-wide then export them (http://blogs.msdn.com/b/zainnab/archive/2010/07/14/exporting-your-environment-settings-vstipenv0021.aspx) and have folks import them (http://blogs.msdn.com/b/zainnab/archive/2010/07/15/importing-or-changing-your-environment-settings-vstipenv0022.aspx).

     

     

     

    Finally

    Tokens are a pretty nice feature to keep track of places in your code you need to revisit. I don’t suggest them over, say, tasks in Team Foundation Server but they are a great short-term reminder for things that need to get attention. If you decide you would like to create Task List items programmatically you can do that as well. Here is a link to some guidance to get you started:

    http://msdn.microsoft.com/en-US/library/envdte.tasklist.defaultcommenttoken(v=vs.80).aspx

  • The Ultimate Visual Studio Tips and Tricks Blog

    Customize how Find in Files results are displayed in the Find Results Window

    • 17 Comments

    Keyboard:  CTRL + SHIFT + F
    Menu:  Edit -> Find and Replace -> Find in Files
    Command:  Edit.FindinFiles
    Versions:  2008,2010
    Published: 1/3/2010
    Code:  vstipFind0002 

       

    image

     

    You can customize your Find in Files results to show what you want to see and how you want to see it.

    Example:  You don't want to view the entire file path shown in the Find Results tool window.

    So instead of this:

    image

     

     

    You want this:

    image

     

    No problem! :)

     

    DANGER:  This involves hacking the Registry so use this tip at your own risk!

    1. Open up RegEdit
    2. Go to HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\Find
    3. Add a new string called Find result format with a value of $f$e($l,$c):$t\r\n

      image
    4. Hop into Visual Studio and run a Find in Files search (NOTE: You do not need to restart VS to see the changes made in the Registry, which is great for testing different string combos)

     

    Here are valid values you can use in the string:

     

    Files

    $p      path                       

    $f      filename               

    $v      drive/unc share            

    $d      dir                        

    $n      name                       

    $e      .ext                   

        

    Location

    $l      line                        

    $c      col                        

    $x      end col if on first line, else end of first line

    $L      span end line

    $C      span end col

    Text

    $0      matched text                

    $t      text of first line

    $s      summary of hit

    $T      text of spanned lines

    Char

    \n      newline                   

    \s      space                     

    \t      tab                        

    \\      slash                    

    \$      $                 

  • The Ultimate Visual Studio Tips and Tricks Blog

    The RTM of Visual Studio 2008 Is Coming

    • 17 Comments

    [EDIT:  As Guy pointed out on his blog http://blogs.microsoft.co.il/blogs/bursteg/archive/2007/11/19/visual-studio-2008-rtm-is-available-for-msdn-subscribers.aspx VS2008 is RTM for MSDN already]

     

    By now it is no secret that Visual Studio 2008 will RTM before the end of November.  Soma mentioned this at TechEd Europe and I couldn't be more excited!  Make sure you are getting ready with for the new version by checking out our webcasts and other training materials that are available.  Here is a list of places to help you get prepared:

     

    Main Visual Studio 2008 Product Page     http://msdn2.microsoft.com/en-us/vstudio/products/default.aspx

     

    Main World Wide Events Website     http://msevents.microsoft.com/cui/default.aspx?culture=en-US

    NOTE:  Don't let the name throw you off, this is your best "one stop shop" for getting MS content.  Make sure to take advantage of the Virtual Labs!  Below is an extremely short list  at what I found when I searched on the keyword "linq":

    image

     

     

    Channel 9 (of course)     http://channel9.msdn.com/

     

     

    And of course the various blogs (on the left hand side) and other resources that crop up.   I will be doing a 26 part webcast on new features of VS2008 beginning in December as well.

     

     

    In the meantime, let's have a contest.   Post here with your list of resources for getting up to speed with VS2008.  I will randomly choose one person to be the recipient of ONE of these prizes (winner's choice):

     

    Windows Vista Ultimate

    Office 2007 Ultimate

    Halo 3/Flight Simulator X  Combo gift

    [Edit:  contest extended until 12/1 by popular demand!]

    Just in time for the holidays!  Contest ends on 11/26/2007 @ 5pm Central.  Good Times :)

     

    (MS employees not eligible but shoot me an email if you would like to see an FTE version of this contest)

     

  • The Ultimate Visual Studio Tips and Tricks Blog

    Collapsing Your Code with Outlining

    • 16 Comments

    Keyboard:  CTRL + M, CTRL + M
    Menu:  Edit -> Outlining -> Toggle Outlining Expansion
    Command:  Edit.ToggleOutliningExpansion
    Versions:  2008,2010
    Published:  3/15/2010
    Code:  vstipEdit0029

     

    By default, Outlining is enabled in Visual Studio.  It's the line you see with the boxes to indicate the status of the area (collapsed or expanded):

    image

     

    You can collapse areas of code to get them out of your way so you can focus on other areas.  There are four ways to do it:

    1. Click on the minus sign to collapse an area of code:

      image

      NOTE:  In VS2010 it now highlights the area that will be collapsed as seen here.  A very cool feature.  If you don't like the highlighting color you can go to Tools -> Options -> Environment -> Fonts and Colors -> Collapsible Region to change it.

    2. VS2010 ONLY:  Click ANYWHERE on the vertical line in the highlighted region.  In other words, you can now collapse a region from anywhere in that region:
      image 
    3. Click anywhere in the area to be collapsed and hit CTRL + M, CTRL + M
    4. Click anywhere in the area to be collapsed and go to Edit -> Outlining -> Toggle Outlining Expansion on the Menu Bar

     

    Once collapsed, the code area will look like this:

    image

  • The Ultimate Visual Studio Tips and Tricks Blog

    Track Active Item in Solution Explorer

    • 16 Comments

    Menu:  Tools -> Options -> Projects and Solutions –> General
    Commands:  View.TrackActivityinSolutionExplorer
    Versions:  2005,2008, 2010
    Published:  3/29/2010
    Code:  vstipProj0011

     

    Note: Several people have asked if you can turn this feature on and off at will. You can if you bind the View.TrackActivityinSolutionExplorer command to a keyboard shortcut.

     

    By default, VS2010 will track the current file you are editing in Solution Explorer.  It looks like this:

    image

     

     

    Notice that the current file being edited is also selected in Solution Explorer automatically.  This is a great way to keep track of where you are in the solution when you are working with a lot of files.  You can turn it off if you want.  Just go to Tools -> Options -> Projects and Solutions -> General -> "Track Active Item in Solution Explorer" and uncheck the option to turn this feature off.

    image

  • The Ultimate Visual Studio Tips and Tricks Blog

    Using Solution Folders

    • 15 Comments

    Menu:  Project -> Add New Solution Folder; [Right-Click Solution] -> Add -> New Solution Folder
    Command:  Project.AddNewSolutionFolder
    Versions:  2008,2010
    Published:  3/27/2010
    Code:  vstipProj0009

     

    Did you know there are special folders to help you organize large solutions?  There is!  They are called, appropriately enough, Solution Folders.  To create one just Right-Click on your solution (or go to Project -> Add New Solution Folder) and you will see this in Solution Explorer:

    image

     

    Simply give the folder a name and you are good to go.  But so what?  I mean, what can you actually DO with these things?  Here is a list of stuff you can do:

    • Move or add projects to them. Solution Folders can be nested to create greater organizational structure.

    • Add, delete, or rename Solution Folders at any time, if the organizational requirements of the solution change.

    • Unload all projects in a Solution Folder to make them temporarily unavailable for building.

    • Collapse or hide entire Solution Folders so that you can work more easily in Solution Explorer. Hidden projects are built when you build the solution. 

    • Build or rebuild all the projects. The projects are built in the order specified by the project dependencies.

    SPECIAL NOTE: 

    Solution Folders are an organizational tool in Solution Explorer; corresponding Windows folders are not created.  Microsoft recommends that you organize your projects on disk in the same way that you organize them in the solution.  But that is your call :)

  • The Ultimate Visual Studio Tips and Tricks Blog

    Gimme Some Link Luv

    • 14 Comments

    Shoot me the URL to your blog and point out where you have linked to me.  I will pick one lucky victim...er...winner to reward with a Visual Studio 2008 Backpack or 3 Visual Studio T-Shirts.

    Contest ends a week from Saturday.
  • The Ultimate Visual Studio Tips and Tricks Blog

    Visual Studio 2012 Update 1 (KB2707250): Bug Fixes

    • 14 Comments

    This post is a bit overdue but better late than never.  So let’s talk about Visual Studio Update 1…

     

    Soma originally introduced Update 1 in his November 26th post here:

    http://blogs.msdn.com/b/somasegar/archive/2012/11/26/visual-studio-2012-update-1-now-available.aspx

     

     

    Installation

    Since some of you may want to install this update immediately there are a few options for you. 

     

    From Visual Studio

    From inside the IDE, go to Tools | Extensions and Updates:

    image

     

    Then look under the updates section and install from there:

    image

     

     

    Via the Download Link Directly

    If you want a more direct route you can click this link:  http://go.microsoft.com/?linkid=9821199

    You will get this dialog and can just click Run to execute the small .EXE and begin the online install:

    SNAGHTML187699cf

     

     

    Stand-Alone Installation

    Although many believe you can only install via online resources this is actually not true.  A quick look at vsupdate_KB2707250.exe /? shows us the /layout switch:

    image

     

    So when I run vsupdate_KB2707250.exe /layout c:\ziptemp\vsup1 on my system this is the dialog I get:

    image

     

    This will download the source files to the designated location so you can make them available on a network share, thumb drive, or other media for stand-alone installation.

     

     

     

    Why Should I Care?

    The most obvious question is, “Why should I care?”  Despite the bug fixes and new features, this particular update represents a major shift in the timing for delivery.  We have now committed to a shorter update cycle so we can deliver critical fixes and incorporate new features more quickly.  What this means for you in real terms is that blocking issues may be resolved much more quickly and/or you will get a new feature that will help you get work done better/faster/stronger.

     

     

     

    What’s In it?

    So what exactly did we deliver?  Fundamentally there were two things we provided:  Bug Fixes and New Features.   You can find all the details here:

    http://support.microsoft.com/kb/2797915/EN-US

     

    I’m going to repeat the bug fixes here and then address the new features in another article right after this one.

     

    Bug Fixes

    After an extended period of time looking for the list of bug fixes included in the package I was initially unable to find a comprehensive list anywhere.  It looks like the team recognized there was a gap and updated the KB article on 1/13 to include all the relevant information.  I’ll just repeat the information here verbatim for convenience.

    ===

    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.

    ===

  • The Ultimate Visual Studio Tips and Tricks Blog

    Visual Studio 2012 New Features: Solution Explorer

    • 13 Comments

    I love the title of this one because I’m sure someone will read this and wonder why I think Solution Explorer is a “new” feature.  I mean, haven’t we had this sucker for a billion years?  Aren’t there cave drawings in France about this feature?  So why is it “new”?  Let me show you!

     

    Search Solution Explorer (CTRL + ;)

    First and foremost, you can now search Solution Explorer!  I’ve been wanting a feature like this since before Solution Explorer was even invented back in my VB 3 days (about 19 years ago).  Here is what things looked like back then:

    image

     

    And from then until Visual Studio 2010 we STILL couldn’t search items:

    image

     

    But now you can!  Just type in any search term into the Search Solution Explorer textbox:

    image

     

    And it will find anything that contains the search term in it:

    image

     

    You can filter the search to choose how broad the search goes by clicking on the drop down arrow to the far right of the Search Solution Explorer textbox:

    (NOTE: searching within file contents doesn’t mean what you think it means.  See the section “More Than Physical” for information)

    image

     

    One other cool feature is you can have Solution Explorer only show you the currently open files by clicking the drop down button just to the right of the Home button:

    image

     

     

    More Than Physical

    In the past, Solution Explorer was relegated to only showing physical elements or those things that help contain / organize those elements (i.e. solution folders).  That’s out the window, too.  Now the experience doesn’t stop at the physical level but extends to logical elements as well:

    image

     

    Which makes searching even more awesome:

    image

     

    If you are using the Preview Tab then clicking on any item in Solution Explorer will go to the file and highlight code if applicable BUT you can’t double click the logical item to open the file for some reason and instead have to double click the filename to open it.

     

     

    Navigation

    Navigation is much improved as well. 

     

    Browser-Like Movement

    After a doing a search, like the one shown above, you can click the Home button:

    image

     

    And Solution Explorer will go back to “normal”:

    image

     

    Clicking the Back button:

    image

     

    Takes me back to the search I just did:

    image

     

    Here is the weird part:  If I reuse the search box and type another search right away it doesn’t remember the previous search I did and I can’t go back; BUT if I click Home between searches then it remembers all my old searches.  I’ve tested this up to 12 entries and it works fine as long as you remember to click Home between searches.

     

    Sync with Active Document

    Occasionally you may be looking at a file but Solution Explorer isn’t on that file.  When this happens a button appears that allows you to sync Solution Explorer with the document you are currently in so you can see where it is in the project structure.

    image

     

    Right Click Experience

    The right click experience is, to say the least, incredible!  Depending on what you select the context menu changes appropriately.  So if I right click a code file this is what I get:

    image

     

    But if I right click a class this is what I get:

    image

     

    And this is the context menu for a method:

    image

     

    Each option changes the view in Solution Explorer to better examine relationships.  The bottom line:  make sure to check out your context menus to change the elements you are viewing in Solution Explorer.

     

     

    New Solution Explorer View

    There used to be a button for creating a new instance of Solution Explorer which was excellent for multi-monitor viewing of code:

    image

     

    The button is gone now (which is a mistake in my opinion) and you can no longer get an entire copy of Solution Explorer in a new window BUT you can get a copy of any project or file in a new Solution Explorer window which is what I have done in the example above.  Just right click any project/file and choose New Solution Explorer View:

    image

     

     

    Team Foundation Server

    If you are using TFS then you can filter Solution Explorer to show you files with Pending Changes:

    image

     

    And there you have it!  As you can see there are quite a few changes in the new, improved Solution Explorer so go explore!

Page 3 of 135 (1,345 items) 12345»