dotnet add package
adds inappropriate metadata to Directory.Packages.props
#13438
Labels
dotnet add package
adds inappropriate metadata to Directory.Packages.props
#13438
NuGet Product Used
dotnet.exe
Product Version
8.0.204
Worked before?
No response
Impact
It's more difficult to complete my work
Repro Steps & Context
I ran the following command line in the directory of an SDK style csproj where CPVM is turned on:
This added the following xml to my csproj:
That looks good. But it also added the following xml to my Directory.Packages.props:
PackageVersion items are not expected to have the metadata that the tool added, are they?
Verbose Logs
No response
The text was updated successfully, but these errors were encountered: