This is a migrated thread and some comments may be shown as answers.

Support for .net framework 3.5

1 Answer 243 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Nakori
Top achievements
Rank 1
Nakori asked on 20 Jan 2015, 06:14 PM
Hello

I need to use .net framework 3.5 in a project.

I'm trying to add this assembly:
<add assembly="Telerik.Web.UI, Version=2013.2.717.35, Culture=neutral, PublicKeyToken=121FAE78165BA3D4"/>

Gives this warning and error:
---------------------------

Warning    101    The following assembly has dependencies on a version of the .NET Framework that is higher than the target and might not load correctly during runtime causing a failure: Telerik.Web.UI, Version=2013.2.717.35, Culture=neutral, PublicKeyToken=121FAE78165BA3D4. The dependencies are: System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35. You should either ensure that the dependent assembly is correct for the target framework, or ensure that the target framework you are addressing is that of the dependent assembly.    

Error    104    The type 'System.Web.UI.IScriptControl' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

---------------------------

* System.Web.Extensions is already referenced.

Thanks.

regards, Nakori

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 21 Jan 2015, 05:01 PM
Hello,

If you have older reference for System.Web.Extensions with version less than 3.5, remove it from the web.config and see if you still receive this error. I have attached web.config file for .NET 3.5 which you can use for reference.

Regards,
Pavlina
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Nakori
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or