Hi,
We are currently experiencing an issue when calling DotNetProjectResolver.AddExternalReference on an assembly that contains structures marked withand
I get this exception:
When we load the dll with the Quick Start we get the same exception.
This issue could be due to reflection on the dll but we found that .Net reflector is well able to disassemble this library.
Finding a workaround or fixing this would be of great help for us.
We are supposed to deliver a project based on SyntaxEditor referencing such kind of assemblies.
I'll send you by email the failing assembly.
Thanks a lot in advance for your help,
Regards,
Edward.
[Modified at 03/23/2007 12:36 PM]
We are currently experiencing an issue when calling DotNetProjectResolver.AddExternalReference on an assembly that contains structures marked with
[System.Runtime.InteropServices.StructLayout(LayoutKind.Explicit)]
[MarshalAs(UnmanagedType.ByValArray, SizeConst=15)]
public byte[] password;
System.ApplicationException: Could not load exported type data for assembly
'Sample, Version=1.0.2638.32928, Culture=neutral, PublicKeyToken=null'. --->
System.TypeLoadException: Could not load type PSAuthT from assembly Sample,
Version=1.0.2638.32928, Culture=neutral, PublicKeyToken=null because it contains an
object field at offset 0 that is incorrectly aligned or overlapped by a non-object
field.
This issue could be due to reflection on the dll but we found that .Net reflector is well able to disassemble this library.
Finding a workaround or fixing this would be of great help for us.
We are supposed to deliver a project based on SyntaxEditor referencing such kind of assemblies.
I'll send you by email the failing assembly.
Thanks a lot in advance for your help,
Regards,
Edward.
[Modified at 03/23/2007 12:36 PM]