MSBuildSdks
MSBuildSdks copied to clipboard
XML format error in Packages.props leads to confusing error message
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.