Invalid symbol in mscorlib
DenamikDev
Posts: 2
Hi,
We have branched our solution in VS13 and are now building and obfuscating our executables. This workflow used to work without problems.
Because of the branching, our solution now resides in a different location on disk. It builds without any errors.
However, obfuscating one of the projects of the solution now throws an "invalid symbol" in SA:
[mscorlib]System.Runtime.InteropServices.Marshal::SizeOf
System.Int32(!!0)
It identifies the assembly that should contain this symbol as ...Reference AssembliesMicrosoftFramework.NetFrameworkv4.5mscorlib.dll
I've tried rescanning the dependencies and even setting up a new saproj file, but the error persists.
Can you offer any help on how to resolve this issue please?
We have branched our solution in VS13 and are now building and obfuscating our executables. This workflow used to work without problems.
Because of the branching, our solution now resides in a different location on disk. It builds without any errors.
However, obfuscating one of the projects of the solution now throws an "invalid symbol" in SA:
[mscorlib]System.Runtime.InteropServices.Marshal::SizeOf
System.Int32(!!0)
It identifies the assembly that should contain this symbol as ...Reference AssembliesMicrosoftFramework.NetFrameworkv4.5mscorlib.dll
I've tried rescanning the dependencies and even setting up a new saproj file, but the error persists.
Can you offer any help on how to resolve this issue please?
Comments
We used to see this error when trying to protect .NET 4.5.1 assemblies as SmartAssembly wasn't resolving the correct copy of mscorlib. Can I first check--what version of SmartAssembly are you using? (This issue was resolved in version 6.9)
If you're on an older version, can you kindly try updating to the latest from here: http://download.red-gate.com/SmartAssembly.exe
Please let me know if that helps or not!
Jessica Ramos | Product Support Engineer | Redgate Software
Have you visited our Help Center?