转换VS 2008网站以在VS 2010中使用时出现问题 [英] Problem converting VS 2008 Web site for use in VS 2010

查看:79
本文介绍了转换VS 2008网站以在VS 2010中使用时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Visual Studio 2008中创建了一个正常运行的Web站点,该站点在本地模式下使用Report Viewer控件。  我想利用VS 2010中的tablix报表设计功能,所以我希望在VS 2010中打开网站并对RDLC文件进行适当的调整。  当我在VS 2010中打开网站时,RDLC文件完美地转换为RDLC 2008格式。然而,当我尝试在本地构建和查看网站时,我收到以下错误消息:

I have a functioning Web site created in Visual Studio 2008 that uses the Report Viewer control in local mode.  I wanted to take advantage of the tablix report design feature in VS 2010, so my hope was to open the site in VS 2010 and make the appropriate adjustments to the RDLC files.   The RDLC files converted perfectly to the RDLC 2008 format when I opened the Web site in VS 2010.  However, when I then tried to build and view the Web site locally, I got the following error message:


推荐答案

如果您将引用从"公共"更改为"WebForms",则RdlBuildProvider已移至"Microsoft.ReportViewer.WebForms"程序集。你应该好好去。

The RdlBuildProvider has been moved to the 'Microsoft.ReportViewer.WebForms' assembly, if you change the reference from Common to WebForms you should be good to go.


这篇关于转换VS 2008网站以在VS 2010中使用时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆