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

Wich .Net Framework used by Telerik 2012 ?

3 Answers 79 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Michel
Top achievements
Rank 1
Michel asked on 06 Feb 2014, 02:58 PM
Hello,

Our PROD server run .Net framework 4.0

Since we've change our Developement plateform to .Net Framework 4.5,  we have deployement issues when copying the files to the server.  We took care to not use .Net framework 4.5 specific methods / class / option.

On the server,  we sometime have "Pre-compiled"  issue.   I've noticed the following message when make the deployemet:

Warning 2 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=2012.2.607.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4. The dependencies are: System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089. 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.

Any idea?

Thank you & best regards,
Michel.

3 Answers, 1 is accepted

Sort by
0
Genady Sergeev
Telerik team
answered on 07 Feb 2014, 04:11 PM
Hello Michel,

When using Precompiled deployment you should make sure that Development and Production are running in the very same version of .NET. It is not possible to compile against 4.5 in Development and to have the same compiled site work in 4.0.

So, to summarize - either switch all your environments to 4.5 or bring back development to 4.0 and this will resolve the issue that you are experiencing.

Regards,
Genady Sergeev
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
0
Michel
Top achievements
Rank 1
answered on 10 Feb 2014, 03:42 PM
Thank you for the reply.  But when deploying on our Developpment Environnement which is on Framework 4.5,  we took care to setup the FrameworkTarget to 4.0.  I was thinking that this should be considered?

Michel.
0
Genady Sergeev
Telerik team
answered on 13 Feb 2014, 06:33 PM
Hello,

If you are doing the proper configuration this should not be a problem. However, from the error in your first post I can see that the runtime version in production is not 4.0, at least according to the error message.

So, can check and make sure that the:

1) Application pool under which the application is running is 4.0
2) The runtime of the hosted website is set to 4.0. (Right click on the project, website properties)
3) You use Telerik.Web.UI for .NET 4.0

Regards,
Genady

Regards,
Genady Sergeev
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
Tags
General Discussions
Asked by
Michel
Top achievements
Rank 1
Answers by
Genady Sergeev
Telerik team
Michel
Top achievements
Rank 1
Share this question
or