-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Common Language Runtime detected an invalid program #3937
Comments
I can reproduce the error only when using improper images but this is not linked to MSTest so I am going to close this issue. |
Hi @Evangelink Thanks for you reply,Could you share me what's the "improper images". Could you give one example? Thanks. |
The code can work fine in ConsoleApp(net8) project. It also work fine in UnitTest Framework project. |
Can you share the 2 images you are using so that I can ensure there is a bug in MSTest? |
@Evangelink Thanks for your help,I think I find the root cause,the root cause is we are using 3rd plugin:typeMock. |
Describe the bug
I got the exception when I want to visit the image in ImageList
Steps To Reproduce
I get the exception "Common Language Runtime detected an invalid program" for this line: ImageList1.Images[0];
Expected behavior
Actual behavior
Additional context
The text was updated successfully, but these errors were encountered: