Skip to content

Visual Studio shows NU1105 error even though build and tests pass #4183

@natemcmaster

Description

@natemcmaster

Currently, opening the solution files in this repo, like src/Servers/Kestrel.sln, shows a bunch of NU1105 errors in the Error List window. The error looks like this:

Error NU1105 Unable to find project information for "ProjectXYZ.csproj". Inside Visual Studio, this may be because the project is unloaded or not part of current solution.

We believe this is the result of NuGet/Home#5820. There is a draft of a solution in PR in NuGet, but if that doesn't make it in in a reasonable amount of time, we may need to find workarounds.

FWIW - this does not affect command line builds, and also, it appears you can still build and run tests in Visual Studio despite the error.

cc @jainaashish @rrelyea

Metadata

Metadata

Labels

area-infrastructureIncludes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions