Draft
Conversation
- Add net10.0 TFM to test/template projects; remove net9.0 - Update Coverlet tools path logic for .NET 10 SDK/TFM selection - Mark VSTest as unsupported on .NET 10+ in test projects - Replace xunit.v3.mtp-v2 with xunit.v3 in all test projects (not using Micrsosoft Testing Platform) - Refactor integration test base to inject ITestOutputHelper - Pass target framework explicitly in DotnetTool integration test - Improve comments and clarify TFM/test platform logic
Updated build.yml to use --diagnostic-output-fileprefix instead of --diagnostic-file-prefix for coverlet.integration.tests.dll (xunit.v3). This corrects the argument name to match the expected parameter for the test runner.
Previously, the ExcludedByAttributeFiles path was hardcoded to the debug folder. This change updates the path to use the current build configuration (in lowercase), allowing the build process to correctly handle assets for different configurations such as Debug or Release.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add .NET 10/9 support, update SDKs and dependencies (#1822)
Update project to support .NET 10 (net10.0) and .NET 9 (net9.0) alongside .NET 8 and netstandard2.0. Update global.json to SDK 10.0.103 and add .NET 9/10 SDK steps to build pipelines. Bump language version to latest and update package dependencies (e.g., Microsoft.CodeAnalysis 5.0.0, xunit 3.2.2, System.* 9.0.13). Adjust MSBuild props/targets for new tool paths. Update test/integration projects for new frameworks. Fix minor code issues, method renames, and clean up code. Update default coverletCollectors/coverletMsbuild versions for deterministic build tests. Modernize codebase for latest .NET compatibility.