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

Closed
KirillOsenkov opened this issue Oct 17, 2024 · 1 comment
Closed

StackOverflow in AssemblyResolver #3951

KirillOsenkov opened this issue Oct 17, 2024 · 1 comment
Assignees
Labels

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

@Evangelink
Copy link
Member

Closing as fixed as it's not reproing for now.

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

No branches or pull requests

3 participants