I’ve built an assembly with a public static class and a public static method with a return type of int. Eventually I’ll add more methods but for now the assembly contains just one method. I’m trying to use this assembly in my SSRS reports but it results in an error:
[rsErrorLoadingCodeModule]
Error while loading code module: ‘XXX.Calcs, Version=2013.1.21.0, Culture=neutral, PublicKeyToken=null’.
Details: Could not load file or assembly ‘XXX.Calcs, Version=2013.1.21.0, Culture=neutral, PublicKeyToken=null’ or one of its dependencies. The system cannot find the file specified.
I referenced the assembly through Report Properties -> References. When I create an expression that uses the method in the assembly and then build, I get the above error.
I deployed the assembly to:
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies
Thoughts? Am I missing any steps?
I found this and followed the steps exactly.