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

Revert part of #3422 (Remove PlatformEqtTrace.Instance) #3518

Merged
merged 1 commit into from
Mar 25, 2022

Conversation

MarcoRossignoli
Copy link
Contributor

@MarcoRossignoli MarcoRossignoli commented Mar 25, 2022

In PR #3422 we moved the creation of the PlatformEqtTrace inside the Microsoft.TestPlatform.PlatformAbstractions.dll to be able to log information from it.
Unfortunately this update broke a scenario where we're loading inside the test host an old version of Microsoft.TestPlatform.PlatformAbstractions.dll(the one close to the runner) and the new Microsoft.TestPlatform.ObjectModel.dll close to the test container.
This ends with a MissingMethodException because the old dll doesn't have the expected method.

The specific scenario is:

Runner: microsoft.testplatform.16.7.0-preview-20200519-01
TestAdapter: mstest.testadapter.2.1.0
Object model close to the user container: 17.2.0-preview-20220311-01

& "...\microsoft.testplatform.16.7.0-preview-20200519-01\tools\net451\Common7\IDE\Extensions\TestPlatform\vstest.console.exe" "test container.dll" /TestAdapterPath:...\mstest.testadapter.2.1.0\build\_common /diag:log.txt  /logger:trx

cc: @AbhitejJohn

@MarcoRossignoli MarcoRossignoli requested a review from nohwnd March 25, 2022 11:04
@MarcoRossignoli MarcoRossignoli enabled auto-merge (squash) March 25, 2022 11:06
@MarcoRossignoli MarcoRossignoli merged commit 2edb366 into microsoft:main Mar 25, 2022
@MarcoRossignoli MarcoRossignoli deleted the revert branch March 25, 2022 11:50
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