Click to Rate and Give Feedback
Collapse All/Expand All Collapse All
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.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Easy way: use online generator      Sharepointer   |   Edit   |   Show History
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 What's this?: Add a tag
Flag as ContentBug
Benefits of Guidgen.exe      Thomas Lee   |   Edit   |   Show History
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 What's this?: guid (x) Add a tag
Flag as ContentBug
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker