Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

For example: you run the DesktopExtensionCS2010 sample that comes with the SDK, having it open arcCat at startup.

Now whenever I open ArcCat the extensions are there. I can uncheck them but I want to get rid of them (without hacking the registry).

share|improve this question

3 Answers 3

up vote 2 down vote accepted

If you are using ArcGIS 10.0, use the ESRIRegAsm Utility, for example:

"C:\Program Files\Common Files\ArcGIS\bin\ESRIRegAsm.exe" /p:desktop /u "C:\Test\MyAssembly.dll"

For 9.3.x and earlier you can use regasm.exe like so:

C:\Windows\Microsoft.NET\Framework\v2.0.50727\regasm.exe "C:\Test\MyAssembly.dll" /unregister

You would enter one of those commands in the Windows command prompt (Start->Programs->Accessories->Command Prompt).

share|improve this answer

If the extension is bundled as part of an add-in, you should be able to use the add-in manager to remove them, or simply delete it from the well-known folder. If you use add-in manager note that the add-in can remain in memory until you've restarted your app.

share|improve this answer

If you want to remove a extension, the general way, is to go via regasm/ESRIRegAsm Utility;

However, if you yourself have installed it, when trying out the samples, the easiest way would be to open the solution in Visual Studio, and then clean the solution.

This will deregister the dlls.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.