Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 4, 2025

Updated Microsoft.NET.Test.Sdk from 15.9.0 to 17.14.1.

Release notes

Sourced from Microsoft.NET.Test.Sdk's releases.

17.14.1

What's Changed

Full Changelog: microsoft/vstest@v17.14.0...v17.14.1

17.14.0

What's Changed

.NET versions updated

This version of VS Test upgraded .NET to net8 and net9. All projects targeting net6.0 (or other end-of-life .NET target frameworks) should pin their version of Microsoft.NET.Test.SDK to 17.13.0, or update the projects to net8 or newer. We remain backwards compatible with previous versions of Microsoft.NET.Test.SDK. This change does NOT prevent you from:

  • Updating to the latest VS, and running tests from net6.0 test projects.
  • Updating to the latest .NET SDK, and running tests from net6.0 test projects.

It also has no impact on .NET Framework projects, where we continue targeting .NET Framework 4.6.2.

Changes

Internal version updates and fixes

New Contributors

17.14.0-preview-25107-01

What's Changed

.NET versions updated

This version of VS Test upgraded .NET to net8 and net9. All projects targeting net6.0 (or other end-of-life .NET target frameworks) should pin their version of Microsoft.NET.Test.SDK to 17.13.0, or update the projects to net8 or newer. We remain backwards compatible with previous versions of Microsoft.NET.Test.SDK. This change does NOT prevent you from:

  • Updating to the latest VS, and running tests from net6.0 test projects.
  • Updating to the latest .NET SDK, and running tests from net6.0 test projects.

It also has no impact on .NET Framework projects, where we continue targeting .NET Framework 4.6.2.

Changes

Internal version updates and fixes

Will probably revert before release:

New Contributors

Full Changelog: microsoft/vstest@v17.13.0...v17.14.0-preview-25107-01

17.13.0

What's Changed

New Contributors

Full Changelog: microsoft/vstest@v17.12.0...v17.13.0

17.12.0

What's Changed

Internal and infrastructure fixes:

Full Changelog: microsoft/vstest@v17.11.1...v17.12.0

17.11.1

What's Changed

Full Changelog: microsoft/vstest@v17.11.0...v17.11.1

17.11.0

What's Changed

New Contributors

Full Changelog: microsoft/vstest@v17.10.0...v17.11.0-release-24352-06

17.11.0-release-24373-02

What's Changed

Full Changelog: microsoft/vstest@v17.11.0-release-24352-06...v17.11.0-release-24373-02

17.11.0-release-24352-06

What's Changed

New Contributors

Full Changelog: microsoft/vstest@v17.10.0...v17.11.0-release-24352-06

17.10.0

What's Changed

And many infrastructure related changes and updates.

New Contributors

Full Changelog: microsoft/vstest@v17.9.0...v17.10.0

17.10.0-release-24177-07

What's Changed

New Contributors

And many infrastructure related changes to migrate our pipelines to common build system.

Full Changelog: microsoft/vstest@v17.10.0-preview-24080-01...v17.10.0-release-24177-07

17.10.0-preview-24080-01

What's Changed

New Contributors

Full Changelog: microsoft/vstest@v17.9.0-preview-23577-04...v17.10.0-preview-24080-01

17.9.0

What's Changed

New Contributors

Full Changelog: microsoft/vstest@v17.8.0...v17.9.0

17.9.0-release-23619-01

What's Changed

Full Changelog: microsoft/vstest@v17.9.0-preview-23577-04...v17.9.0-release-23619-01

17.9.0-preview-23577-04

What's Changed

  • Updated VSSDK.BuildTools version by @​cvpoienaru in #​4765
  • Update dump client to latest by @​nohwnd in #​4724
  • Fix staircase in logger by @​nohwnd in #​4756
  • Create a proper MSBuild ToolTask based VSTestTask by @​nohwnd in #​2702
  • Fix CPU is consumed by polling frequently when there is no subscriber by @​nohwnd, @​cvpoienaru in #​4735
  • Remove javascript in HtmlLogger by @​daveMueller in #​4744
  • Update VSIX metadata by @​nohwnd in #​4550
  • Add platform guard by @​dotMorten in #​4737

Full Changelog: microsoft/vstest@v17.9.0-preview-23531-01...v17.9.0-preview-23577-04

17.9.0-preview-23531-01

What's Changed

Full Changelog: microsoft/vstest@v17.9.0-preview-23503-02...v17.9.0-preview-23531-01

17.9.0-preview-23503-02

What's Changed

  • Remove dependency on Nuget.Frameworks by @​nohwnd in #​4693

Full Changelog: microsoft/vstest@v17.8.0-release-23468-02...v17.9.0-preview-23503-02

17.8.0

What's Changed

Full Changelog: microsoft/vstest@v17.7.2...v17.8.0

17.8.0-release-23468-02

What's Changed

  • Upgrade Newtonsoft.Json from 13.0.1 to 13.0.3 by @​mthalman in #​4681

Full Changelog: microsoft/vstest@v17.8.0-preview-23424-02...v17.8.0-release-23468-02

17.8.0-preview-23424-02

What's Changed

New Contributors

Full Changelog: microsoft/vstest@v17.8.0-preview-23371-04...v17.8.0-preview-23424-02

17.8.0-preview-23371-04

Issues Fixed

  • Take System dlls from testhost folder #​4610
  • Simplify naming in ExecutionTests
  • Fix XmlException when writing Html log with certain test names #​4576

Full Changelog: here

Drops

17.7.2

What's Changed

Full Changelog: microsoft/vstest@v17.7.1...v17.7.2

17.7.1

What's Changed

  • Take System dlls from testhost folder to fix running .NET Framework dlls on mono and under VS on Mac in #​4610 by @​Evangelink
  • Fix hangs in parallel execution and discovery in #​4629 by @​nohwnd
  • Fix executable bitness for testhost.x86 in #​4654 by @​nohwnd

Full Changelog: microsoft/vstest@v17.7.0...v17.7.1

17.7.0

⚠️ Microsoft.TestPlatform 17.7.0 nuget package is hidden from Nuget.org, we've encountered an unexpected issue with versioning which prevents it from being used in all AzDO clients. We are working on a fix.

The most pressing issues were all backported to 17.6.1, 17.6.2 and 17.6.3.

Issues fixed (since 17.6.3)

  • Don't print socket transport error in console by @​nohwnd in #​4493 which fixes #​4461
    When testhost crashes, we no longer print the transport error:

     ---> System.Exception: Unable to read data from the transport connection: 
     		An existing connection was forcibly closed by the remote host..
    

    This error is a side-effect or our architecture is almost never the culprit. Instead it leads developers away from the actual issue which is crash of testhost, or datacollector.

  • Pass workloads to proxy managers in #​4422 by @​nohwnd
    Which allows datacollector users to only receive the sources that are currently running in the testhost associated to datacollector, instead of all the sources that have the same target framework.

  • Fix Newtonsoft versions in testhost.deps.json in #​4367 by @​nohwnd
    testhost.runtimeconfig.json files that we ship with testhost contained an old version of Newtonsoft.Json. The version in this file does not have an effect on execution, but some compliance tools statically analyze it and report possible vulnerabilities.

Other fixes:

  • Replacing calls to BuildMultipleAssemblyPath when passing only one source in acceptance tests in #​4358 by @​daveMueller
  • Check for null Path in #​4391 by @​lewing
  • Remove unused variable in #​4425 by @​mthalman
  • Fix execution gets stucks on single netstandard source by @​nohwnd in #​4497 which fixes #​4392
  • TestObject use ConcurrentDictionary instead of Dictionary in #​4450 by @​Evangelink
  • Drop usage of Microsoft.Internal.TestPlatform.Remote in #​4456 by @​Evangelink

Special thanks to @​SimonCropp for the many fixes regarding nullability spelling and code style in #​4518, #​4520, #​4525, #​4526, #​4521, #​4519, #​4522, #​4529 🙇

Full Changelog: microsoft/vstest@v17.6.3...v17.7.0

Drops

  • Microsoft.TestPlatform.ObjectModel : v17.7.0

17.7.0-preview-23364-03

Issues Fixed

  • Trim away netframework targets in source-build #​4357
  • Re-enable publishing nugets, don't continue on error #​4356
  • Merged PR 30352: arcade into main
  • Merged PR 29591: Onboard to arcade

Full Changelog: here

Drops

17.7.0-preview.23280.1

⚠️ This version of Microsoft.TestPlatform nuget was unlisted on Nuget.org, because it causes issues when running tests in AzureDevOps, when VSTest installer is used, and configured to pick up the latest preview version (#​4544).


What is new since 17.6.0?

Version 17.7.0 was filled with moving our infrastructure to build via Arcade, which brought us a more unified build experience and better cooperation with other teams in dotnet organization.

This migration brought a major change to our versioning of preview packages, which will no longer follow the 17.6.0-preview-20230223-05 (<version>-preview<date>-<build>).

Fixes

When test run aborts we are no longer printing the connection related error:

System.Exception: One or more errors occurred.
 ---> System.Exception: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host..
 ---> System.Exception: An existing connection was forcibly closed by the remote host.
   at System.Net.Sockets.NetworkStream.Read(Span`1 buffer)

This error is a common source of confusion, and is not actionable for the user. It simply means that testhost crashed, and the testhost error follows after it, or that logs need to be inspected.

When both --blame-hang and --blame-crash are specified on Windows, and hang dump is triggered then stopping ProcDump is subject to a race condition. Stopping ProcDump too early causes testhost to crash and no dump (nor the hang dump or the crash dump) is generated. This release fixes this issue by waiting for crash dump to finish.

Regressions from 17.5.0 causing crashes of TestHost when .NET Standard dlls, or TestPlatform own dlls are provided for run are fixed, and a list of dlls that are known platform dlls are excluded.

Data collectors consuming the dlls that are run are now provided only paths to dlls that the current testhost is running, rather than all dlls that were provided to the run.

Additional fixes

New Contributors

... (truncated)

17.6.3

Issues Fixed

  • [rel/17.6] Update version to 17.6.3 by @​nohwnd in #​4555
  • [rel/17.6] Disable pre-start of testhosts by @​nohwnd in #​4554

Full Changelog: microsoft/vstest@v17.6.2...v17.6.3

Artifacts

  • TestPlatform vsix: 17.6.3
  • Microsoft.TestPlatform.ObjectModel : 17.6.3

17.6.2

Fixes

This patch addresses the problems that were introduced in 17.6.0 that happen when running on AzDo with the default test.dll filter, which includes additional TestPlatform dlls into the run and fails it.

To mitigate this issue we solved the bug in 17.6.1, and added additional exclusions for known assemblies that are coming from TestPlatform and commonly used test adapters, to avoid trying to run tests from those assemblies.

Description and workarounds for this issue are available here: microsoft/vstest#4516

Full Changelog: microsoft/vstest@v17.6.1...v17.6.2

Artifacts
TestPlatform vsix: 17.6.2
Microsoft.TestPlatform.ObjectModel : 17.6.2

17.6.1

Issues Fixed

This is a tiny patch to fixup few latest issues,

Internal updates:

Full Changelog: microsoft/vstest@v17.6.0...v17.6.1

Artifacts

  • TestPlatform vsix: 17.6.1
  • Microsoft.TestPlatform.ObjectModel : 17.6.1

17.6.0

See the release notes here.

17.6.0-preview-20230223-05

See the release notes here.

17.5.0

See the release notes here.

17.5.0-preview-20221221-03

See the release notes here.

17.5.0-preview-20221003-04

See the release notes here.

17.4.1

See the release notes here.

17.4.0

See the release notes here.

17.4.0-preview-20221003-03

See the release notes here.

17.4.0-preview-20220726-02

See the release notes here.

17.4.0-preview-20220707-01

See the release notes here.

17.3.3

See the release notes here.

17.3.2

See the release notes here.

17.3.1

See the release notes here.

17.3.0

See the release notes here.

17.3.0-preview-20220612-01

See the release notes here.

17.3.0-preview-20220530-08

See the release notes here.

17.3.0-preview-20220426-02

See the release notes here.

17.2.1

See the release notes here.

17.2.0

See the release notes here.

17.2.0-preview-20220401-08

See the release notes here.

17.2.0-preview-20220401-07

See the release notes here.

17.2.0-preview-20220301-01

See the release notes here.

17.2.0-preview-20220131-20

See the release notes here.

17.1.0

See the release notes here.

17.1.0-release-20220113-05

See the release notes here.

17.1.0-preview-20211130-02

See the release notes here.

17.1.0-preview-20211109-03

See the release notes here.

17.0.2

See the release notes here.

17.0.0

See the release notes here.

16.11.0

See the release notes here.

16.10.0

See the release notes here.

16.10.0-release-20210429-01

See the release notes here.

16.10.0-release-20210422-02

See the release notes here.

16.10.0-release-20210330-02

See the release notes here.

16.10.0-release-20210329-03

See the release notes here.

16.10.0-preview-20210219-03

See the release notes here.

16.9.4

See the release notes here.

16.9.1

See the release notes here.

16.9.0-preview-20210127-04

See the release notes here.

16.9.0-preview-20210106-01

See the release notes here.

16.9.0-preview-20201123-03

See the release notes here.


16.9.0-preview-20201020-06

See the release notes here.


16.9.0-preview-20201020-06

Issue Fixed

  • Enable Fakes Datacollector settings to be added in design mode #​2586
  • Fix blame parameter, warning, and add all testhosts to be ngend #​2579
  • Add netcoreapp1.0 support to Microsoft.TestPlatform.TestHost NuGet #​2569
  • Use bitness from process or OS #​2571
  • Restore netcoreapp1.0 support for testhost #​2554
  • Get symbols of DiaSymReader from externals #​2560
  • Do not force .NET4.5 in case legacy test settings are provided #​2545
  • Simplify package references #​2559
  • Enable default compile items for Microsoft.TestPlatform.PlatformAbstractions #​2556
  • Avoid logging >Task returned false but did not log an error.< #​2557
  • Fixed code coverage compatibility issue #​2527
  • Add environment variables to enable MacOS dump
  • Adding test run attachments processing #​2463

See full log here

Drops

16.8.3

See the release notes here.

16.8.0

See the release notes here.

16.8.0-preview-20200921-01

See the release notes here.

16.8.0-preview-20200812-03

See the release notes here.

16.8.0-preview-20200806-02

See the release notes here.

16.7.1

See the release notes here

16.7.0

See the release notes here.

16.7.0-preview-20200519-01

See the release notes here.

16.7.0-preview-20200428-01

See the release notes here.

16.6.1

See the release notes here.

16.6.0

✔ 16.6.1 was released, use that instead.

🔥 VSTest release 16.6.0 has a major bug in Fakes in vstest.console. The 16.6.0 packages are unlisted from nuget.org, with the exception of Microsoft.NET.Test.SDK and it's dependencies which are not impacted by this problem.
Please see: microsoft/vstest#2408

See the release notes here.

16.6.0-preview-20200318-01

See the release notes here.

16.6.0-preview-20200310-03

See the release notes here.

16.6.0-preview-20200309-01

See the release notes here.

16.6.0-preview-20200226-03

See the release notes here.

16.5.0

See the release notes here.

16.5.0-preview-20200203-01

See changelog here

16.5.0-preview-20200116-01

See changelog here

16.5.0-preview-20200110-02

See changelog here

16.5.0-preview-20200102-01

Release notes: here

16.5.0-preview-20191216-02

Release notes: here

16.5.0-preview-20191115-01

Release notes here

16.4.0

Release notes here

16.4.0-preview-20191007-01

Release notes here

16.3.0

Release notes here

16.3.0-preview-20190828-03

Release notes here

16.3.0-preview-20190808-03

  • Support wildcard when source filenames when running tests via vstest console #​1663

16.3.0-preview-20190715-02

Release notes here

16.2.0

Release notes: here

Commits viewable in compare view.

Updated MSTest.TestAdapter from 1.3.2 to 3.10.0.

Release notes

Sourced from MSTest.TestAdapter's releases.

3.10.0

See the release notes here

3.9.3

What's Changed

See the MSTest changelog here: https://github.com/microsoft/testfx/blob/main/docs/Changelog.md#​3.9.3
See the Microsoft.Testing.Platform changelog here: https://github.com/microsoft/testfx/blob/main/docs/Changelog-Platform.md#​1.7.3

Full Changelog: microsoft/testfx@v3.9.2...v3.9.3

3.9.2

What's Changed

  • Fix MSTEST0042 (duplicate data row) false positive with Zero/NegativeZero by @​Youssef1313 in #​5684
  • Allow framework authors to use TestCase.FullyQualifiedName as the TestNodeUid by @​Youssef1313 in #​5658
  • Ensure TestMethodAttribute.Execute is run on the correct execution context by @​Youssef1313 in #​5688
  • Avoid loading System.Threading.Tasks.Extensions when not needed by @​Youssef1313 in #​5694
  • Fix UseAsync property in TestMethodAttribute derived classes to use type checks by @​Youssef1313 and @​Copilot in #​5708
  • Fix UnitTestRunner leaking some test class instances by @​Youssef1313 in #​5715

See the MSTest changelog here: https://github.com/microsoft/testfx/blob/main/docs/Changelog.md#​3.9.2
See the Microsoft.Testing.Platform changelog here: https://github.com/microsoft/testfx/blob/main/docs/Changelog-Platform.md#​1.7.2

Full Changelog: microsoft/testfx@v3.9.1...v3.9.2

3.9.1

What's Changed

See the MSTest changelog here: https://github.com/microsoft/testfx/blob/main/docs/Changelog.md#​3.9.1
See the Microsoft.Testing.Platform changelog here: https://github.com/microsoft/testfx/blob/main/docs/Changelog-Platform.md#​1.7.1

Full Changelog: microsoft/testfx@v3.9.0...v3.9.1

3.9.0

In this release we focused a lot on providing fixes for MSTest and Microsoft.Testing.Platform. The most notable new features and fixes are:

MSTest

Microsoft.Testing.Platform

We've also improved the dotnet test experience in dotnet SDK, especially around Retry plugin experience, and started dogfooding the experience in our own repository. Please check out how to enable the new dotnet test experience for Microsoft.Testing.Platform in net10 by following this link, and help us dogfood it.

New Contributors

See the MSTest changelog here: https://github.com/microsoft/testfx/blob/main/docs/Changelog.md#​3.9.0
See the Microsoft.Testing.Platform changelog here: https://github.com/microsoft/testfx/blob/main/docs/Changelog-Platform.md#​1.7.0

Full Changelog: microsoft/testfx@v3.8.3...v3.9.0

3.9.0-preview.25167.10

3.8.3

See the release notes here

3.8.2

See the release notes here

3.8.1

See the release notes here

3.8.0

See the release notes here

Announcements

3.7.3

See the release notes here

3.7.2

See the release notes here

3.7.1

See the release notes here

3.7.0

See the release notes here

Announcements

MSTest.Analyzers is now a transitive dependency of MSTest.TestFramework and thus no longer needs to be manually installed.

Note: The only rules enabled by default as warnings, which could potentially cause build errors when updating MSTest, have been carefully selected and thoroughly validated. These rules specifically address real runtime issues related to the usage of MSTest, ensuring that no purely stylistic or low-impact analyzers are enforced by default.

3.6.4

See the release notes here

3.6.3

See the release notes here

3.6.2

See the release notes here

3.6.1

See the release notes here

3.6.0

See the release notes here

Special shoutout to @​SimonCropp for his exceptional contribution in improving the quality of the repository.

3.5.2

See the release notes here

3.5.1

See the release notes here

3.5.0

See the release notes here

3.4.3

See the release notes here

3.4.2

See the release notes here

3.4.1

See the release notes here

3.4.0

Here are the highlights of the current release, full change log is available below:

microsoft/testfx@v3.3.1...v3.4.0

MSTest

New and improved analyzers

We've added more code analyzers to help you prevent mistakes, and to ensure a consistent code style of your tests.

One example of a new analyzer that was added in 3.4.0 is MSTEST0024: Do not store TestContext in static members. This analyzer has info severity by default, and will show a message, when you store TestContext in a static member in your class. This is not recommended, and you should be using a TestContext property instead:

image

The other analyzers added in this release:

  • MSTEST0017: Assertion arguments should be passed in the correct order by @​Evangelink in #​2256
  • MSTEST0019: Prefer TestInitialize over ctor by @​Evangelink in #​2580
  • MSTEST0020: Prefer ctors over TestInitialize methods by @​Evangelink in #​2582
  • MSTEST0021: Prefer Dispose over TestCleanup methods by @​Evangelink in #​2585
  • MSTEST0022: Prefer 'TestCleanup' methods over Dispose by @​Evangelink in #​2586
  • MSTEST0023: Do not negate boolean assertions by @​Evangelink in #​2594
  • MSTEST0024: Do not store TestContext in static members by @​Evangelink in #​2597
  • Add PreferAssertFailOverAlwaysFalseConditionsAnalyzer by @​Youssef1313 in #​2799

If you've just learned about MSTest analyzers, please also check out the analyzers that were added in previous releases. They will help you ensure that your test classes and test methods are recognized by MSTest and are not accidentally ignored.

The analyzers are automatically installed with the MSTest NuGet meta-package. But can also be installed separately using the MSTest.Analyzers NuGet package.

More timeout options

Timeout can now be specified on all fixture methods, including ClassCleanup, AssemblyCleanup, TestCleanup and TestInitalize. In this case I want my [ClassCleanup] to time out after 1 second:
.....

Description has been truncated

Bumps Microsoft.NET.Test.Sdk to 17.14.1
Bumps MSTest.TestAdapter to 3.10.0
Bumps MSTest.TestFramework to 3.10.0

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-version: 17.14.1
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-version: 17.14.1
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: MSTest.TestAdapter
  dependency-version: 3.10.0
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: MSTest.TestAdapter
  dependency-version: 3.10.0
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: MSTest.TestFramework
  dependency-version: 3.10.0
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: MSTest.TestFramework
  dependency-version: 3.10.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code labels Aug 4, 2025
@jaime-olivares jaime-olivares merged commit c4f6122 into master Aug 4, 2025
@dependabot dependabot bot deleted the dependabot/nuget/Tests/Acceptance/multi-e38ed9ab1e branch August 4, 2025 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant