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

NuGet dependency discovery is missing an opportunity to report dependency_file_not_found #11101

Open
brettfo opened this issue Dec 11, 2024 · 0 comments

Comments

@brettfo
Copy link
Contributor

brettfo commented Dec 11, 2024

If a project, props, or targets file imports another file that's not in the repo, the discovery command should report dependency_file_not_found. This can be detected by scanning the console for message like this:

error MSB4019: The imported project "/some-dir/FileThatDoesNotExist.props" was not found. Confirm that the expression in the Import declaration "/some-dir/FileThatDoesNotExist.props" is correct, and that the file exists on disk.

Currently no error is reported which lets the update job get further where the error is reported, but we should stop early if possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant