How to specify MSVC version when compiling coreclr on Windows #116737
-
I'm trying to compile the CoreCLR but need to use a specific version of the MSVC compiler. 1.Does the CoreCLR build system support specifying the MSVC compiler version? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
runtime/eng/native/init-vs-env.cmd Lines 72 to 73 in d1770cc You should be able to setup MSVC build environment that points to a specific MSVC version before the build, and then set |
Beta Was this translation helpful? Give feedback.
SkipVCEnvInit
environment variable can be used to skip the default MSVC environment setup:runtime/eng/native/init-vs-env.cmd
Lines 72 to 73 in d1770cc
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.