简体   繁体   English

为什么我的VS2010工作流程项目看不到早期绑定的CRM类?

[英]Why cant my VS2010 workflow project see the early-bound CRM classes?

I am trying to develop a custom workflow for CRM 2011 on-site. 我正在尝试为现场CRM 2011开发自定义工作流程。 I followed the MS tutorial http://msdn.microsoft.com/en-us/library/gg328515.aspx to the point where the CRM Explorer window of VS shows the Entities etc in CRM and the built workflow project can be deployed from VS and appears in CRM. 我按照MS教程http://msdn.microsoft.com/en-us/library/gg328515.aspx进行操作,直到VS的CRM Explorer窗口显示CRM中的实体等,并且可以从VS部署构建的工作流项目并出现在CRM中。 However, in the CS code the CRM entities are not known types. 但是,在CS代码中,CRM实体不是已知类型。 I guess that I have missed a reference. 我想我错过了一个参考。 These are the ones I have: 这些是我的:

...
namespace TP24408ContactMatch.Workflow   
{
    using System;
    using System.Activities;
    using System.ServiceModel;
    using Microsoft.Xrm.Sdk;
    using Microsoft.Xrm.Sdk.Workflow;
    ...

I suspect that I haven't given anywhere near enough info here, but if anyone has the patience to lead me by the nose I'd be very grateful! 我怀疑我在这里没有提供足够的信息,但如果有人有耐心引导我的话,我将非常感激!

There are no early bound entities in the CRM SDK. CRM SDK中没有早期绑定的实体。 You have to build them using the crmSvcUtil.exe . 您必须使用crmSvcUtil.exe构建它们

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM