Skip to content

integrate install: Remove VS2015 integration.#2011

Open
BillyONeal wants to merge 1 commit intomicrosoft:mainfrom
BillyONeal:remove-vs-2015-integrate-install
Open

integrate install: Remove VS2015 integration.#2011
BillyONeal wants to merge 1 commit intomicrosoft:mainfrom
BillyONeal:remove-vs-2015-integrate-install

Conversation

@BillyONeal
Copy link
Copy Markdown
Member

Related: MicrosoftDocs/vcpkg-docs#573
Related: MicrosoftDocs/vcpkg-docs#576

This means we no longer need the "restart ourselves as admin to fix it" dance.

Copilot AI review requested due to automatic review settings May 6, 2026 22:23
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Removes the legacy Visual Studio 2015 / MSBuild 14 system-wide integration path from vcpkg integrate install, eliminating the need for admin elevation in that command.

Changes:

  • Deleted VS2015/MSBuild 14 integration logic (including elevation-based file operations and targets file version parsing).
  • Removed related messages and help text implying admin requirements or VS2015-specific behavior.
  • Removed the now-obsolete unit test for targets file version parsing.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/vcpkg/commands.integrate.cpp Removes MSBuild 14 system-wide integration and elevation code paths.
src/vcpkg-test/integrate.cpp Drops tests for removed find_targets_file_version() logic.
locales/messages.json Removes VS2015/admin-related strings and updates Windows integrate help text.
include/vcpkg/commands.integrate.h Removes find_targets_file_version() API declaration and Optional include.
include/vcpkg/base/message-data.inc.h Removes corresponding message declarations and updates Windows help message.

Comment thread src/vcpkg/commands.integrate.cpp
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.

2 participants