title: Visual Studio 2010 Local SSRS Report (.rdlc) with Object Data Source
body: <p>I've created more projects using ReportViewer 2005 and 2008 in local processing mode than I can count on my hands. All Visual Studio 2005 or 2008 ASP.NET web forms projects. I always used some flavor of Object data source for the reports.</p>
  
  <p>Tonight, I attempted to add the same functionality to a Visual Studio 2010 MVC 2 project and am failing miserably. First, the Add New Item > Reporting > Report is now a 2008 RDLC and not a 2005 RDLC report. Secondly, when trying to add a DataSet, my usual method of create a data proxy class with static methods that return <code>IEnumerables(Of Stuff)</code> will not show up as sources in the DataSources drop down</p>
  
  <p><img src="https://i.stack.imgur.com/0fLnN.png" alt="Empty Data Source"></p>
  
  <p>Thirdly, my <em>only</em> option is to add a Database connection. There is no "Object Data Source" to pick from:</p>
  
  <p><img src="https://i.stack.imgur.com/7cptm.png" alt="Database connections only"></p>
  
  <p>I'm stumped. Like I kind of alluded to, I have no problems whatsoever actually rendering a report using the ReportViewer control. What I can't do is figure out how set up a Data Source in these new-fangled 2008 reports with Visual Studio 2010 so that I can pump a list of domain objects into the ReportViewer and display the report.</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>With some more research, I've found that MVC projects do not allow object data sources to be used within them. One solution for my issue is to create a separate project in the solution -- a web application, a service, or even just a class library, to add the report to and design it accordingly.</p>
  
  <p>I'm still looking for alternatives here.</p>