Click here to Skip to main content
15,894,343 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi sir ,please help me.

this is my class

C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace rsCustomAssembly
{
   public  class Utilities
    {
       public string Concat(string string1, string string2)
       {
           return string1 + "" + string2;
       }
    }
}



in rdlc properies i have given reference rsCustomAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null , and in class name i have added class(Utilities) and instance name(HelpClass)..

i have taken one text box in rdlc report in the expression i have given like this Code.HelpClass.Concat("power","one")..i am getting error's

Error 1 Error while loading code module: ‘rsCustomAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’. Details: Could not load file or assembly 'rsCustomAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. D:\praveen\RDLCExample\RDLCExample\AssemblyRdlc.rdlc RDLCExample

Error 2 Error in class instance declaration for class Utilities: [BC30002] Type 'Utilities' is not defined. D:\praveen\RDLCExample\RDLCExample\AssemblyRdlc.rdlc RDLCExample
Posted

1 solution

I think you are did the application in one version(e.g. visual studio 2005) and modifying it in another version(e.g. Visual Studio 2008).
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900