Here are the current known issues you may face when running tests, along with available workarounds.
- Issue: Tests that depend on
Thread.CurrentPrincipal
may fail. This is due to change in inter process communication in Test Platform. - Workaround: Use an alternative like
System.Security.Principal.WindowsIdentity.GetCurrent()
- Issue: Tests that depend on the name of the currnet running process may fail.
- Workaround: Tests run in one of following process
vstest.console.exe
,testhost.exe
,testhost.x86.exe
ordotnet.exe
based on run configuration (/Platform
and/Framework
). If the tests depend on the process name, then update the tests accordingly.