Host Environment
- OS: [e.g. Windows 11.]
- Compiler: msvc 2019
To Reproduce
Steps to reproduce the behavior:
install vs2019 and then install vs2022 rc,
add tensorflow to vcpkg.json
build
error log:
Auto-Configuration Error: Couldn't find undname.exe under C:\Program Files\Microsoft Visual Studio\2022\Community\VC, please check your VC installation and set BAZEL_VC environment variable correctly.
ERROR: Analysis of target '//tensorflow:tensorflow_cc.dll' failed; build aborted: Analysis failed
when i build tensorflow,
BAZEL awaly use Visual Studio 2022, even if i set BAZEL_VC BAZEL_VC_FULL_VERSION to vs 2019。

Auto-Configuration Error: Couldn't find undname.exe under C:\Program Files\Microsoft Visual Studio\2022\Community\VC, please check your VC installation and set BAZEL_VC environment variable correctly.
ERROR: Analysis of target '//tensorflow:tensorflow_cc.dll' failed; build aborted: Analysis failed
INFO: Elapsed time: 6.906s
when i uninstall vs2022, and rebuild, everything is ok.
Host Environment
To Reproduce
Steps to reproduce the behavior:
install vs2019 and then install vs2022 rc,
add
tensorflowtovcpkg.jsonbuild
error log:
when i build tensorflow,
BAZEL awaly use Visual Studio 2022, even if i set BAZEL_VC BAZEL_VC_FULL_VERSION to vs 2019。
when i uninstall vs2022, and rebuild, everything is ok.