2017-04-10 331 views
6

我使用Visual Studio 2017年当我尝试建立一个解决方案,我会遇到这样的错误:VS2017:“找不到资源编译器DLL。请确保路径是正确的”

Cannot find the resource compiler DLL. Please make sure the path is correct.

我检查我的系统,并发现V7.0 ,v8.0,v8.0A,v8.1A和v10.0A SDK安装在我的机器上。我检查了我的项目属性,默认SDK是V8.0

+0

可以分享错误截图吗? –

回答

6

我也一样,只有“窗口10 SDK版本10.0.15063.0”安装,并解决后我有:

从复制rddll.dll: c:\ Program Files(x86)\ Windows Kits \ 10 \ bin \ 10.0.15063.0 \ x86 \ rcdll.dll 至: c:\ Program Files(x86)\ Windows Kits \ 10 \ bin \ x86 \

参考链接:https://developercommunity.visualstudio.com/content/problem/43024/ide-cannot-find-the-resource-compiler-dll-rcdlldll.html

只是一个临时的解决方法,但它的工作原理。

编辑:

运行Visual Studio安装程序从开始菜单,然后单击更新,它这样做了一段时间后,所有事情的工作。

它不需要复制文件了。

+0

只是复制该文件是不够的 - 我尝试使用visual studio安装程序修复,但它仍然有问题 – serup

+0

在我的情况下,它的更新,而不是修复 –

+0

我最终使用visual studio安装程序添加适当的开发人员工具,然后让它更新,然后修复 - 花了很长时间,但现在它适用于我 – serup

-1

你可以从
复制C:\ Program Files文件(x86)的\的Windows套件\ 10 \ BIN \ 10.0.15063.0 \ 64 \ RC.EXE
C:\ Program Files文件(x86)的\的Windows套件\ 10 \ BIN \ 10.0.15063.0 \ 64 \ rcdll.dll


C:\ Program Files文件(x86)的\的Windows套件\ 10 \ BIN \ 64 \ RC.EXE
C:\ PROGRAM文件(x86)\ Windows套件\ 10 \ bin \ x64 \ rcdll.dll

和警察y from

C:\ Program Files(x86)\ Windows Kits \ 10 \ bin \ 10.0.15063.0 \ x86 \ rc.exe
C:\ Program Files(x86)\ Windows Kits \ 10 \ bin \ 10.0。 15063.0 \ x86 \ rcdll.dll

C:\ Program Files(x86)\ Windows Kits \ 10 \ bin \ x86 \ rc.exe
C:\ Program Files(x86)\ Windows Kits \ 10 \ bin \ x86 \ rcdll.dll