From 1fbc7632654eda4c66b719d09b4cc3f43e68961d Mon Sep 17 00:00:00 2001 From: thomasstokes33 <60468552+thomasstokes33@users.noreply.github.com> Date: Fri, 15 Nov 2024 11:35:13 +0000 Subject: [PATCH] Update path in getting_started_windows.md The path of the Powershell profile was incorrect. --- chapters/getting_started_windows.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chapters/getting_started_windows.md b/chapters/getting_started_windows.md index 7f1827b..3198f03 100644 --- a/chapters/getting_started_windows.md +++ b/chapters/getting_started_windows.md @@ -150,9 +150,9 @@ _(Note: for all combinations of available host-target toolset variables, consult Inheriting environments set up by batch scripts is not trivial, hence VS provides a PowerShell module doing the same thing. The module is inside an assembly shipping with VS. To have the utility available in all shells, invoke the following from PowerShell: ```powershell -if (-not (Test-Path ~\Documents\PowerShell)) { New-Item -Type Directory ~\Documents\PowerShell } +if (-not (Test-Path ~\Documents\WindowsPowerShell)) { New-Item -Type Directory ~\Documents\WindowsPowerShell } 'Import-Module "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\Tools\Microsoft.VisualStudio.DevShell.dll"' >> $PROFILE -function devshell { Enter-VsDevShell -InstallPath "C:\Kellekek\Microsoft\VisualStudio\2019\BuildTools" -SkipAutomaticLocation -DevCmdArguments "-arch=x64 -no_logo" } +function devshell { Enter-VsDevShell -InstallPath "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools" -SkipAutomaticLocation -DevCmdArguments "-arch=x64 -no_logo" } ```