Skip to content

Error building src/Components in VS 2022 #39601

@SteveSandersonMS

Description

@SteveSandersonMS

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

src/Components gives a build error in VS, even though it builds OK in CLI.

See Steps To Reproduce

Expected Behavior

No response

Steps To Reproduce

  • Get to a clean repo state: git clean -xdf
  • .\eng\build.cmd - succeeds
  • cd src/Components
  • startvs.cmd - I'm using VS 2022 17.0.5
  • Build solution via ctrl+shift+b

Expected: builds successfully, given that the whole thing was already built successfully in CLI

Actual:

CSC : error CS0006: Metadata file '(repopath)\artifacts\bin\Microsoft.AspNetCore.Server.Kestrel.Transport.Quic\Debug\net7.0\ref\Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.dll' could not be found

Exceptions (if any)

No response

.NET Version

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions