如何在3.5中构建.net framework 4.0的应用程序 [英] how to build application of .net framework 4.0 in 3.5
本文介绍了如何在3.5中构建.net framework 4.0的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在框架4.0中编写了我的Web应用程序代码,并希望在框架3.5上构建。
当我从属性更改框架>>构建为.netframework 3.5。
i我的异常是
I have code my web application in framework 4.0 and want to build on framework 3.5 .
When i am changing framework from property >> Build as .netframework 3.5.
i am getting exception as
Error 1 Assembly 'RollbackUtility, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null' uses 'System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
请紧急提供解决方案。
Kindly provide solution on urgent basis.
推荐答案
你可以不是直接 - 您的项目引用的RollbackUtility程序集是为.NET 4或更高版本构建的,您可以在V3.5项目中引用该程序集。
要么摆脱对Roll的引用backUtility程序集,或者为.NET V3.5重新构建,并添加对新版本的引用。
You can't, not directly - the RollbackUtility assembly your project references was built for .NET 4 or above, and you can;t reference that assembly in a V3.5 project.
Either get rid of the reference to the RollbackUtility assembly, or re-build that for .NET V3.5 and add a reference to the new version instead.
这篇关于如何在3.5中构建.net framework 4.0的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文