You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could not load type 'System.Threading.Lock' from assembly 'Microsoft.VisualStudio.TestPlatform.TestFramework, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
#4778
Closed
Evangelink opened this issue
Jan 24, 2025
· 3 comments
Tests are crashing when targeting net9.0 WinUI for all MSTest 3.7. Tests are running well for 3.6.4 and lower
Investigation
In 3.7.0, we added support for net9.0 but the target is loading the winui platform services from net6.0 which is causing a mismatch in signature for the location of Lock.
The text was updated successfully, but these errors were encountered:
Can confirm that downgrading MsTest.TestAdapter to version 3.6.4 fixed the issue for me. I was not able to run any winui3 tests on .net9 on versions 3.7+. Thanks for the workaround hint.
Describe the bug
Tests are crashing when targeting
net9.0
WinUI for all MSTest3.7
. Tests are running well for3.6.4
and lowerInvestigation
In 3.7.0, we added support for
net9.0
but the target is loading the winui platform services fromnet6.0
which is causing a mismatch in signature for the location ofLock
.The text was updated successfully, but these errors were encountered: