VS2017: “Cannot find the resource compiler DLL. Pl

2019-04-07 13:20发布

I am using Visual Studio 2017. When I try to build a solution, I encounter this error:

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

I checked my system, and found that the v7.0, v8.0, v8.0A, v8.1A, and v10.0A SDKs are installed on my machine. I checked my project properties, and the default SDK is v8.0

2条回答
疯言疯语
2楼-- · 2019-04-07 13:54

you could copy from
C:\Program Files (x86)\Windows Kits\10\bin\10.0.15063.0\x64\rc.exe
C:\Program Files (x86)\Windows Kits\10\bin\10.0.15063.0\x64\rcdll.dll

to

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

and copy 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
to
C:\Program Files (x86)\Windows Kits\10\bin\x86\rc.exe
C:\Program Files (x86)\Windows Kits\10\bin\x86\rcdll.dll

查看更多
男人必须洒脱
3楼-- · 2019-04-07 13:57

Me too, i have only the "windows 10 sdk version 10.0.15063.0" installed, and solved after:

Copy rddll.dll from: c:\Program Files (x86)\Windows Kits\10\bin\10.0.15063.0\x86\rcdll.dll to: c:\Program Files (x86)\Windows Kits\10\bin\x86\

ref link: https://developercommunity.visualstudio.com/content/problem/43024/ide-cannot-find-the-resource-compiler-dll-rcdlldll.html

Just a temporary workaround, but it works.

Edit:

Run Visual Studio Installer from start menu, and click Update, after a while it's done, all thing worked.

it's doesn't need to copy file any more.

查看更多
登录 后发表回答