Skip to content

Update test project target framework constant in tests to fix build failures.#7054

Merged
kartheekp-ms merged 1 commit intodevfrom
dev-kmps-fix-build-failures-dev-branch
Jan 15, 2026
Merged

Update test project target framework constant in tests to fix build failures.#7054
kartheekp-ms merged 1 commit intodevfrom
dev-kmps-fix-build-failures-dev-branch

Conversation

@kartheekp-ms
Copy link
Copy Markdown
Contributor

Bug

Fixes:

Description

Fix build failures in dev branch. Replaced Constants.ProjectTargetFramework with TestConstants.ProjectTargetFramework in several test methods in DotnetListPackageTests.cs to ensure the correct target framework is used when creating test projects.

PR Checklist

  • Meaningful title, helpful description and a linked NuGet/Home issue
    - [ ] Added tests
    - [ ] Link to an issue or pull request to update docs if this PR changes settings, environment variables, new feature, etc.

Replaced Constants.ProjectTargetFramework with TestConstants.ProjectTargetFramework in several test methods in DotnetListPackageTests.cs to ensure the correct target framework is used when creating test projects. This affects tests related to outdated, deprecated, and vulnerable package scenarios.
@kartheekp-ms kartheekp-ms requested a review from a team as a code owner January 15, 2026 01:34
@kartheekp-ms kartheekp-ms added the Engineering Changes related to the build infrastructure of the repo and that do not change product code label Jan 15, 2026
@kartheekp-ms kartheekp-ms merged commit 18d4113 into dev Jan 15, 2026
17 of 18 checks passed
@kartheekp-ms kartheekp-ms deleted the dev-kmps-fix-build-failures-dev-branch branch January 15, 2026 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Engineering Changes related to the build infrastructure of the repo and that do not change product code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants