zoukankan      html  css  js  c++  java
  • Wokflow designer not working when openning workflow in nonworkflow VS 2005 project

    If you worked with Windows Workflow before on Visual Studio 2005, copied a workflow diagram from a workflow project into a second normal project, added the proper references, built the second project and everything, but afterwards tried to open the workflow diagram in designer, and it didn't work, giving you an error message like tis one:
    The service 'System.Workflow.ComponentModel.Design.IIdentifierCreationService' must be installed for this operation to succeed. Ensure that this service is available.
    You can solve this by one of two ways:
    1. Create a 3rd project as workflow project and move everything from the 2nd project to it. [Sounds like Microsoft recommendation - I hate that one though]
    2. Modify the .csproj file file to add the lines in green under the black lines:
        <AssemblyName>ASEEMBLY_NAME_HERE__TYPICALLY _SAME_AS_PROJECT_FILE</AssemblyName>
        <ProjectTypeGuids>{14822709-B5A1-4724-98CA-57A101D1B079};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
      </PropertyGroup>
      <Import Project="$(MSBuildExtensionsPath)\Microsoft\Windows Workflow Foundation\v3.0\Workflow.Targets" />

    Hope  that helps!
  • 相关阅读:
    leetcode_138复制带随机指针的链表
    minSTL
    LLVM
    STL基础_迭代器
    mysql数据库表清空后id如何从1开始自增
    explain用法和结果分析
    MySQL多表查询与子查询
    数据结构与算法笔记
    MySQL数据库的SQL语言与视图
    mysql忘记密码解决方案
  • 原文地址:https://www.cnblogs.com/silva/p/889426.html
Copyright © 2011-2022 走看看