繁体   English   中英

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

[英]Converting VS2008 Solution to VS2010 Creates compile errors in ASP.NET 3.5 SP1

我正在将大型解决方案从Visual Studio 2008转换为Visual Studio2010。转换完成没有错误。 当我去构建解决方案时,应用程序的一个特定部分抛出错误,但是当解决方案是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

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.

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

我已经遍历了在网上找到的修复程序,似乎无济于事。 如果有人可以帮助我或指出正确的方向,我将不胜感激?

谢谢。

尝试安装Microsoft .NET Framework 3.5的Microsoft图表控件。 您可以在http://www.microsoft.com/downloads/details.aspx?FamilyID=130f7986-bf49-4fe5-9ca8-910ae6ea442c&DisplayLang=en上找到它

那是制图控件,您可能需要获取适用于.net 4.0的最新版本。

有关它的一些信息,请访问: http : //msdn.microsoft.com/zh-cn/library/ee410579(VS.100).aspx

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM