We're trying to migrate our old Reporting Services solution from Visual Studio 2008 with Business Intelligenge Studio, to Visual Studio 2017 with SQL Server Data Tools. The reports in the project are referencing a custom assembly for localization of the reports. And that custom assembly project is part of the solution.
As with VS2008, for the reports project to be able to be built, the custom assembly needs to be built and placed in the Private Assemblies folder for VS, no worries there.
But when I try to preview the reports in VS, it still gives this error
Error while loding code modue: MyCompany.MyDllName, Version=1.2.3.4. Details: Could not load file or assembly MyCompany.MyDllName, Version=1.2.3.4, or one of it's depencies. The system cannot find the file specified.
I have checked that the file does exist in the Private Assemblies folder, and that the version number matches the one referenced in the reports.
Where do I need to place the file for the preview view to be able to find it? And how can it be different from where I need to place them for the reports to build?