Closed hyke123 closed 3 days ago
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