This is a migrated thread and some comments may be shown as answers.

Webviewer control (VS 2010)

4 Answers 51 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
Iron
Veteran
Iron
David asked on 23 Feb 2011, 04:41 PM
As someone new to Telerik controls I might be missing something obvious but I cannot seem to figure this out.

I am working in VS 2010 developing a ASP.NET / Ajax based solution.  So far on my development box everything is working without error.  Per the suggested standards I have created a library of reports which are then referenced in my web projects.  I have created a asp.net webpage which generically launches a given report when required. 

When this project is deployed to the production server the Telerik.Reporting.dll is correctly copied.  VS 2010 appears to automatically pick up the reference from my Report Library .DLL.  What does not get picked up is the reference to the Telerik.ReportViewer.WebForms DLL.  No matter where I located the reference to the Report Viewer (either in the library or main ASP.NET application), the resulting references all refer to the GAC.  Given that my deployment is via "xcopy", items may not reside in the GAC.

As long as I remember to copy the DLL's to my projects compiled folder everything works.  As this is not automated human error can creep in.  Is there a way I can automate the deployment of the required items?  Is this a question of how I refer to the control?  Is this a question of where it is compiled?

Thank you for any insight you might provide.

4 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 25 Feb 2011, 12:22 PM
Hello David,

As the Deploying Web Site help article notes, you should make sure the required assemblies are either copied to the bin folder or you can set the Copy Local property of the reference to true.

Regards,
Steve
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
David
Top achievements
Rank 1
Iron
Veteran
Iron
answered on 25 Feb 2011, 04:11 PM
That is a an obvious solution however it is not available to me.  While creating a standard application (not a website), I have the options of clicking on references and saying "copy local".  When creating a website project that option is not available to me.  Is this a limitation of VS 2010?
0
Massimiliano Bassili
Top achievements
Rank 1
answered on 28 Feb 2011, 01:23 PM
This is rather a limitation of the web site projects and not Visual Studio. MS advise that you copy the references manually as well: http://msdn.microsoft.com/en-us/library/ez524kew.aspx

Cheers!
0
David
Top achievements
Rank 1
Iron
Veteran
Iron
answered on 01 Mar 2011, 04:52 AM
You are of course correct.  Thank you for increasing my knowledge of this tool.  I keep finding new features I never knew I had.

(Such as the Convert to Web Application menu item)
Tags
General Discussions
Asked by
David
Top achievements
Rank 1
Iron
Veteran
Iron
Answers by
Steve
Telerik team
David
Top achievements
Rank 1
Iron
Veteran
Iron
Massimiliano Bassili
Top achievements
Rank 1
Share this question
or