Hi,
I am trying to obfuscate a single portable library using the following command
NRObfuscator.exe NTLIRAUVCSEP#4 /SRC= /OUT= /PATHS="C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.5\Profile\Profile78\\" /KEY= file.
Result:
----------------
Can't find reference to mscorlib assembly
Assembly: NineRays.ILOMD, Type: VH.h[0x02000120], Method: Int32 W(L.L, b.0, System.String)[0x0600078b], ILOffset:0x00000058
Assembly: NineRays.ILOMD, Type: VH.h[0x02000120], Method: Int32 W(L.L, b.0, \u16s.\u17, System.String, System.String)[0x0600078a], ILOffset:0x000000ff
Assembly: NineRays.ILOMD, Type: VH.h[0x02000120], Method: Int32 \u16(L.L, \u16s.\u17, b.0, System.String, System.String, System.String, Byte[])[0x06000786], ILOffset:0x00000159
Assembly: NineRays.ILOMD, Type: VH.h[0x02000120], Method: Void W(L.L, \u16s.\u17, b.0, System.Collections.Hashtable, Boolean, Boolean)[0x0600076e], ILOffset:0x00000699
Assembly: NineRays.ILOMD, Type: VH.h[0x02000120], Method: 6 W(L.L, \u16s.\u17, Boolean, V5.E)[0x0600078f], ILOffset:0x000000ac
Assembly: NineRays.ILOMD, Type: VH.h[0x02000120], Method: Void \u16(V5.E, L.L, \u16s.\u17)[0x060007a6], ILOffset:0x00000067
Assembly: NineRays.ILOMD, Type: VH.h[0x02000120], Method: System.String W(System.String, L.L, \u16s.\u17, Boolean, Boolean)[0x0600079c], ILOffset:0x00000050
Assembly: NineRays.Obfuscator, Type: NineRays.ILOMD.ILOMDProvider[0x02000007], Method: Boolean Obfuscate(NineRays.ILOMD.Options.Project)[0x06000049], ILOffset:0x0000063e
Stack trace digest:
-------------------
NineRays.ILOMD; 0x0600078b; 0x00000058
NineRays.ILOMD; 0x0600078a; 0x000000ff
NineRays.ILOMD; 0x06000786; 0x00000159
NineRays.ILOMD; 0x0600076e; 0x00000699
NineRays.ILOMD; 0x0600078f; 0x000000ac
NineRays.ILOMD; 0x060007a6; 0x00000067
NineRays.ILOMD; 0x0600079c; 0x00000050
NineRays.Obfuscator; 0x06000049; 0x0000063e
-------------------
The mscorlib assembly is indeed in the folder specified in the Paths argument. A Resolver window is displayed:
Following assembly cannot be resolved:
[System.Object, System.Runtime, Version=4.0.0.0, Culture=neutral,PublicKeyToken=b03f5f7f11d50a30]]. System.Collections, Version=4.0.0.0,Culture=neutral, PublicKeyToken=b03f5f7f11d50a30
[Note: This is *exactly* what the window displays]. Clicking Browse searches for a file named "[System.Object.dll"? I have selected mscorlib from the Paths folder - but nothing seems to get me past this error?
Please help.
Kind Regards