Error: Fail to add project reference

2 posts, 0 answers
  1. david
    david avatar
    210 posts
    Member since:
    May 2007

    Posted 14 Apr Link to this post

    1) Created a new project

    2) choose blank report template "Report2", added a single textbox

    3) Added a Web Forms report viewer form Q12016

    4) selected existing report

    Class with name Report2 is not found
    Class with name Report2 is found in Reports project.
    Get project references.
    Error: Fail to add project reference
    Class with name Report2 is not found
    Class with name Report2 is found in Reports project.

  2. Stef
    Admin
    Stef avatar
    3053 posts

    Posted 15 Apr Link to this post

    Hi David,

    Please check the projects settings and if they target the same or compatible .NET framework versions. Also double-check which viewer is dragged from the VS Toolbox - the old ASP.NET WebForms viewer (obsolete as of Q3 2015) or the HTML5 WebForms wrapper.


    My recommendation is to use the wizard that starts on adding a viewer through the VS item template. The wizard will let you create a separate ClassLibrary project that will be referenced by the main web application.

    For more details, How To: Use HTML5 ASP.NET Web Forms Report Viewer.


    In case the issue is not related to the project settings, please open a support ticket and send us the problematic project.

    Regards,
    Stef
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft banner
Back to Top