简体   繁体   中英

workflow Foundation 4.5 Side By Side versioning

Using VS 2012 and .Net 4.5 I've developed a workflow and deployed it. 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. 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"! 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

I had to manually force the versions on the factory...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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