You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are PackageReference items with some metadata attributes. And there are corresponding ReferencePath items.
I need to move those metadata attributes from source PackageReference items to corresponding ReferencePath items.
It works. But it only worked when I've moved/allocated some values into properties. I wonder why?
Also I'm wondering if there is a better way to do this? Now If I will have many metadata then I will be forced to write ItemGroup for each metadata. So, is it possible to do it better?
Denis535
changed the title
How to copy metadata attributes from PackageReference to ReferencePath?
How to copy metadata attributes from PackageReference to corresponding ReferencePath?
Nov 9, 2020
There are
PackageReference
items with some metadata attributes. And there are correspondingReferencePath
items.I need to move those metadata attributes from source
PackageReference
items to correspondingReferencePath
items.MSBuild do it for
ProjectReference
but doesn't forPackageReference
.I'm not sure is it bug or by design. So, I have described it here https://github.com/dotnet/msbuild/issues/5809#issue-724350443
The text was updated successfully, but these errors were encountered: