Skip to content

Clean Solution does not remove vcpkg artifacts #6338

Description

@Trenly

Relevant area(s)

WinGet CLI

Relevant command(s)

N/A (Visual Studio Build > Clean Solution)

Brief description of your issue

When running Clean Solution in Visual Studio for src\AppInstallerCLI.sln, vcpkg artifacts are left behind. Specifically, src\vcpkg_installed\ and src\VcpkgPortOverlay\.created are not removed.

Steps to reproduce

  1. Open src\AppInstallerCLI.sln in Visual Studio.
  2. Build the solution once so vcpkg artifacts exist.
  3. Run Build > Clean Solution.
  4. Inspect src\vcpkg_installed\ and src\VcpkgPortOverlay\.created.

Expected behavior

Clean Solution should remove repository-local vcpkg artifacts so dependency state is reset.

Actual behavior

src\vcpkg_installed\ remains and overlay stamp file persists, so vcpkg state carries across cleans.

Environment

Visual Studio 2022
Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs-TriageIssue needs to be triaged

    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