step-security/Setup VS Dev Environment
Sets VS dev environment variables and PATH via devenv (like vcvarsall) for using msbuild, cl.exe, link.exe, etc.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| vswhere | Name or path to vswhere.exe | — | vswhere.exe |
| arch | Determines the 'arch' argument to vcvarsall ('x86', 'amd64', 'x64', 'arm', 'arm64', or 'arm64ec'). Defaults to the value of host_arch. | — | "" |
| host_arch | Determines the 'host_arch' parameter to vcvarsall ('x86', 'amd64', 'x64', or 'arm64'). Defaults to the current processor architecture. | — | "" |
| winsdk | Overrides the default WinSDK version | — | "" |
| toolset_version | Overrides the default toolset version | — | "" |
| components | List of components required in the selected VS installation (semi-colon separated) | — | "" |
| verbose | Display additional information about the VS Installation | — | false |
Outputs
| name | description |
|---|---|
| install_path | VS installation path |