What is the purpose of creating a GUID tool in Visual Studio?

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

What is this for? Can you recall what you last used?

I just can’t imagine why I should copy the new GUID with this tool to the clipboard.

+5
source share
5 answers

This is a very useful tool for those who develop and maintain COM components. Need to introduce a new class or interface open to the registry? You need a new GUID. With this tool, you click "New GUID", select "Registry Format", copy it to clipborad and paste it into the IDL file.

+8
source

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

+4
source

, GUID SQL Management Studio.

+3

GUID , .

# :

System.Guid.NewGuid();
+1
[Guid("8B92766B-825F-409d-BC32-B3723D617A93"), ClassInterface(ClassInterfaceType.None), ProgId("Apollo.WS"), ComVisible(true)]
public sealed class WS : ServicedComponent, IWSFSAPLProxy {}

. GUID " GUID"

0
source

All Articles