Skip to content

How to specify MSVC version when compiling coreclr on Windows #116737

Closed Answered by jkotas
Liangjia0411 asked this question in Q&A
Discussion options

You must be logged in to vote

SkipVCEnvInit environment variable can be used to skip the default MSVC environment setup:

:: We can set SkipVCEnvInit to skip setting up the MSVC environment from VS and instead assume that the current environment is set up correctly.
:: This is very useful for testing with new MSVC versions that aren't in a VS build yet.
.

You should be able to setup MSVC build environment that points to a specific MSVC version before the build, and then set SkipVCEnvInit=1 to build with it.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Liangjia0411
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants