How do I release a .dll so that I can rebuild it?
3 posts
• Page 1 of 1
How do I release a .dll so that I can rebuild it?
If I load an external DLL using ⎕USING, I cannot rebuild the .dll file (in visual studio, say), since that file is in use. The only way I have been able to get around that is to close all instances of APL that are using that .dll, rebuild it, and then re-open it.
I have tried ⎕EX-ing the namespaces that it is loaded into, but that doesn't seem to work. I've even tried setting ⎕USING within each of those namespaces to '' before ⎕EX-ing, and that also also doesn't help.
Is there some way around this, or is restarting my only option?
I have tried ⎕EX-ing the namespaces that it is loaded into, but that doesn't seem to work. I've even tried setting ⎕USING within each of those namespaces to '' before ⎕EX-ing, and that also also doesn't help.
Is there some way around this, or is restarting my only option?
- SMNR
- Posts: 2
- Joined: Wed Oct 24, 2018 7:09 am
Re: How do I release a .dll so that I can rebuild it?
Try File > Close AppDomain to release all the .NET DLLs.
There is also an i-beam to obtain the same result: http://help.dyalog.com/17.0/Content/Lan ... _AppDomain
I hope it helps.
--
Stefano
There is also an i-beam to obtain the same result: http://help.dyalog.com/17.0/Content/Lan ... _AppDomain
I hope it helps.
--
Stefano
-
StefanoLanzavecchia - Posts: 113
- Joined: Fri Oct 03, 2008 9:37 am
Re: How do I release a .dll so that I can rebuild it?
Hi Stefano -
I tried that, and it didn't work as expected. It failed (exited with 1), but had released a lot of other .dlls that I did not want to.
Is there no way to release a single one?
Cheers,
Simon
I tried that, and it didn't work as expected. It failed (exited with 1), but had released a lot of other .dlls that I did not want to.
Is there no way to release a single one?
Cheers,
Simon
- SMNR
- Posts: 2
- Joined: Wed Oct 24, 2018 7:09 am
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group