Skip to content

[Breaking][v4] Assembly version shouldn't be fixed to 14.0.0.0 #5690

@Youssef1313

Description

@Youssef1313

Both test framework and adapter set UseAssemblyVersion14 to true.

<AssemblyVersion>14.0.0.0</AssemblyVersion>
<AssemblyFileVersion>14.0.0.0</AssemblyFileVersion>

We shouldn't do that anymore, and MSTest assemblies should be properly versioned, similar to MTP assemblies.

This means that in v4, we will have to use a lower version (4.x) instead of 14.x, which may also be problematic that a newer version of the assembly is actually using an older version number. Thus, I also think it's safest to rename the assembly altogether.

  • Instead of Microsoft.VisualStudio.TestPlatform.TestFramework, we simply use MSTest.TestFramework
  • Instead of Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter, we simply use MSTest.TestAdapter.

NOTE: I'm suspecting that fixing the version to 14.0.0.0 may be causing issues on .NET Framework when dealing with GAC.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: MSTestIssues with MSTest that are not specific to more refined area (e.g. analyzers or assertions)Breaking ‼️

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions