是否可以预测将在何处安装资源编译器?

时间:2019-10-17 06:55:18

标签: visual-studio embedded-resource visual-studio-2019

我有一个使用Visual Studio的Resource Compiler(rc.exe)的CMake脚本,但是我发现很难预测将在哪里安装该脚本。我已经看到将其放在C:/Program Files (x86)/Windows Kits/10/bin/x64/中,并且目前在以下位置有副本:

$ find . -name "rc.exe" -type f 2> /dev/null | grep -v Binary
./Program Files (x86)/Windows Kits/10/bin/10.0.16299.0/arm64/rc.exe
./Program Files (x86)/Windows Kits/10/bin/10.0.16299.0/x64/rc.exe
./Program Files (x86)/Windows Kits/10/bin/10.0.16299.0/x86/rc.exe
./Program Files (x86)/Windows Kits/10/bin/10.0.17763.0/arm64/rc.exe
./Program Files (x86)/Windows Kits/10/bin/10.0.17763.0/x64/rc.exe
./Program Files (x86)/Windows Kits/10/bin/10.0.17763.0/x86/rc.exe
./Program Files (x86)/Windows Kits/10/bin/10.0.18362.0/arm64/rc.exe
./Program Files (x86)/Windows Kits/10/bin/10.0.18362.0/x64/rc.exe
./Program Files (x86)/Windows Kits/10/bin/10.0.18362.0/x86/rc.exe

是否可以预测Visual Studio将在何处安装此可执行文件,或者是否可以通过注册表获取安装信息?

0 个答案:

没有答案