Skip to content
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

Fix ArgumentNullException when SDK resolver is given a null project path #4335

Merged
merged 1 commit into from
Nov 22, 2021

Conversation

jeffkl
Copy link
Contributor

@jeffkl jeffkl commented Nov 15, 2021

Bug

Fixes: NuGet/Home#11376

Regression? No Last working version:

Description

The SDK resolver has never handled a null project path before but a recent behavior change in MSBuild (#6763) has made this a fatal error.

PR Checklist

  • PR has a meaningful title

  • PR has a linked issue.

  • Described changes

  • Tests

    • Automated tests added
    • OR
    • Test exception
    • OR
    • N/A
  • Documentation

    • Documentation PR or issue filled
    • OR
    • N/A

@jeffkl jeffkl requested a review from a team as a code owner November 15, 2021 18:12
@jeffkl jeffkl force-pushed the dev-jeffkl-fix-sdkresolver-nullref branch 2 times, most recently from d84f713 to eefe876 Compare November 18, 2021 18:09
@jeffkl jeffkl closed this Nov 18, 2021
@jeffkl jeffkl reopened this Nov 18, 2021
@jeffkl jeffkl force-pushed the dev-jeffkl-fix-sdkresolver-nullref branch from eefe876 to 0395cf1 Compare November 19, 2021 15:58
@jeffkl jeffkl force-pushed the dev-jeffkl-fix-sdkresolver-nullref branch from ba8d9f4 to cecee79 Compare November 20, 2021 17:53
@jeffkl jeffkl merged commit 3d44676 into dev Nov 22, 2021
@jeffkl jeffkl deleted the dev-jeffkl-fix-sdkresolver-nullref branch November 22, 2021 15:07
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.

[Bug]: NuGet SDK resolver should not throw if project path is NULL
4 participants