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
The test runs as expected when targeting .Net 8.0. However when targeting .Net Framework 461, the test is displayed under 'No Traits' in Visual Studio Test Explorer and run as failed because RemoteExecutor is not supported by .Net Framework.
Am I doing anything wrong? I'm expecting the test is completely filtered out of Test Explorer.
The text was updated successfully, but these errors were encountered:
I have the following test:
which uses
RemoteExecutor
to test against AppContext switch.The test project is multi-targeting .Net Framework 462 and .Net 8.0.
I have following assembly level traits in
AssemblyInfo.cs
of the test project:The dependencies in
Directory.Build.props
if matters:The test runs as expected when targeting .Net 8.0. However when targeting .Net Framework 461, the test is displayed under 'No Traits' in Visual Studio Test Explorer and run as failed because
RemoteExecutor
is not supported by .Net Framework.Am I doing anything wrong? I'm expecting the test is completely filtered out of Test Explorer.
The text was updated successfully, but these errors were encountered: