question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Cerlancismcommented, Jul 23, 2020

I have reported to the feedback hub at https://aka.ms/AA928xa

Do upvote and comment to the issue so it gets more attention, or you maybe you guys could help to escalate the issue internally to the Windows Sandbox team.

0reactions
TakamiChiecommented, Jul 25, 2020

Thanks for the quick action.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix System.BadImageFormatException
It used to work just fine, but now when I try to execute that method, I get the exception: System.BadImageFormatException: 'Could not load ......
Read more >
c# - Troubleshooting BadImageFormatException
I received "BadImageFormatException" that normally occurs when you mix platform targets (for example using a dll file compiled in X64 in an ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found