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.

  • 相关阅读:
    PHP标准库 (SPL) 笔记
    PHP反射
    PHPer书单
    深入理解面向对象——六大基本原则
    Session自定义存储及分布式存储
    06- Shell脚本学习--其它
    05- Shell脚本学习--函数
    04- Shell脚本学习--条件控制和循环语句
    03- Shell脚本学习--字符串和数组
    02- Shell脚本学习--运算符
  • 原文地址:https://www.cnblogs.com/PeterHome/p/3968246.html
Copyright © 2011-2022 走看看