The first issue is because as an optimisation, Cecil will directly
copy the serialized form of the attribute if it's not deserialized. We
probably shouldn't do it if there's a Type in the signature of the
custom attribute.

The second issue is a pretty complex one. There's nothing automatic,
so you'll have to map all references from the old name to the new name
in all your assemblies.

Best,
Jb

On Thu, May 16, 2013 at 12:57 AM,  <[email protected]> wrote:
> Hi,
>
> I'm renaming my namespaces using code I found here and I've come across 2
> different issues with it.
>
> The first one was that types used as constructor parameters in constructor
> attributes did not get updated. Merely enumerating the constructor
> attributes seemed to fix this though.
>
> The problem I am having is that I'm doing this over multiple assemblies and
> I'm losing the references between assemblies. Is there a way to do this over
> multiple assemblies or am I going to be better off ILMerging the assemblies
> together and then running it on that?
>
> The code I am using is here: https://gist.github.com/MatthewSteeples/5588087
>
> Regards,
> Matthew
>
> --
> --
> --
> mono-cecil
> ---
> You received this message because you are subscribed to the Google Groups
> "mono-cecil" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
-- 
--
mono-cecil
--- 
You received this message because you are subscribed to the Google Groups 
"mono-cecil" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to