O
O.B.
I recently changed a struct to a class and made its layout Sequential
instead of Explicit for Marshalling. And now I'm getting the
following error when running my unit tests. I have verified that all
DLLs and EXEs are being completely rebuilt. Is there a way to find
out what "format" is invalid or what format is expected?
System.TypeLoadException: Could not load type
'MUSE.DIS.PDUs.Entity.EntityState' from assembly 'MUSE_Common,
Version=8.1.0.21285, Culture=neutral, PublicKeyToken=null' because the
format is invalid.
instead of Explicit for Marshalling. And now I'm getting the
following error when running my unit tests. I have verified that all
DLLs and EXEs are being completely rebuilt. Is there a way to find
out what "format" is invalid or what format is expected?
System.TypeLoadException: Could not load type
'MUSE.DIS.PDUs.Entity.EntityState' from assembly 'MUSE_Common,
Version=8.1.0.21285, Culture=neutral, PublicKeyToken=null' because the
format is invalid.