project-system: Diagnostics not shown under packages in the dependencies node
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="FooBar" Version="1.0.0" />
</ItemGroup>
</Project>
Expected: For the error to be listed under “FooBar” within the dependency node and for the icon to be an error.
Actual:
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 17 (14 by maintainers)
It’s not every day that you see a two digit issue referenced
So I found a couple of things near there:
I will dig in some more later.
@raffaeler Maybe you are seeing https://github.com/dotnet/project-system/issues/2509 then, but I’m not a project-system eng, they’ll know better 😃
After restoring this project,
project.assets.json
contains:This appears in the error list:
The Dependencies node is currently expecting a
ResolvedPackageReference
item (orPackageItem
, but I don’t think we’ll see these during evaluation) withProjectItemMetadata.Type
metadata ofDiagnostic
to be provided in theIProjectSubscriptionUpdate
. However we don’t see these.@davkean mentions above that @nguerrera may have said (a long time ago) that there was a change to how this works. Can either of you provide some guidance so I can get this fixed?
This problem is also blocking https://github.com/dotnet/project-system/issues/2582#issuecomment-507994415.