Previewing report in Visual Studio with ObjectDataSource using external assemblies

2 posts, 0 answers
  1. Ralf
    Ralf avatar
    12 posts
    Member since:
    Jan 2014

    Posted 16 Apr 2015 Link to this post

    We are designing a report with an ObjectDataSource in Visual Studio 2013.

    The ObjectDataSource uses a method to retrieve data-items.

    All works fine when the code needed to retrieve data is included in same library as the report.

    However, when I want to use another (shared) library to retrieve the data, the designer fails to load that assembly (that's the exception that is shown).

    I know that putting the library in same location as Visual Studio works, but that's not an option for us.


  2. Nasko
    Nasko avatar
    1049 posts

    Posted 21 Apr 2015 Link to this post

    Hello Ralf,

    Since the Visual Studio Report Designer works inside Visual Studio, it is required that the library is in the same location. This is a known and expected behavior. If placing the library in the same location is not an option for you, you will need to use a report viewer to preview the report instead of the designer preview e.g., Windows Forms Report Viewer.


    See What's Next in App Development. Register for TelerikNEXT.

Back to Top