Invalid symbol in mscorlib

DenamikDevDenamikDev Posts: 2
edited October 27, 2015 3:23PM in SmartAssembly
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?

Comments

  • Jessica RJessica R Posts: 1,319 Rose Gold 4
    Hi and thanks for your post!

    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?


Sign In or Register to comment.