- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey... I have a .NET solution that contains multiple projects since the application is a bit complex so I want to separate them. However, I am facing a problem is that how to load these assemblies in a right way.
So I have an main assembly, let's call it "Assembly A" and it refers to "Assembly B" and "Assembly C" and they are all store in the same directly. In the "Assembly A", it has an entry class implements `IExtensionApplication`. I open the AutoCAD and use command `NETLOAD`, select A, which loads correctly.
However, if I move "Assembly B" and "C" into a different folder and try to `NETLOAD` the assembly A. But assembly won't even execute. (I put a break point at `Initialize()` method but it never hit). I was wondering to `Load()` the reference assembly when it execute `Initialize()` method but since it never gets to that point, I won't be able to load reference assembly B and C.
So what's the best way to load a .net project that contains multiple dll? Why it doesn't work if I put reference assembly into different directory?
Solved! Go to Solution.