最近用vs2012做.net项目,本地执行成功后,部署到服务器,凡是有asp:ScriptManagera的页面,第一次加载时经常报 Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral
在使用VS2012开发.NET项目并部署到服务器时,遇到错误:Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0...。尽管确认了服务器应用池和web.config配置为.NET Framework 4.0,问题仍然存在。检查发现项目的引用实际上是针对.NET Framework 4.5。通过将项目的目标框架改为.NET Framework 4.0解决了问题。"
106873608,5663198,C# foreach循环详解与应用,"['C#语言', '编程基础', '循环结构']
最近用vs2012做.net项目,本地执行成功后,部署到服务器,凡是有asp:ScriptManagera的页面,第一次加载时经常报 Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral
998
561
3841
6995
833
1300
1256
6607
2507

被折叠的 条评论
为什么被折叠?