How can I change the name of a dynamic assembly after it has been created?
Posted
by Samuel Jack
on Stack Overflow
See other posts from Stack Overflow
or by Samuel Jack
Published on 2010-03-23T09:40:00Z
Indexed on
2010/03/23
9:43 UTC
Read the original article
Hit count: 370
Is there any way to change the name of a dynamic assembly after it has been created? I'm using a framework that uses dynamic methods, and it is creating a dynamic assembly with the same name as my main assembly (which causes problems with WPF when it tries to load resources). So I need to find a workaround, and I thought of trying to change the name of the dynamic assembly.
I've tried using GetName() and then setting the Name property, but it appears that GetName returns a clone of the name because my change doesn't stick.
What else can I try?
© Stack Overflow or respective owner