Code in custom assembly problem RRS feed

  • Question

  • I have created a custom assembly containing just one class. The assembly has been added to the report Properties References list and the class name has been set to a qualified class name. An arbitary name was chosen for the instance name. An attempt to complie the project causes  Error in class instance declaration for class ReportFormatSpec.FormatScheme: [BC30516] Overload resolution failed because no accessible 'New' accepts this number of arguments. ReportFormatSpec.FormatScheme has a parameterless constructor among others.

    What am I doing wrong? Be nice if the error message said how many parameters it was looking for.
    Friday, September 25, 2009 2:29 PM

All replies