I would like to know where the ProductCode (GUID) of an autoloading DLL for AutoCAD is coming from. I have developed a plugin in DLL that has some commands for AutoCAD. I follow a "known good" example program and create a bundle for my plugin. The DLL failed to autoload for some reason. I am wondering may be the ProductCode (GUID) that I have entered in PackageContents.xml is wrong. That's why I want to find out the correct way to find a ProductCode.
Based on the example program, I am sure that the ProductCode is NOT the GUID stated in section in the Visual Studio project file. And I am also sure that the ProductCode is NOT the GUID stored in AssemblyInfo.cs file either.
Should I use the GUID inside the DLL file? But I have no way to tell which GUID is embedded inside the DLL file.
As of now, I simply use the GUID generated using Visual Studio --> Tools --> Create GUID. But I don't know if this is the right GUID to use. Or does this really matter which GUID to use as long as it is unique?
Please help. Thanks.
Jay Chan