Skip to content

怎么能避免重复增加Assembly #216

Closed Answered by NMSAzulX
TimonYang asked this question in Q&A
Discussion options

You must be logged in to vote
  1. 目前来说不能合并程序集,所以无法向程序集中追加内容。运行时不支持。
  2. 如果需要经常动态生成同样的类,需要缓存起来, 比如把生成的委托/类型/程序集放在静态区或者字典中。
  3. 默认是可以访问同一域内所有的程序集。 只要在同一个域内,你的代码引用动态生成的类是可以的。

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@TimonYang
Comment options

Answer selected by TimonYang
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants