Visual Studio 
Create GUID (guidgen.exe) 

Generates a GUID in a specified format.

When you start guidgen.exe, or when you click the New GUID button in the Create GUID dialog box, guidgen.exe generates a GUID.

NoteNote

The appearance of features in the IDE can depend on your active settings or edition, and might differ from those described in Help. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

To run guidgen.exe from the IDE

  1. On the Tools menu, click Create GUID. The Create GUID tool appears with a GUID in the Result box.

  2. Select the format you want for the GUID.

  3. Click Copy.

    The GUID is copied to the Clipboard so that you can paste it into your source code.

  4. If you want to generate another GUID, click New GUID.

See Also

Concepts

Visual Studio External Tools

Tags :


Community Content

Sharepointer
Easy way: use online generator
You can also just use an online GUID generator. There are many, a simple one is: http://createGUID.com - save it as a bookmark and use it whenever you need a GUID.
Tags :

Thomas Lee
Benefits of Guidgen.exe
Good point Sharepointer.

Yes there are a variety of ways to create a new GUID, you can use a 3rd party web site, or by using PowerShell: $guid = [system.guid].newguid().

The two benefits of guidgen are a) that it is free and installed for you and b) it can create the GUID in a way more helpful for programmers than just the raw guid itself.
Tags : guid

Page view tracker