Skip to content
Snippets Groups Projects
Select Git revision
  • ee574f77289c1b4d75333ea4f3291132cb289328
  • master default protected
  • undefined
3 results

agent2.1.py

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    10-VSDevEnv.ps1 407 B
    # SPDX-License-Identifier: AGPL-3.0-or-later
    
    #
    # Sets up Visual Studio Development environment
    #
    function VSDevEnv {
        pushd "C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/Common7/Tools"
        cmd /c "VsDevCmd.bat $args & set" |
        foreach {
            if ($_ -match "=") {
                $v = $_.split("="); set-item -force -path "ENV:\$($v[0])"  -value "$($v[1])"
            }
        }
        popd
    }