Skip to content
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

StackOverflow in AssemblyResolver #3951

Open
KirillOsenkov opened this issue Oct 17, 2024 · 0 comments
Open

StackOverflow in AssemblyResolver #3951

KirillOsenkov opened this issue Oct 17, 2024 · 0 comments
Assignees

Comments

@KirillOsenkov
Copy link
Member

We're seeing a stack overflow (infinite recursion) in AssemblyResolver:

assembly = SearchAssembly(_searchDirectories, assemblyNameToLoad, isReflectionOnly);

It reproduces with the latest versions 3.6.1 of MSTest.TestAdapter and MSTest.TestFramework (and version 17.11.1 of Microsoft.NET.Test.Sdk).

It is trying to resolve the assembly Microsoft.TestPlatform.CoreUtilities.dll
Image

which does exist on disk in the test directory, and is of the right version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants