Skip to content

Downgrade VSTestVersion to 17.13.0 to restore net6.0 support in examples #5613

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 3, 2025

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented May 20, 2025

Version 17.14.0 of the VSTest packages (Microsoft.NET.Test.Sdk and Microsoft.TestPlatform.TestHost) no longer supports .NET 6.0 target frameworks, which affects the example projects in the repository that still use net6.0.

This PR downgrades the VSTestVersion from 17.14.0 to 17.13.0 in samples/public/Directory.Build.props, which restores .NET 6.0 support for these examples.

The change is minimal and focused, only modifying the specific version property that needs to be adjusted to fix the issue.

Fixes #5612.

Warning

Firewall rules blocked me from connecting to one or more addresses

I tried to connect to the following addresses, but was blocked by firewall rules:

  • dc.services.visualstudio.com
    • Triggering command: /home/REDACTED/work/testfx/testfx/.dotnet/dotnet msbuild /m /nologo /clp:Summary /v:minimal /nr:true /warnaserror /p:TreatWarningsAsErrors=true /p:ContinuousIntegrationBuild=false /home/REDACTED/work/testfx/testfx/artifacts/toolset/restore.proj /t:__WriteToolsetLocation /clp:ErrorsOnly;NoSummary /p:__ToolsetLocationOutputFile=/home/REDACTED/work/testfx/testfx/artifacts/toolset/10.0.0-beta.25229.4.txt (dns block)
  • pkgs.dev.azure.com
    • Triggering command: /home/REDACTED/work/testfx/testfx/.dotnet/dotnet msbuild /m /nologo /clp:Summary /v:minimal /nr:true /warnaserror /p:TreatWarningsAsErrors=true /p:ContinuousIntegrationBuild=false /home/REDACTED/work/testfx/testfx/artifacts/toolset/restore.proj /t:__WriteToolsetLocation /clp:ErrorsOnly;NoSummary /p:__ToolsetLocationOutputFile=/home/REDACTED/work/testfx/testfx/artifacts/toolset/10.0.0-beta.25229.4.txt (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: nohwnd <5735905+nohwnd@users.noreply.github.com>
@Copilot Copilot AI changed the title [WIP] net6 no longer supported by examples Downgrade VSTestVersion to 17.13.0 to restore net6.0 support in examples May 20, 2025
@Copilot Copilot AI requested a review from nohwnd May 20, 2025 14:45
Copilot finished work on behalf of nohwnd May 20, 2025 14:45
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.51%. Comparing base (cc4c21a) to head (415a392).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5613      +/-   ##
==========================================
- Coverage   76.54%   76.51%   -0.04%     
==========================================
  Files         602      602              
  Lines       36451    36451              
==========================================
- Hits        27901    27890      -11     
- Misses       8550     8561      +11     
Flag Coverage Δ
Debug 76.51% <ø> (-0.04%) ⬇️
integration 76.51% <ø> (-0.04%) ⬇️
production 76.51% <ø> (-0.04%) ⬇️
unit 76.51% <ø> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 4 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@nohwnd nohwnd marked this pull request as ready for review June 3, 2025 07:12
@nohwnd nohwnd merged commit 39aa076 into main Jun 3, 2025
9 checks passed
@nohwnd nohwnd deleted the copilot/fix-5612 branch June 3, 2025 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development
 

 

 

Successfully merging this pull request may close these issues.

net6 no longer supported by examples
5 participants