How to generate a new GUID for an ArcObjects add-in?

1525
2
08-22-2018 09:57 AM
EvanBlaisdell
New Contributor III

I copied a Visual Studio C# add-in project to modify it and create a new add-in. But since the GUIDs (the <AddInID> tag in the Config.esriaddinx file) are the same, they cannot both be loaded into ArcMap at the same time. What is the best/safest way to create a new GUID for the new project? Can I simply use an online GUID generator and manually replace all occurrences in the project?

0 Kudos
2 Replies
GKmieliauskas
Esri Regular Contributor

Hi Evan,

You could use Visual Studio "Create GUID" tool (from Tools-Create GUID) to generate new GUID and replace existing one.

ScottLehto1
New Contributor II

Does anyone know how to generate a new GUID in C# for a geodatabase? 

My end-users sometimes create sites and related tables in ArcMap and they want to use Survey123 where GlobalID relationships are necessary for related table editing.

 

Thanks in Advance.

0 Kudos