.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

OnAssemblyLoad

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
292 Views, 3 Replies

OnAssemblyLoad

It would be helpful if there was an event fired when
a managed extension application is loaded. I see
module events, but none for managed assemblies that
are extension applications.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: Anonymous

You can listen to assemblies loaded AppDomain.AssemblyLoad event and do what
you need there. The definition of ExtensionApplication is a bit murky:
I can imaging useful apps that don't have an type that implements
IExtensionApplication or any commands. Stricly speaking they don't even have
to have a reference to any of our assemblies.

Albert

"Tony Tanzillo" wrote in message
news:4945939@discussion.autodesk.com...
It would be helpful if there was an event fired when
a managed extension application is loaded. I see
module events, but none for managed assemblies that
are extension applications.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com
Message 3 of 4
Anonymous
in reply to: Anonymous

Thanks. I looked at that. What I was mainly interested in
are managed apps loaded via the ObjectARX registry loading
mechansim, or NETLOAD.

The complication with AssemblyLoad is that it fires for every
loaded assembly, including referenced ones, to any depth.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com

"Albert Szilvasy" wrote in message news:4946066@discussion.autodesk.com...
You can listen to assemblies loaded AppDomain.AssemblyLoad event and do what
you need there. The definition of ExtensionApplication is a bit murky:
I can imaging useful apps that don't have an type that implements
IExtensionApplication or any commands. Stricly speaking they don't even have
to have a reference to any of our assemblies.

Albert

"Tony Tanzillo" wrote in message
news:4945939@discussion.autodesk.com...
It would be helpful if there was an event fired when
a managed extension application is loaded. I see
module events, but none for managed assemblies that
are extension applications.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com
Message 4 of 4
Anonymous
in reply to: Anonymous

This doesn't strike me something that would be useful. An addin can be
referenced by another addin in which case it may get loaded implicitly. I'm
not sure what you would do with the event but it seems to me it would have
limited applicability.

Albert

"Tony Tanzillo" wrote in message
news:4946203@discussion.autodesk.com...
Thanks. I looked at that. What I was mainly interested in
are managed apps loaded via the ObjectARX registry loading
mechansim, or NETLOAD.

The complication with AssemblyLoad is that it fires for every
loaded assembly, including referenced ones, to any depth.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com

"Albert Szilvasy" wrote in message
news:4946066@discussion.autodesk.com...
You can listen to assemblies loaded AppDomain.AssemblyLoad event and do what
you need there. The definition of ExtensionApplication is a bit murky:
I can imaging useful apps that don't have an type that implements
IExtensionApplication or any commands. Stricly speaking they don't even have
to have a reference to any of our assemblies.

Albert

"Tony Tanzillo" wrote in message
news:4945939@discussion.autodesk.com...
It would be helpful if there was an event fired when
a managed extension application is loaded. I see
module events, but none for managed assemblies that
are extension applications.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost