Skip to content

Clean vcpkg artifacts on solution clean#14

Closed
Trenly wants to merge 1 commit into
masterfrom
fix/clean-solution-vcpkg-artifacts
Closed

Clean vcpkg artifacts on solution clean#14
Trenly wants to merge 1 commit into
masterfrom
fix/clean-solution-vcpkg-artifacts

Conversation

@Trenly

@Trenly Trenly commented Jun 26, 2026

Copy link
Copy Markdown
Owner

📖 Description

Add a CleanVcpkg target in src\vcpkg.props so Visual Studio Clean Solution removes repository-local vcpkg artifacts.

The target:

  • Deletes $(VcpkgInstalledDir) (src\vcpkg_installed\)
  • Deletes src\VcpkgPortOverlay\.created so overlay ports regenerate on next build

Also adds an XML comment block explaining why this cleanup is necessary.

🔗 References

Related to microsoft#6338

🔍 Validation

Manual local verification of MSBuild target wiring only.

✅ Checklist

📋 Issue Type

  • Bug fix
  • Feature
  • Task

Assisted-by: GitHub Copilot

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Trenly

Trenly commented Jun 26, 2026

Copy link
Copy Markdown
Owner Author

Closing this fork-local PR in favor of upstream draft PR microsoft#6339.

@Trenly Trenly closed this Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant