Update dependency Microsoft.NET.Test.Sdk to v18
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| Microsoft.NET.Test.Sdk | nuget | major |
17.6.0 -> 18.0.1
|
Release Notes
microsoft/vstest (Microsoft.NET.Test.Sdk)
v18.0.1
What's Changed
Fixing an issue with loading covrun64.dll on systems that have .NET 10 SDK installed: https://learn.microsoft.com/en-us/dotnet/core/compatibility/sdk/10.0/code-coverage-dynamic-native-instrumentation
- Disable DynamicNative instrumentation by default by @nohwnd in https://github.com/microsoft/vstest/pull/15298
- Update MicrosoftInternalCodeCoveragePackageVersion to 18.0.6 by @nohwnd in https://github.com/microsoft/vstest/pull/15312
Internal changes
- Update VersionPrefix to 18.0.1 by @nohwnd in https://github.com/microsoft/vstest/pull/15301
- Update build tools to 17.8.43 by @nohwnd in https://github.com/microsoft/vstest/pull/15305
Full Changelog: https://github.com/microsoft/vstest/compare/v18.0.0...v18.0.1
v18.0.0
What's Changed
- Update reporting formatting by @martincostello in https://github.com/microsoft/vstest/pull/15082
- Fix stack trace for Trace.Fail and Debug.Fail by @nohwnd in https://github.com/microsoft/vstest/pull/15103
- Add documentation of environment variables by @Copilot in https://github.com/microsoft/vstest/pull/15095
- IFrameworkHandle.LaunchProcessWithDebuggerAttached allows null for workingDirectory in signature but throws by @Copilot in https://github.com/microsoft/vstest/pull/15091
- Add Dependabot configuration for .NET SDK updates by @JamieMagee in https://github.com/microsoft/vstest/pull/15114
- Handle dotnet_root in testhost version aware way by @nohwnd in https://github.com/microsoft/vstest/pull/15184
- Add magic bytes validation for Mach-O binaries in DotnetHostHelper by @Copilot in https://github.com/microsoft/vstest/pull/15230
- using globbing pattern doesn't work on windows with forward slashes by @Copilot in https://github.com/microsoft/vstest/pull/15088
- Remove tpv0 by @nohwnd in https://github.com/microsoft/vstest/pull/15247
- Cache AssemblyName in ManagedNameHelper by @Youssef1313 in https://github.com/microsoft/vstest/pull/15259
- Add ARM64 support to GetArchitectureForSource methods by @Copilot in https://github.com/microsoft/vstest/pull/15278
Internal fixes and updates
- Fix formatting in two files by @ViktorHofer in https://github.com/microsoft/vstest/pull/15047
- Build TestPlatform packages in VMR by @ViktorHofer in https://github.com/microsoft/vstest/pull/15055
- Condition property on .NET FX MSBuild by @jaredpar in https://github.com/microsoft/vstest/pull/15054
- Migrate to awesome assertions by @nohwnd in https://github.com/microsoft/vstest/pull/15056
- Revert "Build TestPlatform packages in VMR" by @ViktorHofer in https://github.com/microsoft/vstest/pull/15057
- Update package Category by @ViktorHofer in https://github.com/microsoft/vstest/pull/15058
- Revert "Write props of tests into trx" by @nohwnd in https://github.com/microsoft/vstest/pull/15080
- Error on unsupported tfms (#15072) by @nohwnd in https://github.com/microsoft/vstest/pull/15073
- Use policies from testfx to align by @nohwnd in https://github.com/microsoft/vstest/pull/15085
- Update enable-auto-merge.yml by @nohwnd in https://github.com/microsoft/vstest/pull/15102
- Revert ignoring environment test by @Copilot in https://github.com/microsoft/vstest/pull/15094
- unignore tests by @Copilot in https://github.com/microsoft/vstest/pull/15093
- Update MSTest by @Youssef1313 in https://github.com/microsoft/vstest/pull/15108
- Bump dotnet-sdk from 9.0.106 to 9.0.301 by @dependabot[bot] in https://github.com/microsoft/vstest/pull/15179
- Use Assert.Equals by @nohwnd in https://github.com/microsoft/vstest/pull/15181
- Run VSTest tests with MTP by @Youssef1313 in https://github.com/microsoft/vstest/pull/15079
- Use the standard sdk for architecture switch test by @nohwnd in https://github.com/microsoft/vstest/pull/15188
- Remove CUIT (Coded UI Test) from NuGet packages and test projects by @Copilot in https://github.com/microsoft/vstest/pull/15177
- dump-logs? by @nohwnd in https://github.com/microsoft/vstest/pull/15187
- Moving to version 18 by @nohwnd in https://github.com/microsoft/vstest/pull/15209
- Update fakes version by @drognanar in https://github.com/microsoft/vstest/pull/15227
- Microsoft.Intellitrace.Core should be taken from nuget by @nohwnd in https://github.com/microsoft/vstest/pull/15229
- Remove MSTest.Assert.Extensions by @Youssef1313 in https://github.com/microsoft/vstest/pull/15178
- Sourcebuild fix by @nohwnd in https://github.com/microsoft/vstest/pull/15239
- Set dotnet_root_ only when the architecture of dotnet in the path is the same by @nohwnd in https://github.com/microsoft/vstest/pull/15250
- Remove fakes v1 from FakesUtilities by @drognanar in https://github.com/microsoft/vstest/pull/15251
- Update fakes dependencies by @drognanar in https://github.com/microsoft/vstest/pull/15254
- Do half the work in GetManagedName by @Youssef1313 in https://github.com/microsoft/vstest/pull/15255
- check Vsix only when produced by @nohwnd in https://github.com/microsoft/vstest/pull/15261
- Set dotnet_root_ always by @nohwnd in https://github.com/microsoft/vstest/pull/15266
- Don't hardcode old vswhere version in global.json by @akoeplinger in https://github.com/microsoft/vstest/pull/15267
- Revert dowgrade of fakes by @nohwnd in https://github.com/microsoft/vstest/pull/15263
- Update VSSDK to version with code flow guard by @nohwnd in https://github.com/microsoft/vstest/pull/15279
- Update Fakes to version with code flow guard by @nohwnd in https://github.com/microsoft/vstest/pull/15273
- Add es-metadata.yml by @Youssef1313 in https://github.com/microsoft/vstest/pull/15276
- Avoid iterator in TraitCollection.GetTraits by @Youssef1313 in https://github.com/microsoft/vstest/pull/15249
- MSDia update by @nohwnd in https://github.com/microsoft/vstest/pull/15281
- Use sdk.paths in global.json by @Youssef1313 in https://github.com/microsoft/vstest/pull/15258
New Contributors
- @jaredpar made their first contribution in https://github.com/microsoft/vstest/pull/15054
- @Copilot made their first contribution in https://github.com/microsoft/vstest/pull/15094
- @JamieMagee made their first contribution in https://github.com/microsoft/vstest/pull/15114
- @dependabot[bot] made their first contribution in https://github.com/microsoft/vstest/pull/15179
Full Changelog: https://github.com/microsoft/vstest/compare/v17.14.1...v18.0.0
v17.14.1
What's Changed
- Error on unsupported target frameworks to prevent silently not running tests by @nohwnd in https://github.com/microsoft/vstest/pull/15072 and https://github.com/microsoft/vstest/pull/15078
- Revert writing additional properties to TRX by @nohwnd in https://github.com/microsoft/vstest/commit/47eb51b15ad8ca4a84ad7be5881fcd1713a0f68a
Full Changelog: https://github.com/microsoft/vstest/compare/v17.14.0...v17.14.1
v17.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.
- Drop unsupported frameworks by @nohwnd in https://github.com/microsoft/vstest/pull/10565
Changes
- Adding Process Query Flag For UWP .NET 9 Support by @adstep in https://github.com/microsoft/vstest/pull/15003
- Fix builds on WinUI and UWP .NET 9 projects by @Sergio0694 in https://github.com/microsoft/vstest/pull/15004
- don't report communication error on discovery abort by @nohwnd in https://github.com/microsoft/vstest/pull/14992
- Add dump minitool to vsix by @nohwnd in https://github.com/microsoft/vstest/pull/14707
- Make test runners long-path aware (#5179) by @peetw in https://github.com/microsoft/vstest/pull/15014
- Fix trace in DataCollectionRequestSender.cs by @stan-sz in https://github.com/microsoft/vstest/pull/15025
- Fix/readme grammar parallelism by @dellch in https://github.com/microsoft/vstest/pull/15030
- Add binding redirects by @nohwnd in https://github.com/microsoft/vstest/pull/15041
- Write props of tests into trx by @nohwnd in https://github.com/microsoft/vstest/pull/14905
Internal version updates and fixes
- Update io.redist by @nohwnd in https://github.com/microsoft/vstest/pull/13872
- Use preview image for public build by @nohwnd in https://github.com/microsoft/vstest/pull/13888
- Remove xcopy-msbuild by @nohwnd in https://github.com/microsoft/vstest/pull/14138
- Move to macos14 by @nohwnd in https://github.com/microsoft/vstest/pull/14137
- Update diagnose.md by @nohwnd in https://github.com/microsoft/vstest/pull/14776
- hash with sha2 for mutex lock by @nohwnd in https://github.com/microsoft/vstest/pull/14777
- Update test projects for vmr by @nohwnd in https://github.com/microsoft/vstest/pull/14894
- 17.14 branding by @nohwnd in https://github.com/microsoft/vstest/pull/14903
- Update filter.md for NUnit by @OsirisTerje in https://github.com/microsoft/vstest/pull/14987
- Flag netstandard1.x dependencies in source-build by @ViktorHofer in https://github.com/microsoft/vstest/pull/14986
- Use VS dependencies versions from release VS to have archived symbols by @nohwnd in https://github.com/microsoft/vstest/pull/14991
- Remove extra ; by @nohwnd in https://github.com/microsoft/vstest/pull/14995
- Use dependencymodel 6.0.2 by @nohwnd in https://github.com/microsoft/vstest/pull/14996
- Make Testhost packable only on Windows by @mmitche in https://github.com/microsoft/vstest/pull/15001
- Add system text json to vsix by @nohwnd in https://github.com/microsoft/vstest/pull/15034
- Add more files to vsix by @nohwnd in https://github.com/microsoft/vstest/pull/15038
- Remove unnecessary CA2022 suppressions by @Winniexu01 in https://github.com/microsoft/vstest/pull/15035
- Update package project url by @mmitche in https://github.com/microsoft/vstest/pull/15040
New Contributors
- @OsirisTerje made their first contribution in https://github.com/microsoft/vstest/pull/14987
- @adstep made their first contribution in https://github.com/microsoft/vstest/pull/15003
- @Sergio0694 made their first contribution in https://github.com/microsoft/vstest/pull/15004
- @peetw made their first contribution in https://github.com/microsoft/vstest/pull/15014
- @dellch made their first contribution in https://github.com/microsoft/vstest/pull/15030
- @Winniexu01 made their first contribution in https://github.com/microsoft/vstest/pull/15035
Full Changelog: https://github.com/microsoft/vstest/compare/v17.13.0...v17.14.0
v17.13.0
What's Changed
-
Add letter number among valid identifiers in class name by @nohwnd in https://github.com/microsoft/vstest/pull/13868
-
Fix formatting in Runner by @mthalman in https://github.com/microsoft/vstest/pull/13871
-
Downgrade xunit skip warning to info by @nohwnd in https://github.com/microsoft/vstest/pull/10381
-
Add msdia for arm64 into nuget by @nohwnd in https://github.com/microsoft/vstest/pull/10382
-
Enable native debugging for vstest.console by @ocitrev in https://github.com/microsoft/vstest/pull/10401
-
Fix RFCs links by @Youssef1313 in https://github.com/microsoft/vstest/pull/10424
-
Convert to auto property by @nohwnd in https://github.com/microsoft/vstest/pull/10365
-
Update Versions.props by @nohwnd in https://github.com/microsoft/vstest/pull/10378
-
Enable TSA by @jakubch1 in https://github.com/microsoft/vstest/pull/10385
-
Arm64 dia by @nohwnd in https://github.com/microsoft/vstest/pull/10390
-
Update source-build team references by @MichaelSimons in https://github.com/microsoft/vstest/pull/10388
-
Exclude .signature.p7s from nupkg file count by @ellahathaway in https://github.com/microsoft/vstest/pull/10418
-
Set NetCurrent so that it doesn't roll forward automatically by @ViktorHofer in https://github.com/microsoft/vstest/pull/10622
New Contributors
- @ocitrev made their first contribution in https://github.com/microsoft/vstest/pull/10401
- @Youssef1313 made their first contribution in https://github.com/microsoft/vstest/pull/10424
Full Changelog: https://github.com/microsoft/vstest/compare/v17.12.0...v17.13.0
v17.12.0
What's Changed
- Dispose IDisposables in HtmlTransformer by @omajid in https://github.com/microsoft/vstest/pull/5099
- Dipose XmlReaders in Microsoft.TestPlatform.Common.RunSettings by @omajid in https://github.com/microsoft/vstest/pull/5100
- use some collection expressions by @SimonCropp in https://github.com/microsoft/vstest/pull/5055
- Fix Reference typos by @SimonCropp in https://github.com/microsoft/vstest/pull/5155
- Add option to overwrite trx without warning by @nohwnd in https://github.com/microsoft/vstest/pull/5141
Internal and infrastructure fixes:
- Downgrade xunit skip warning to info by @nohwnd in https://github.com/microsoft/vstest/pull/10379
- Fallback to latest runtimeconfig when none is found by @nohwnd in https://github.com/microsoft/vstest/pull/5136
- Verify architecture and version of produced exes by @nohwnd in https://github.com/microsoft/vstest/pull/5134
- Fix runtime config tests by @nohwnd in https://github.com/microsoft/vstest/pull/5137
- Dispose helper when parsing args by @nohwnd in https://github.com/microsoft/vstest/pull/5126
- Cleanup and bump required runtimes by @Evangelink in https://github.com/microsoft/vstest/pull/5139
- Fix help warnings by @nohwnd in https://github.com/microsoft/vstest/pull/5140
- Fix timing in simple log by @nohwnd in https://github.com/microsoft/vstest/pull/5143
- Check vstest.console.dll instead of .exe by @nohwnd in https://github.com/microsoft/vstest/pull/5149
- Report version from nuget check by @nohwnd in https://github.com/microsoft/vstest/pull/5161
- Move IncludeSourceRevisionInInformationalVersion by @nohwnd in https://github.com/microsoft/vstest/pull/5166
- Enable or disable new logger based on TL flag by @nohwnd in https://github.com/microsoft/vstest/pull/5167
- Updating Microsoft.CodeCoverage package structure by @fhnaseer in https://github.com/microsoft/vstest/pull/5169
- Wait for Discovery to initialize before Cancelling it by @nohwnd in https://github.com/microsoft/vstest/pull/5177
- Adding condition to disable MsCoverage refrenced path maps by @fhnaseer in https://github.com/microsoft/vstest/pull/5189
- Forward error output from testhost as info by @nohwnd in https://github.com/microsoft/vstest/pull/5192
- Update Microsoft.Extensions.DependencyModel to 3.1.0 by @nohwnd in https://github.com/microsoft/vstest/pull/5188
- ExcludeFromSourceBuild->ExcludeFromSourceOnlyBuild by @mmitche in https://github.com/microsoft/vstest/pull/10354
- Enable policheck by @jakubch1 in https://github.com/microsoft/vstest/pull/10363
Full Changelog: https://github.com/microsoft/vstest/compare/v17.11.1...v17.12.0
v17.11.1
What's Changed
- [rel/17.11] Forward error output from testhost as info by @nohwnd in https://github.com/microsoft/vstest/pull/5193
Full Changelog: https://github.com/microsoft/vstest/compare/v17.11.0...v17.11.1
v17.11.0
What's Changed
- Add reference to the AdapterUtilities library in the spec docs. by @peterwald in https://github.com/microsoft/vstest/pull/4958
- Stack trace when localized, and new messages by @nohwnd in https://github.com/microsoft/vstest/pull/4944
- Fix single quote and space in F# pretty methods by @nohwnd in https://github.com/microsoft/vstest/pull/4969
- Update .NET runtimes to latest patch version by @Evangelink in https://github.com/microsoft/vstest/pull/4975
- Update dotnetcoretests.md by @DickBaker in https://github.com/microsoft/vstest/pull/4977
- Add list of known TestingPlatform dlls by @nohwnd in https://github.com/microsoft/vstest/pull/4983
- Update framework version used for testing, and test matrix by @nohwnd in https://github.com/microsoft/vstest/pull/4970
- Add output forwarding for .NET by @nohwnd in https://github.com/microsoft/vstest/pull/4988
- Remove usage of pt images before decomissioning by @nohwnd in https://github.com/microsoft/vstest/pull/4994
- chore: Add more details to acquistion section. by @voroninp in https://github.com/microsoft/vstest/pull/4999
- Simplify banner by @nohwnd in https://github.com/microsoft/vstest/pull/5013
- Forward standard output of testhost by @nohwnd in https://github.com/microsoft/vstest/pull/4998
- Add missing copyright header by @MichaelSimons in https://github.com/microsoft/vstest/pull/5020
- Add option to not share .NET Framework testhosts by @nohwnd in https://github.com/microsoft/vstest/pull/5018
- GetTypesToLoad Attribute cant be null by @SimonCropp in https://github.com/microsoft/vstest/pull/5054
- rawArgument in GetArgumentList cant be null by @SimonCropp in https://github.com/microsoft/vstest/pull/5056
- fix Atribute typo by @SimonCropp in https://github.com/microsoft/vstest/pull/5057
- remove unnecessary list alloc for 2 scenarios in TestRequestManager.GetSources by @SimonCropp in https://github.com/microsoft/vstest/pull/5058
- fix incompatiblity typo by @SimonCropp in https://github.com/microsoft/vstest/pull/5059
- remove redundant inline method in IsPlatformIncompatible by @SimonCropp in https://github.com/microsoft/vstest/pull/5060
- fix Sucess typo by @SimonCropp in https://github.com/microsoft/vstest/pull/5061
- use some null coalescing by @SimonCropp in https://github.com/microsoft/vstest/pull/5062
- Add cts into friends of TranslationLayer by @jakubch1 in https://github.com/microsoft/vstest/pull/5075
- Use built in sha1 for id generation by @nohwnd in https://github.com/microsoft/vstest/pull/5081
- All output in terminal logger by @nohwnd in https://github.com/microsoft/vstest/pull/5083
- Ignore env test by @nohwnd in https://github.com/microsoft/vstest/pull/5095
- Dispose XmlReader in XmlRunSettingsUtilities by @omajid in https://github.com/microsoft/vstest/pull/5094
- Bump to macos-12 build image by @akoeplinger in https://github.com/microsoft/vstest/pull/5101
- Handle ansi escape in terminal logger reporter by @nohwnd in https://github.com/microsoft/vstest/pull/5084
- remove disable interactive auth by @nohwnd in https://github.com/microsoft/vstest/pull/5110
- Error output as info in terminal logger by @nohwnd in https://github.com/microsoft/vstest/pull/5113
- Write dll instead of target on abort, rename errors by @nohwnd in https://github.com/microsoft/vstest/pull/5115
-
- [rel/17.11] Update dependencies from devdiv/DevDiv/vs-code-coverage by @dotnet-maestro in https://github.com/microsoft/vstest/pull/5152
New Contributors
- @peterwald made their first contribution in https://github.com/microsoft/vstest/pull/4958
- @DickBaker made their first contribution in https://github.com/microsoft/vstest/pull/4977
- @voroninp made their first contribution in https://github.com/microsoft/vstest/pull/4999
- @akoeplinger made their first contribution in https://github.com/microsoft/vstest/pull/5101
Full Changelog: https://github.com/microsoft/vstest/compare/v17.10.0...v17.11.0-release-24352-06
v17.10.0
What's Changed
- Add missing runtimeconfig.json file for 8.0 by @MarcoRossignoli in https://github.com/microsoft/vstest/pull/4792
- Localized file check-in by OneLocBuild Task: Build definition ID 1222: Build ID
2338548by @dotnet-bot in https://github.com/microsoft/vstest/pull/4794 - Disable testhost prestart by @nohwnd in https://github.com/microsoft/vstest/pull/4833
- Terminal logger fixes by @nohwnd in https://github.com/microsoft/vstest/pull/4834
- Add RiscV64 by @nohwnd in https://github.com/microsoft/vstest/pull/4838
- Add deterministic source mapping storing for Microsoft.CodeCoverage by @jakubch1 in https://github.com/microsoft/vstest/pull/4849
- Fix terminal logger encoding & error by @nohwnd in https://github.com/microsoft/vstest/pull/4853
- Update sourcebuild configuration to build net previous and net current by @Evangelink in https://github.com/microsoft/vstest/pull/4856
- Updating version of Microsoft.VisualStudio.Interop to 17.10 by @MSLukeWest in https://github.com/microsoft/vstest/pull/4866
- Add VSTEST_DIAG_VERBOSITY to help by @nohwnd in https://github.com/microsoft/vstest/pull/4882
- Fix feature flag name by @nohwnd in https://github.com/microsoft/vstest/pull/4885
- Improve terminal logger by @nohwnd in https://github.com/microsoft/vstest/pull/4877
- Remove PackageLicenseFile preventing PackageLicenseExpression from working by @lahma in https://github.com/microsoft/vstest/pull/4890
- Add GitHub Actions logger by @martincostello in https://github.com/microsoft/vstest/pull/4906
- Ensure to send a session complete event by @drognanar in https://github.com/microsoft/vstest/pull/4878
- specify Win10 + maxversiontested to enable xaml APIs to be used in tests running under testhost.exe by @ChrisGuzak in https://github.com/microsoft/vstest/pull/4888
- Make VSTest repo buildable in VMR non-source-build by @ViktorHofer in https://github.com/microsoft/vstest/pull/4920
- Migrate pipelines by @nohwnd in https://github.com/microsoft/vstest/pull/4921
- Add test name to MSBuild where we have frame. by @nohwnd in https://github.com/microsoft/vstest/pull/4935
- [rel/17.10] Add list of known TestingPlatform dlls by @nohwnd in https://github.com/microsoft/vstest/pull/4982
And many infrastructure related changes and updates.
New Contributors
- @ellahathaway made their first contribution in https://github.com/microsoft/vstest/pull/4785
- @MSLukeWest made their first contribution in https://github.com/microsoft/vstest/pull/4866
- @lahma made their first contribution in https://github.com/microsoft/vstest/pull/4890
- @ChrisGuzak made their first contribution in https://github.com/microsoft/vstest/pull/4888
Full Changelog: https://github.com/microsoft/vstest/compare/v17.9.0...v17.10.0
v17.9.0
What's Changed
- Remove dependency on Nuget.Frameworks by @nohwnd in https://github.com/microsoft/vstest/pull/4693
- Add platform guard by @dotMorten in https://github.com/microsoft/vstest/pull/4737
- Remove javascript in
HtmlLoggerby @daveMueller in https://github.com/microsoft/vstest/pull/4744 - Fix CPU is consumed by polling frequently when there is no subscriber by @nohwnd in https://github.com/microsoft/vstest/pull/4735
- Create a proper MSBuild ToolTask based VSTestTask by @mcartoixa in https://github.com/microsoft/vstest/pull/2702
- Update SDK, copy logger by @nohwnd in https://github.com/microsoft/vstest/pull/4755
- Fix staircase in logger by @nohwnd in https://github.com/microsoft/vstest/pull/4756
- Update dump client to latest by @nohwnd in https://github.com/microsoft/vstest/pull/4724
- [rel/17.9] Disable testhost prestart by @nohwnd in https://github.com/microsoft/vstest/pull/4836
New Contributors
- @jithu7432 made their first contribution in https://github.com/microsoft/vstest/pull/4698
- @mcartoixa made their first contribution in https://github.com/microsoft/vstest/pull/2702
Full Changelog: https://github.com/microsoft/vstest/compare/v17.8.0...v17.9.0
v17.8.0
What's Changed
Full Changelog: https://github.com/microsoft/vstest/compare/v17.7.2...v17.8.0
v17.7.2
What's Changed
- Fix cannot find System.Text.Json by @nohwnd in https://github.com/microsoft/vstest/pull/4669
Full Changelog: https://github.com/microsoft/vstest/compare/v17.7.1...v17.7.2
v17.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: https://github.com/microsoft/vstest/compare/v17.7.0...v17.7.1
v17.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: https://github.com/microsoft/vstest/compare/v17.6.3...v17.7.0
Drops
- Microsoft.TestPlatform.ObjectModel : v17.7.0
v17.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: https://github.com/microsoft/vstest/compare/v17.6.2...v17.6.3
Artifacts
v17.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: https://github.com/microsoft/vstest/issues/4516
- [rel/17.6] Downgrade Nuget.Frameworks to 6.5.0 by @nohwnd in https://github.com/microsoft/vstest/pull/4512
- [rel/17.6] Filter out known platform sources by @nohwnd in https://github.com/microsoft/vstest/pull/4517
- [rel/17.6] Exclude also known resource dlls by @Evangelink in https://github.com/microsoft/vstest/pull/4528
Full Changelog: https://github.com/microsoft/vstest/compare/v17.6.1...v17.6.2
Artifacts TestPlatform vsix: 17.6.2 Microsoft.TestPlatform.ObjectModel : 17.6.2
v17.6.1
Issues Fixed
This is a tiny patch to fixup few latest issues,
-
Fix no-suitable provider found by @nohwnd in https://github.com/microsoft/vstest/pull/4474 which fixes #4467
When .NET Portable or .NET Standard dlls are provided to the run, the run crashes with "No suitable test runtime provider was found", which is a regression introduced in 17.6.0.

-
Fix hangdump running into crashdump by @nohwnd in https://github.com/microsoft/vstest/pull/4480 which fixes #4378
Running --blame-hang and --blame-crash at the same time, can result in --blame-hang cancelling --blame-crash, and killing the testhost in the process, resulting in no dumps being created. This fix waits for --blame-crash to finish dumping the process, and then it creates hang dump.
-
Update Nuget.Frameworks by @nohwnd in https://github.com/microsoft/vstest/pull/4500 which fixes #4409
Internal updates:
- Update dependencies from devdiv/DevDiv/vs-code-coverage by @dotnet-maestro in https://github.com/microsoft/vstest/pull/4479
- Disable internal build on new pipeline by @nohwnd in https://github.com/microsoft/vstest/pull/4476
Full Changelog: https://github.com/microsoft/vstest/compare/v17.6.0...v17.6.1
Artifacts
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
