Visual Studio 2013 Features

Visual Studio 2013 Features

  1. CodeLens: http://channel9.msdn.com/Series/Visual-Studio-2012-Premium-and-Ultimate-Overview/CodeLens#time=0s
    1. Alt Key
    2. Peek Definition: http://channel9.msdn.com/Series/Visual-Studio-2012-Premium-and-Ultimate-Overview/Peek-Definition#time=0s
      1. Alt + F12

 

  1. Debug visually with Code Map debugger integration: http://channel9.msdn.com/Series/Visual-Studio-2012-Premium-and-Ultimate-Overview/Visual-Studio-Ultimate-2012Debug-visually-with-Code-Map-debugger-integration#time=0s
  2. Understanding complex code with Code Map: http://channel9.msdn.com/Series/Visual-Studio-2012-Premium-and-Ultimate-Overview/Visual-Studio-Ultimate-2012-Understanding-complex-code-with-Code-Map-ENU#time=0s
  3. Load testing applications in Visual Studio: http://channel9.msdn.com/Series/Visual-Studio-2012-Premium-and-Ultimate-Overview/Visual-Studio-Ultimate-2012-Load-testing-applications-in-Visual-Studio#time=0s
  4. Improving quality with unit tests and fakes: http://channel9.msdn.com/Series/Visual-Studio-2012-Premium-and-Ultimate-Overview/Visual-Studio-Ultimate-2012-Improving-quality-with-unit-tests-and-fakes#time=0s
  5. Understand your code dependencies through visualization: http://channel9.msdn.com/Series/Visual-Studio-2012-Premium-and-Ultimate-Overview/Visual-Studio-Ultimate-2012-Understand-your-code-dependencies-through-visualization#time=0s
  6. Enhanced features for testing software with Visual Studio: http://channel9.msdn.com/Series/Visual-Studio-2012-Premium-and-Ultimate-Overview/Visual-Studio-Ultimate-2012-Enhanced-features-for-testing-software-with-Visual-Studio-ENU#time=0s
  7. Managed Memory Analysis: http://channel9.msdn.com/Series/Visual-Studio-2012-Premium-and-Ultimate-Overview/Managed-Memory-Analysis#time=0s
    1. For analyzing dmp files, this is a new option
    2. Improve unit testing workflow with these Test Explorer improvements: http://channel9.msdn.com/Series/Visual-Studio-2012-Premium-and-Ultimate-Overview/Microsoft-VisualStudio-Ultimate-2012Improve-unit-testing-workflow-with-these-Test-Explorer-improveme#time=0s
Advertisements

Windows Registry Editor for UPPERCASE MENU ITEMS Fix Visual Studio

Windows Registry Editor for UPPERCASE MENU ITEMS Fix 

VS 2012

[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\General]

“SuppressUppercaseConversion”=dword:00000001

VS 2013

[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0\General]

“SuppressUppercaseConversion”=dword:00000001

Tool: FixCasing

Ref: http://blogs.msdn.com/b/zainnab/archive/2012/06/14/turn-off-the-uppercase-menu-in-visual-studio-2012.aspx

 

 

–>

Visual Studio 2013 Resharper 7 ISSUES

Visual Studio 2013 Resharper 7 ISSUES

1.        Resharper 7.x is not available for VS 2013

a.       I have a licenced version of 7.x and can’t use in VS 13 : http://www.jetbrains.com/resharper/documentation/resharper8_vs_resharper7.html

b.      Hack:
http://stackoverflow.com/questions/17343830/can-resharper-7-x-be-used-with-vs2013-preview

THIS DID NOT WORK IN MY CASE

c.       I finally installed resharper 8 trial only for  VS 13 for now…

 

 

–>

Msil Disassembler for Visual Studio

ILSpy and ILDASM are 2 popular tools to see the Diassembled IL code so as to figure out the actual code for abstractions like LINQ etc. among other things

Here is an extensive list of all: http://www.agile-code.com/blog/list-of-microsoft-net-il-disassemblers/

I didn’t find any Visual Studio extension for this yet. I’m surprised that Disassembly window in Visual Studio doesn’t show this.

.Net Reflector looks like it can do this but its paid so I haven’t tried it yet

Debugging Multiple Solutions simultaneously in VS

Hi,This was the 1st requirement of my proj.

the project is a dll and its classes are invoked by machine config…hence it intercepts all apps…

To debug :

Open the soln in VS and host it on the VS Server (by default u should host VS apps in IIS only –unless  u want to debug— but then if u want to debug multiple apps, u need to host all on VS but 1 and run all from iis and attach the one to the asp_wp from the VS Debug menu.

Visual Studio 101

Tips from :

1. 

In Case Visual studio is crashing on opening project etc. simply delete the solution_name.suo file which is next to ur solution_name.sln file.

2. 
Always select General Settings when starting Visual Studio, as selecting env. specific settings hides options from the menus..which sucks.
3. 
Set breakpoints on the return of the call by using F9 to set it
4. Breakpionts on expressions. Bkps. are not line specific, so in  a line, highlight a expression and do F9  and see 
4. 
U need the pdb of 3rd party lib to see its source code, but to set breakpoints in that 3rd party code u don’t. Just do ^B and write the name of the function to set bkpt on it
5. 
getter and setters are methods and so to set bkpts on it do get_propName etc.
6.
Another easy way to set bkpts is to do ^D and then type the name of the function fully eg : Main(string[] args) and then hit F9 and voila…
7.
Again ^D ie find window can turn to command window by doing : “>” on it
8.
Now on top of pt. 7 when u do “>of Program.cs” in ^D, it gives u intellisense for file names and takes u to them
9. Fonts

Never change the zoom of Visual Studio..this will screw u the font, specially consolas. Best is to go to tools-> Options -> Fonts and Colors and change the font size itself

10. Auto Recovery
change interval : http://blogs.msdn.com/b/zainnab/archive/2010/06/30/autorecover-vstipenv0019.aspx

path : http://blogs.msdn.com/b/saraford/archive/2008/02/14/did-you-know-where-visual-studio-saves-auto-recovered-files-in-the-case-of-an-unexpected-shutdown-151.aspx

.net debugging and intellitrace

1.
 5 tips to debug c# program using visual studio 2010 ( f10,11 watch windows and intellitrace) : http://www.youtube.com/watch?v=QCPt9aOcd98

2
IntelliTrace Debugging in Visual Studio 2010
http://www.youtube.com/watch?v=1YAjnMKpw0I

3.
Intellitrace in Visual Studio 2010 and Team Foundation Server 2010
http://www.youtube.com/watch?v=DlbyKkWKCNQ

Tips:

1. Always ass watch on the variables, in case you need intellitrace to maintain a history for them as well.

2. Disable “Just My code” : This setting is at the Editor level and not application specific and so Doing is once is enough

http://msdn.microsoft.com/en-us/library/dd264915(v=vs.100).aspx

BEST :
http://continuouslyintegrating.blogspot.in/
and
http://channel9.msdn.com/Events/TechEd/NorthAmerica/2012/DEV365
and
http://channel9.msdn.com/Series/Visual-Studio-2012-Premium-and-Ultimate-Overview/Visual-Studio-Ultimate-2012-Collecting-and-analyzing-data-in-production  (its ppt is here)