Skip to content

MSTest.Sdk 3.7.0 issues when targeting .NET Framework 4.8 #4426

@avivanoff

Description

@avivanoff

When using MSTest.Sdk 3.7.0 in the test project targeting .NET Framework 4.8 I found the following issues:

  • No DLL is produced, only EXE.
  • Executing tests from Visual Studio fails with:
    An exception occurred while test discoverer 'MSTestDiscoverer' was loading tests. Exception: Could not load file or assembly 'Microsoft.Testing.Platform, Version=1.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

When projects target .NET 8 the aforementioned issues are not present. See the sample project.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions