Skip to content

Conversation

@DevTKSS
Copy link

@DevTKSS DevTKSS commented Nov 19, 2025

  1. **Added net10.0 to all TargetFrameworks of Project files
  2. NU1510 remove Packages in Project files if not required for given Target Frameworks:
    • Removed System.ValueTuple completly from Solution to get rid of the warning

      If this turns out to be required, the NU1510 will need to be added as NoWarn.
      Tryed setting NoWarn or/and PackageReference Conditionally to TargetFramework but VS2026 kept Issuing it still

    • Removed System.Diagnostics.DiagnosticSource only from Projects (tests), which don't even target legacy netstandard2.0

    • local Build passed

    • Tests passed

Warning

netstandard2.0 seems to have no test coverage, alternative Validation options to consider?

…for given Target Frameworks

- Removed System.ValueTuple from Solution
- Removed System.Diagnostics.DiagnosticSource only from Projects (tests), which don't even target legacy netstandard2.0
- build passed
- Test Passes, but netstandard 2.0 seems to have no test coverage, alternative Validation options?
Copilot AI review requested due to automatic review settings November 19, 2025 14:23
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds .NET 10.0 as a target framework across all projects in the solution and resolves NU1510 NuGet warnings by removing package references that are no longer needed for the targeted frameworks.

Key Changes:

  • Added net10.0 to TargetFrameworks in all four project files (two library projects and two test projects)
  • Removed System.ValueTuple package reference completely, as it's included in the BCL for all targeted frameworks (netstandard2.0 and above)
  • Removed System.Diagnostics.DiagnosticSource package reference from test projects that only target net9.0 and net10.0 where it's part of the framework
  • Updated CI/CD workflow to install .NET 10.0 SDK

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
Yllibed.HttpServer/Yllibed.HttpServer.csproj Added net10.0 to TargetFrameworks and removed System.ValueTuple package reference from netstandard2.0 conditional group
Yllibed.HttpServer.Tests/Yllibed.HttpServer.Tests.csproj Added net10.0 to TargetFrameworks and removed unnecessary System.Diagnostics.DiagnosticSource and System.ValueTuple package references
Yllibed.HttpServer.Json/Yllibed.HttpServer.Json.csproj Added net10.0 to TargetFrameworks
Yllibed.HttpServer.Json.Tests/Yllibed.HttpServer.Json.Tests.csproj Added net10.0 to TargetFrameworks and removed unnecessary System.Diagnostics.DiagnosticSource and System.ValueTuple package references
Directory.Packages.props Removed System.ValueTuple package version definition as it's no longer needed
.github/workflows/build.yml Added .NET 10.0 SDK setup step to support building and testing with the new target framework

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

1 participant