mapi1

Base Commands Dll's not updated

Discussion created by mapi1 on Jun 28, 2012
Latest reply on Jul 2, 2012 by EBejarano-esristaff
I develop on C# .NET 3.5 with ArcGis10.

I created  a desktop  baseToolBar / base Command DLL and registered it with the esriRegasm.exe" command."
My  baseToolBar Dll ,has references to other dll's,and use their methods(as common.dll ,etc.)
Now, after I made changes in the  TB , unregister and again register it,  it doesn't recognize the changes in the Internal dll.

For example, if I change the  header of method  with one parameter  'Func1(p1)'  to method  with two  parameters 'Func1(p1,p2)'   , when calling from the  main dll to  'Func1(p1,p2)'  it throws an error  that Func1 has  invalid number  of argument.
It seems that the previous version  of that dll , was not updated on the registration.

I found a temporary solution and not comfortable and not useable , that when  I remove the NORMAL.mxt of the ArcGis desktop , most of the times the problem is solved, but sure it can't be my permanent solution.

This problem started when we upgraded from ArcGis 9.3.1 to ArcGis 10.
Thank's.

Outcomes