5

Visual Studio has a Create GUID tool (Tools > Create GUID).

What is it for? Can you remember what was the last time you used it?

I just can't imagine why i should copy into the clipboard a new GUID with that tool.

sharptooth
  • 167,383
  • 100
  • 513
  • 979
OrElse
  • 9,709
  • 39
  • 140
  • 253

5 Answers5

8

It's a very useful tool for those who develop and maintain COM components. Need to introduce a new registry-exposed class or interface? You need a new GUID. With this tool you click "New GUID", select "Registry format", copy it to the clipborad and then paste into a IDL file.

sharptooth
  • 167,383
  • 100
  • 513
  • 979
4

WiX (installer toolkit) projects require a lot of GUIDs. I use it often and often.

UserControl
  • 14,766
  • 20
  • 100
  • 187
3

I've used it many times to get a GUID without having to write and run some code or open SQL Management Studio.

1

GUIDs are very useful when you wish to create a unique identifier to a resource.

In C# you can use :

System.Guid.NewGuid();
Maciek
  • 19,435
  • 18
  • 63
  • 87
0
[Guid("8B92766B-825F-409d-BC32-B3723D617A93"), ClassInterface(ClassInterfaceType.None), ProgId("Apollo.WS"), ComVisible(true)]
public sealed class WS : ServicedComponent, IWSFSAPLProxy {}

Here you have. That GUID came from the Create GUID tool

Rodrigo
  • 4,365
  • 3
  • 31
  • 49