Project Changes

If you’ve looked at my Projects page recently, you may have noticed that there were a few changes.

docXtract

The bad news first. I have removed docXtract. I found that Sandcastle and it’s supporting tools (most notably Sandcastle Help File Builder) have grown to a point that there is no need for another product.

Visual Studio Code Snippets

Now the good news. I’ve been working on a Logitech G11 keyboard which has 18 macro keys. I’ve been assigning code snippet macros to the keys and it has been increasing my productivity tremendously. I’ve also started writing my own code snippets. This new project is an online home for those snippets.

Setup a ‘Get Public Key’ Tool

If you’re a SharePoint developer, you’ve run into public key tokens but what you might not know is that Visual Studio comes with an executable that can make retrieving them a much easier process.

The following steps will add a “Get Public Key’ option to your Tools menu in Visual Studio:

  • Click ‘Tools > External Tools’
  • Click ‘Add’ and a new entry will appear
  • In the ‘Title’ field type: Get Public Key
  • Click the ‘…’ button and navigate to the appropriate sn.exe
  • If VS 2008: C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\sn.exe
  • If VS 2010*: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\sn.exe
  • In the ‘Arguments’ field type: -Tp “$(TargetPath)”
  • Select ‘Use Output window’ checkbox
  • Click ‘OK’

External Tools screenshot

This will save you a ton of time if you are still using tools like Reflector to get the public key.

* This path is from a 64-bit version of Windows.