Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: findVisualStudio with pwsh constrained lang. mode #2449

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Commits on Jul 2, 2021

  1. Fix: findVisualStudio with pwsh constrained lang. mode

    'Add-Type' cannot be used in powershell with constrained language mode. Language mode does not exist in PowerShell 2.0 engine. To force powershell to use 2.0 engine allows the usage of msvc 2017 or newer in environment with constrained language mode.
    See : 
    https://devblogs.microsoft.com/powershell/powershell-constrained-language-mode/
    https://docs.microsoft.com/en-us/powershell/scripting/windows-powershell/starting-the-windows-powershell-2.0-engine?view=powershell-7.1
    lucascloarec authored Jul 2, 2021
    Configuration menu
    Copy the full SHA
    3bdda34 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2022

  1. Configuration menu
    Copy the full SHA
    3f50a96 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2022

  1. refactor findVisualStudio2017OrNewer to try to use powershell V2 only…

    … if language mode is not FullLanguage
    lucascloarec committed Sep 14, 2022
    Configuration menu
    Copy the full SHA
    0595377 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    082bc54 View commit details
    Browse the repository at this point in the history
  3. try to fix style issue

    lucascloarec committed Sep 14, 2022
    Configuration menu
    Copy the full SHA
    9d330d1 View commit details
    Browse the repository at this point in the history