Skip to content
dev
Go to file
Code

Latest commit

…3659)

* Fix error when a project doesn't not specify a restore output path

If a project does not import Microsoft.Common.props, it won't have the properties set to determine the restore output path.  This can cause us to crash when we call `Path.Combine()` with a null value.

This fix checks for this condition, logs a message, and leaves the project out of restore.

* Update formatting

* Just return null, update NoOpRestoreUtilities.GetProjectCacheFilePath to fix possible ArgumentNullException

* Add end-to-end unit test
921c57d

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time

README.md

NuGet logo


NuGet Client Tools

This repo contains the following clients:

Open Source Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Getting Started guide

For how to contribute to this repo follow the Contributing doc.

NuGet/Home repo

The NuGet/Home repo is the starting point for all things NuGet. It has the issue tracker and basic information about all things NuGet. Make sure to consult it before beginning your journey through NuGet code.

Feedback

File NuGet.Client bugs in the NuGet/Home.

License

Unless explicitly stated otherwise all files in this repository are licensed under the License in the root repository

You can’t perform that action at this time.