-
Notifications
You must be signed in to change notification settings - Fork 325
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
System.TypeLoadException: Could not load type of field 'Microsoft.VisualStudio.TestPlatform.ObjectModel.PlatformEqtTrace:TraceSourceLevelsMap' (1) due to #4671
Comments
Run into the same problem, but I think it's more likely to be a problem with vstest, see issue #4657. |
Hi @Romfos, Was the code working before? Have you only bumped MSTest or have you changed something else (e.g. version of VS, version of test SDK...)? I see you are using net462, are you using the AppDomain feature? Is it possible to have a small reproducer for us to investigate the issue? |
Hi @Evangelink , yes, please: repo build: note: looks like issue started after .net sdk latest patch applying |
I have transfered the issue to vstest repo because I have confirmed issue is linked to it. Uninstalling .NET 7 fixes the issue. |
This is probably the same issue as #4549 and #4627, we inserted fix for that into servicing on 7.0.401, and it should be in the next service release. (this has links to the insertion pr #4549 (comment)) |
Workaround for the following issues with the Microsoft.TestPlatform.ObjectModel package: - microsoft/vstest#4549 - microsoft/vstest#4671 - microsoft/vstest#4627 Resolves: No entry
The new versions fix the issue #4671: microsoft/vstest#4671 Resolves: No enty
Hi,
MSTest v3 Stop working for linux
Nuget:
Build link link:
https://github.com/Romfos/AutoTests.Framework/actions/runs/5866367920/job/15905047692
The text was updated successfully, but these errors were encountered: