Skip to content

Marshalling fails in .net 9 #4

@hakito

Description

@hakito

DateTimeOffset is marked as LayoutKind.Auto

I get this exception when trying to call Save()

System.TypeLoadException: Cannot marshal field 'LastWritten' of type 'WindowsCredentialManager.Win32.Types.CREDENTIALW': Structures marked with [StructLayout(LayoutKind.Auto)] cannot be marshaled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions