将VS2008解决方案转换为VS2010会在ASP.NET 3.5 SP1中产生编译错误

将VS2008解决方案转换为VS2010会在ASP.NET 3.5 SP1中产生编译错误,asp.net,visual-studio-2010,asp.net-3.5,Asp.net,Visual Studio 2010,Asp.net 3.5,我正在将一个大型解决方案从VisualStudio2008转换为VisualStudio2010。转换完成,没有错误。当我去构建解决方案时,应用程序的一个特定部分会抛出错误,但当解决方案是2008年时,它没有抛出错误 Error 1 Could not load file or assembly 'System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or

我正在将一个大型解决方案从VisualStudio2008转换为VisualStudio2010。转换完成,没有错误。当我去构建解决方案时,应用程序的一个特定部分会抛出错误,但当解决方案是2008年时,它没有抛出错误

Error 1 Could not load file or assembly 'System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. C:\MyProject\Results\Result.ascx 3

dll在bin中,而不在GAC中。.refresh文件指向正确的位置。Web.Config中的所有部分都在那里,如果您需要查看,请告诉我

我已经检查了我在网上找到的修复程序,似乎没有任何帮助。如果有人能帮我或给我指出正确的方向,我会非常感激


谢谢。

这是图表控件,您可能需要获得与.net 4.0兼容的最新版本

有关资料载于:
尝试安装Microsoft.NET Framework 3.5的Microsoft图表控件。您可以在

我的解决方案中找到它,并且下的所有项目都以3.5为目标,所以这不应该是一个问题?还是我错了?嗯听起来你应该没事。。。对不起,没有别的主意了。我将从2010年一直呆到夏天。
C:\CMyProject\Results\Result.ascx(3): Build (web): Could not load file or assembly 'System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.