Skip to main content

Posts

Showing posts with the label Tips and Tricks

Public Key Token of an assembly

There are times when you need to get the public key token of an assembly. Okay the only time is when you need to put in config files. The answers is same old sn.exe . That's right the same .NET strong name tool we use to generate snk files. Usage: sn -T helloWorld.dll This gives you the public key token of the strong named assembly. Just wanted to share.

C# Source Analysis tool

Microsoft has announced release of a new developer tool, Source Analysis for C#. This tool will help teams enforce a common set of best practices for layout, readability, maintainability, and documentation of C# source code. Source Analysis is similar in many ways to Microsoft Code Analysis tool FxCop, but there are some clear distinctions. FxCop performs its analysis on compiled binaries, while Source Analysis analyzes the source code directly. For this reason, Code Analysis focuses more on the design of the code, while Source Analysis focuses on layout, readability and documentation. download tool

Speed up Visual Studio 2005

Make sure Visual Studio 2005 SP1 is installed. Turn off animation.Go to Tools | Options | Environment and uncheck Animate environment tools. Disable Navigation Bar.If you are using ReSharper, you don't need VS2005 to update the list of methods and fields at the top of the file (CTRL-F12 does this nicely). Go to Tools | Options | Text Editor | C# and uncheck Navigation bar. Turn off Track Changes.Go to Tools | Options | Text Editor and uncheck Track changes. This will reduce overhead and speeds up IDE response. Turn off Track Active item.This will turn off jumping in the explorer whenever you select different files in different projects. Go to Tools | Options | Projects and Solutions and uncheck Track Active Item in Solution Explorer. This will ensure that if you are moving across files in different projects, left pane will still be steady instead of jumping around. Turn off AutoToolboxPopulate.There is an option in VS 2005 that will cause VS to automatically populate ...

MSDN Code Gallery

Download and Upload .Net Source code. Code Gallery is your destination for downloading sample applications and code snippets , as well as sharing your own resources. http://code.msdn.microsoft.com/ Great Stuff !!