In the Custom Assembly example, Report1.rdlc has a TextBox called textBox1 with the Value [="Factorial of 4 is " & Util.Factorial(4)]
There is the following Util.cs class with the following function:
public class Util {
public static int Factorial(int n) {
return ((n <= 1) ? 1 : (n * Factorial(n - 1)));
}
}
Whenever I try to build this in Visual Studio 2008, I get an Error. How do I get around this?
Error 1 Error while loading code module: ‘Util, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’. Details: Could not load file or assembly 'Util, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
The system cannot find the file specified. F:\Shared\jp2Testing\ReportViewer\CustomAssembly\Report1.rdlc ReportViewerProject
~Joe
Avoid Sears Home Improvement