Mention existence of Central Package Management on page for NU1604 #13500
Labels
Area:RestoreCPM
Central package management
good first issue
Issues identified as good for first-time contributors
hacktoberfest
Priority:1
High priority issues that must be resolved in the current sprint.
Type:Docs
This is mainly a documentation request - happy to refile if this needs to be reported somewhere different.
I am using
dotnet
6.0.400 on Linux.Background
I have a small multi-project solution. All of the projects in this solution use CPM to manage dependency versions. Since the
dotnet
commands and templates do not use that feature by default, I chose (perhaps poorly) to edit theDirectory.Packages.props
manually through VS Code whenever dependency versions need to change.This particular issue
I wrote invalid XML in my
Directory.Packages.props
- specifically, an unclosed tag. This caused subsequent calls todotnet restore
to fail. One error message appears for each dependency, in a form like so:If
dotnet restore
is called with detailed- or diagnostic-level verbosity, I note the following in the output:My request
Looking at the official docs for NU1604, I noticed no reference to CPM. Please provide some kind of link, and (if it's not too much trouble) suggest that there might be this kind of situation with a malformed file.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: