Skip to content

[Windows Sandbox] System.BadImageFormatException: Signature is not IMAGE_CEE_CS_CALLCONV_LOCAL_SIG #1668

@Cerlancism

Description

@Cerlancism

I tried to use Powershell in Windows Sandbox I keep getting the following error.

Oops, something went wrong.  Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new
-----------------------------------------------------------------------
Last 0 Keys:


Exception:
System.BadImageFormatException: Signature is not IMAGE_CEE_CS_CALLCONV_LOCAL_SIG.
   at .cctor()
-----------------------------------------------------------------------

I think the recent Windows update caused this as I can recall it is working fine last time.

My host system:
OS Name Microsoft Windows 10 Pro
Version 10.0.19041 Build 19041

Sandbox:
OS Name Microsoft Windows 10 Enterprise
Version 10.0.19041 Build 19041

Possible causes:
https://support.microsoft.com/en-us/help/4565627/kb4565627-cumulative-update-for-net-framework
https://support.microsoft.com/en-us/help/4565503/windows-10-update-kb4565503

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions