Skip to content

Fixing the Win10 sdk presence check - #2568

Merged
Dongbo Wang (daxian-dbw) merged 1 commit into
PowerShell:masterfrom
mirichmo:fixing-win10-sdk-check
Oct 31, 2016
Merged

Dongbo Wang (daxian-dbw) merged 1 commit into
PowerShell:masterfrom
mirichmo:fixing-win10-sdk-check

Conversation

@mirichmo

Copy link
Copy Markdown
Member

The existing Windows 10 SDK check is not sufficient because the directory it checks is present even if the SDK is not installed. I made the check more specific to the SDK to tighten the check and enable installation via chocolatey during Start-PSBootstrap -Package.

@msftclas

Hi Mike Richmond (@mirichmo), I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!


It looks like you're a Microsoft contributor (Mike Richmond). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

Comment thread build.psm1 Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

$win10sdkBinPath declared but not used in Start-PSBootstrap. Can you please remove it?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed

Comment thread build.psm1 Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

why not directly search ${env:ProgramFiles(x86)}\Windows Kits\10\bin\x64?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Copy and paste issue. That check is overkill for now, so I can simplify it.

@daxian-dbw
Dongbo Wang (daxian-dbw) merged commit 9b478dd into PowerShell:master Oct 31, 2016
@mirichmo
Mike Richmond (mirichmo) deleted the fixing-win10-sdk-check branch October 31, 2016 22:10
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 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.

3 participants