简体   繁体   English

工作流Foundation 4.5并排版本控制

[英]workflow Foundation 4.5 Side By Side versioning

Using VS 2012 and .Net 4.5 I've developed a workflow and deployed it. 使用VS 2012和.Net 4.5,我开发了工作流程并进行了部署。 Because of some business changes i had to change it. 由于某些业务更改,我不得不对其进行更改。 Since there's no bug on the previous version and i can let the old instances conclude i decided to use side-by-side versioning. 由于先前版本没有错误,因此我可以让旧实例得出结论,因此我决定使用并行版本控制。

There's a problem though. 不过有一个问题。 My workflow has c# expressions. 我的工作流程中有c#表达式。 I did implemented a factory and it works only for the new instances! 我确实实现了一个工厂,它仅适用于新实例! If a old instance get a message, the runtime returns me that the workflow (v1) is not "compiled"! 如果旧实例收到消息,运行时将返回工作流(v1)未“编译”的信息! Which i'm interpreting as "the service activation is working only for the latest version". 我将其解释为“服务激活仅适用于最新版本”。

I've ended up finding the same answers described here: WF4.5 not compiling side-by-side c# workflows 我最终找到了这里描述的相同答案: WF4.5不编译并行的c#工作流程

I had to manually force the versions on the factory... 我不得不在工厂手动强制版本...

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

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