Skip to content

Conversation

@Evangelink
Copy link
Member

During the investigation, I realized that VSTest custom assembly resolver, enabled only when AppDomains are enabled and only for netfx, includes only VS folders and MSTest.TestAdapter. On 3.7, we started to depend upon some types from MTP leading to the dll being required but not loaded in this mode (the deps is part of a different NuGet).

As part of the analysis, I have also noticed that we are required to keep the framework under the adapter folder for the exact same reason.

I have restored the framework, only for netfx, that will be resolved only when under the customer resolver for netfx in VSTest. For MTP, I have decided not to copy the dll but instead to have wrapper types so we don't "pollute" the engine with types specific to a given platform.

Fixes #4426

@Evangelink Evangelink merged commit d4dba98 into microsoft:rel/3.7 Jan 7, 2025
11 checks passed
@Evangelink Evangelink deleted the fix-deps branch January 7, 2025 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants