Hi! I was replying with issues regarding the use of macros in ObfuscationEvents in the thread "Verification of Assemblies getting a lot of errors...", but haven't gotten a response from you since my post on 1 Sep 2010. I thought maybe it would be easier to start a new thread specifically on this topic.
When I have this: {AfterAssemblyGeneration=copy %SourceDir%%AsmFileNameWithoutExtension%.pdb %TargetDir%}
This is the output:
---- Start running AfterAssemblyGenerate event ----
Exception: Illegal characters in path.
Stack Trace:
Assembly: mscorlib, Type: System.IO.Path[0x020006c6], Method: Void CheckInvalidPathChars(System.String)[0x06003fdc], ILOffset:0x00000034
Assembly: mscorlib, Type: System.IO.Path[0x020006c6], Method: System.String GetDirectoryName(System.String)[0x06003fbf], ILOffset:0x00000003
Assembly: NineRays.Obfuscator, Type: NineRays.ILOMD.ILOMDProvider+\u14[0x02000009], Method: System.Collections.Specialized.NameValueCollection \u19(\u17)[0x06000081], ILOffset:0x0000003e
Assembly: NineRays.Obfuscator, Type: NineRays.ILOMD.ILOMDProvider[0x02000007], Method: Void \u19(System.String, System.String, System.String, System.String, \u17)[0x0600004e], ILOffset:0x00000064
Stack trace digest:
-------------------
mscorlib; 0x06003fdc; 0x00000034
mscorlib; 0x06003fbf; 0x00000003
NineRays.Obfuscator; 0x06000081; 0x0000003e
NineRays.Obfuscator; 0x0600004e; 0x00000064
-------------------
---- Finish running AfterAssemblyGenerate event ----
I'm not sure what I'm doing wrong. Can you help?
Best regards,
ct