.NET 4.0 中长时间运行的工作流程添加所需引用时出现问题

发布于 2024-08-13 23:35:00 字数 977 浏览 6 评论 0原文

我正在尝试完成以下“操作方法”,以便尝试并理解持久性在 .NET 4.0 工作流中的工作原理。

MSDN - 如何:创建和运行长时间运行的工作流< /a>

不幸的是,文档中似乎有错误,或者我的设置有问题,因为我无法添加对以下组件的引用:

  • System.WorkflowServiceModel
  • System.WorkflowService

这些组件在步骤 (1) 中指定“在工作流应用程序中启用持久性”部分的内容。

我尝试研究这个问题,但没有发现任何有用的东西。看来我不是唯一遇到问题的人:

Microsoft Connect - VS2010 缺少程序集 System.WorkflowServiceModel

这里的用户建议“问题在于使用了客户端配置文件”,但我不太明白这意味着什么。

我已将我的问题添加到该页面,如果 Microsoft 给出答案,我将在此处更新。

更新:

根据克里斯的评论,我找到了一个更好的链接,并将其放入评论中。我认为 Stack Overflow 上公认的方法是更新最初的问题?

MSDN - 配置 SQL 工作流实例存储

I am attempting to complete the following "how-to" in order to try and understand how persistence works in .NET 4.0 Workflows.

MSDN - How to: Create and Run a Long Running Workflow

Unfortunately, there seems to be an error in the documentation or I have a problem with my setup, as I am unable to add references to the following components:

  • System.WorkflowServiceModel
  • System.WorkflowService

These components are specified in step (1) of the section "To enable persistence in a workflow application".

I tried researching this problem but didn't find anything very useful. It seems that I'm not the only person who has had problems:

Microsoft Connect - VS2010 Missing Assembly System.WorkflowServiceModel

A user here suggests that "the problem was that the client profile was used" but I don't really understand what this means.

I have added my question to that page and will update here if an answer is forthcoming from Microsoft.

Update:

Following Chris' comments, I found a better link which I put in a comment. I think the accepted approach on Stack Overflow is to update the initial question?

MSDN - Configuring the SQL Workflow Instance Store

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

灯下孤影 2024-08-20 23:35:00

这似乎是文档中的错误,而不是您的设置问题。实际上,整篇文章似乎包含完全过时的信息 - 几乎没有内容似乎与 WF Beta 2 相关。我建议现在查找另一个网站。

This appears to be a bug in the documentation, not a problem with your setup. Actually, the whole article seems to contain completely outdated information - almost none of the content seems to be related to WF Beta 2. I would suggest looking up another site for now.

云仙小弟 2024-08-20 23:35:00

程序集已重命名/在 PDC 2008 和 Beta1 之间的一段时间进行了重组。查找 System.ServiceModel.Activities。

The assembly(ies) got renamed/reorganized some time between PDC 2008 and Beta1. Look for System.ServiceModel.Activities.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文