Reputation: 10009
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.
Upvotes: 5
Views: 8004
Reputation: 4395
[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
Upvotes: 0
Reputation: 19903
GUIDs are very useful when you wish to create a unique identifier to a resource.
In C# you can use :
System.Guid.NewGuid();
Upvotes: 1
Reputation: 15179
WiX (installer toolkit) projects require a lot of GUIDs. I use it often and often.
Upvotes: 4
Reputation: 170569
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.
Upvotes: 8
Reputation:
I've used it many times to get a GUID without having to write and run some code or open SQL Management Studio.
Upvotes: 3