zoukankan      html  css  js  c++  java
  • Versioning SharePoint 2010 Workflow In VS

    1.Keep old version dll

      a.Create a folder named as version1.0.0.0 in Bin

      b.Copy existed workflow DLL from GAC(differnent between SP2010 and SP2013) to created folder

      

    2. Modify old version element file of workflow

      <Workflow
         Name="PurchasingWorkflowTempalte1.0.0.0"
         Description="Purchasing Workflow Tempalte"
         Id="041b72c8-6491-4a3d-9272-03d09f50f6d9"
         CodeBesideClass="SP13.PurchasingWorkflow.PurchasingWorkflow.PurchasingWorkflow"
         CodeBesideAssembly="SP13.PurchasingWorkflow, Version=1.0.0.0, Culture=neutral, PublicKeyToken=fe0afbe7fc302259">  </Workflow>

    3.Package the old version dll for old workflow

      a.Add existing dll and specify the [Location],In [Location] you must add route path.

    4.Add definition for new workflow

       a.Generate a new guid  for new workflow template.

      <Workflow
         Name="PurchasingWorkflowTempalte2.0.0.0"
         Description="Purchasing Workflow Tempalte"
         Id="9B8AF2D0-6B36-4027-BAB9-53B5E0C54161"
         CodeBesideClass="Leoni.SP13.PurchasingWorkflow.PurchasingWorkflow.PurchasingWorkflow"
         CodeBesideAssembly="Leoni.SP13.PurchasingWorkflow, Version=2.0.0.0, Culture=neutral, PublicKeyToken=fe0afbe7fc302259" > </Workflow>

    5.Modify assembly version and file version to 2.0.0.0 of the project.

  • 相关阅读:
    hdu5289 RMQ+二分
    poj1459 最大流Dinic
    poj2391 最大流+拆点
    poj1087&&hdu1526 最大流
    NOI2004 郁闷的出纳员
    Treap入门(转自NOCOW)
    poj 2892
    vijos 1512
    对拍程序
    poj 3264
  • 原文地址:https://www.cnblogs.com/PeterHome/p/3968246.html
Copyright © 2011-2022 走看看