You must be logged in to reply.

Page 1 of 1 out of 3 messages.

NETMF 4.3 Maximum Assemblies

Posted 1yr ago
by Skewworks | Legend | 69,841 exp
Posted 1yr ago
by Skewworks | Legend | 69,841 exp
There wouldn't by chance be a maximum of 64 assemblies loaded which also does not reset if those assemblies are removed from an AppDomain would there?

This would seem to be the case. I could understand having a max assembly count but if they're loaded into a new domain and that domain is then removed shouldn't the count be lowered to reflect the removed assemblies?

BTW this happens even if you were to load the same assembly, unload it and repeat. Which could (under silly circumstances) limit you to 1 additional assembly....
1 like
Reply #1 — Posted 1yr ago
by John_ghielectroncs | Employee
Reply #1 — Posted 1yr ago
by John_ghielectroncs | Employee
@Skewworks - In NETMF there is a maximum of 64 assemblies: https://github.com/NETMF/netmf-interpreter/blob/dev/CLR/Include/TinyCLR_Runtime.h#L1474

A quick look at app domain unload doesn't look like it lowers the count but I'm not 100% positive.
Reply #2 — Posted 1yr ago
by Skewworks | Legend | 69,841 exp
Reply #2 — Posted 1yr ago
by Skewworks | Legend | 69,841 exp
@John_ghielectroncs - I'm fairly positive it is not. Thanks for confirming the 64 max assemblies for me. Please let me know if the count after unload will be addressed. I'll work around it for now. Smiley

Page 1 of 1 out of 3 messages.

You must be logged in to reply.