无法加载文件或程序集 rdlc VS 2017

Could not load file or assembly rdlc VS 2017

我正在使用 Visual Studio 2017 开发 rdlc 并使用本地化项目,这是我的解决方案的一部分。我从这个本地化项目创建一个 DLL,并在报告代码中使用 DLL 中的代码。 我引用了这个 DLL,但在 rdlc 中出现了这个错误。

Error while loading code module: ‘MyDll, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’. Details: Could not load file or assembly 'MyDll, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. 

我试图将此 DLL 复制到几个位置,但没有成功。

C:\Program Files (x86)\MSBuild.0\Bin
C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\PrivateAssemblies

我也运行gacutil -i MyDll.dll但是还是不行。

这里有什么问题吗?

我终于找到了一个使用程序集绑定日志查看器需要放置 dll 的位置,就在这里,

C:\Program Files (x86)\Microsoft Visual Studio17\Professional\MSBuild.0\Bin

现在工作正常。