MSBuildSdks icon indicating copy to clipboard operation
MSBuildSdks copied to clipboard

XML format error in Packages.props leads to confusing error message

Open ericbms opened this issue 3 years ago • 0 comments

When there is an XML formatting issue in Packages.props the error message provided from CentralPackageVersions is a generic "The package reference '{PackageName}' must have a version defined in '{dir}\Packages.props' which is unintuitive since the actual problem is with parsing Packages.props itself. It would be nice to have a more direct XML formatting error that points out the root issue.

ericbms avatar Mar 18 '22 18:03 ericbms