Skip to content

When in Visual Studio, a build makes an NU1004 or NU1105 disappear from the error list and leads to NETSDK1005  #10486

Closed
NuGet/NuGet.Client
#3872

Description

@nkolev92

Details about Problem

NuGet product used (NuGet.exe | Visual Studio | MSBuild.exe | dotnet.exe): Visual Studio

Product version: 16.9

Worked before? If so, with which NuGet version:

Repro steps and/or sample project

When a restore fails due to locked mode or because of an invalid project a build makes the error disappear in VS.

The reason for that is that the assets file contains no targets

Originally filled in #10462 (comment).

Verbose Logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Area:ErrorHandlingFunctionality:RestorePriority:2Product:VS.ClientType:Bug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions