Adding GUID generator (guidgen) to Visual Studio 2010

Default Guid generator location for Visual Studio 2010 is:
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\guidgen.exe

To add it to Visual Studio Tools menu complete following steps:

  1. Open Visual Studio 2010
  2. Tools –> External Tools
  3. Click on “Add” button
  4. Enter Title for the command (for example “Create GUID”)
  5. In Command box click on browse button named “…” and choose guidgen.exe (C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\guidgen.exe)
  6. Finally click on OK button and now you have possibility to choose “Create GUID” command from your Visual Studio Tools menu

If you can’t find guidgen.exe in this location, you can always download this utility separately. For example here.

* information based on Visual Studio 2010 beta 2


Comments have been disabled for this content.