Skip to content

sdk not displaying all NuGet warnings from assets file in VS #2409

@mishra14

Description

@mishra14

Issue

I am seeing that sdk is not picking up/displaying all the errors from the assets file for a .NET core project in VS.

Steps -

  1. Download the following zip and change the extension to .nupkg -
    SignedPackage.1.0.0.zip
  2. Install the package in VS to a .NET Core console app.
  3. The error list displays 2 warnings -
    image
  4. The assets file actually lists 3 warnings -
  "logs": [
    {
      "code": "NU3027",
      "level": "Warning",
      "warningLevel": 1,
      "message": "The signature should be timestamped to enable long-term signature validity after the certificate has expired."
    },
    {
      "code": "NU3018",
      "level": "Warning",
      "warningLevel": 1,
      "message": "The author primary signature found a chain building issue: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider."
    },
    {
      "code": "NU3037",
      "level": "Warning",
      "warningLevel": 1,
      "message": "The author primary signature validity period has expired."
    }

Info -

VS - 15.8 Preview 5 [27912.0.d15.8]

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions