Answered by:
CRM 4.0 and .net 4

Question
-
Can CRM 4.0 call a plugin assembly that is compiled in .net4?
I'm having plugin issues and I'm not sure if it happened since upgrading to .net4.
Monday, July 19, 2010 7:06 AM
Answers
-
From MS CRM SDK Latest SDK
Support for .NET Framework Versions
The following describes the support considerations for custom code written with Microsoft Visual Studio 2005 or 2008 and the Microsoft .NET Framework Version 3.0.
Any Web service client created by using Visual Studio .NET 2005 or 2008 and the .NET Framework version 3.0 that calls the Microsoft Dynamics CRM Web services is fully supported in Microsoft Dynamics CRM. The use of ASP.NET AJAX is supported.
Any .NET assembly that is created with Visual Studio .NET 2005 or 2008 and the .NET Framework version 3.0 for use in Microsoft Dynamics CRM as a Microsoft Dynamics CRM plug-in assembly or as a Microsoft Dynamics CRM custom workflow activity is supported.
Any visualization (chart) that is created with .NET Framework version 3.5 is supported.
For backwards compatibility, these endpoints can be used with earlier versions of the .NET Framework as follows:
- The 2007 endpoint supports .NET Framework 2.0
- The 2006 endpoint supports .NET Framework 1.1
Mahain- Proposed as answer by HIMBAPModerator Monday, July 19, 2010 7:35 AM
- Marked as answer by DavidJennawayMVP, Moderator Thursday, August 5, 2010 2:15 PM
Monday, July 19, 2010 7:23 AMModerator
All replies
-
From MS CRM SDK Latest SDK
Support for .NET Framework Versions
The following describes the support considerations for custom code written with Microsoft Visual Studio 2005 or 2008 and the Microsoft .NET Framework Version 3.0.
Any Web service client created by using Visual Studio .NET 2005 or 2008 and the .NET Framework version 3.0 that calls the Microsoft Dynamics CRM Web services is fully supported in Microsoft Dynamics CRM. The use of ASP.NET AJAX is supported.
Any .NET assembly that is created with Visual Studio .NET 2005 or 2008 and the .NET Framework version 3.0 for use in Microsoft Dynamics CRM as a Microsoft Dynamics CRM plug-in assembly or as a Microsoft Dynamics CRM custom workflow activity is supported.
Any visualization (chart) that is created with .NET Framework version 3.5 is supported.
For backwards compatibility, these endpoints can be used with earlier versions of the .NET Framework as follows:
- The 2007 endpoint supports .NET Framework 2.0
- The 2006 endpoint supports .NET Framework 1.1
Mahain- Proposed as answer by HIMBAPModerator Monday, July 19, 2010 7:35 AM
- Marked as answer by DavidJennawayMVP, Moderator Thursday, August 5, 2010 2:15 PM
Monday, July 19, 2010 7:23 AMModerator -
Try to build using .NET 3.5 or 3.0.
.NET 3.0 and .NET 3.5 actually used the .NET 2.0 CLR. This is because .NET 3.0 and 3.5 were really just a set of extensions to the framework and did not require an actual new runtime. This means that ASP.NET 2.x to 3.5 all used the same .NET 2.0 runtime.I guess CRM 4.0 not compatible with .NET 4.0.
Monday, July 19, 2010 7:30 AM -
Thanks everybody for your insight.
Monday, July 19, 2010 11:13 PM -
CRM4 doesn't support .Net framework 4, It does support .Net 3.5.
If you are developing plugin for .Net 4, It won't work, But you can built custom asp.net application on .Net 4 using CRM SDK or Web services.
CRM5 will support .Net 4
Tuesday, July 20, 2010 12:59 AM -
CRM4 doesn't support .Net framework 4, It does support .Net 3.5.
If you are developing plugin for .Net 4, It won't work, But you can built custom asp.net application on .Net 4 using CRM SDK or Web services.
CRM5 will support .Net 4
Does this mean I can create an asp.net mvc 3 web application (.net 4 project type) & still use crm 4.0 web service ?Friday, June 15, 2012 7:00 PM -
If you're using the WSDL, then sure. The assemblies won't work for your needs, however, and the .Net 4 project can't run in the same Application Pool as CRM (because of the .Net version difference). Today, I'm writing Silverlight 5 applications for CRM 4 based on the same principle. Web Services are platform agnostic, so long as they're being accessed "remotely".
Dave Berry - MVP Dynamics CRM - http:\\crmentropy.blogspot.com Please follow the forum guidelines when inquiring of the dedicated CRM community for assistance.
Friday, June 15, 2012 7:24 PMModerator