Can I create CRM workflows using .NET 4?

做~自己de王妃 提交于 2020-01-14 02:32:34

问题


I would like to take advantage of .NET4 for Dynamics CRM4.0. It is great for most things but I get a file not found exception when trying to register a workflow. It can't find System.Workflow.ComponentModel 4.0.0.0.

Is there a workaround?


回答1:


CRM 4 is built under .NET 2.0/3.0. So, the only way to work with .NET 4.0 and CRM 4.0 is to isolate them in their own process. CRM 5.0 will use .NET 4.0, so you will be able to use it with the next version of CRM.

With some tweeks you should be able to make it work partially with .NET 4.0, but if it like CRM 3.0 and .NET 2.0, other parts will break without workaround.

More info can be found on the Ascentium blog at http://xrm.ascentium.com/blog/crm/Post834.aspx



来源:https://stackoverflow.com/questions/2681502/can-i-create-crm-workflows-using-net-4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!