Wokflow designer not working when openning workflow in non-workflow 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:
You can solve this by one of two ways:
Hope that helps!
The service 'System.Workflow.ComponentModel.Design.IIdentifierCreationService' must be installed for this operation to succeed. Ensure that this service is available. |
- 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]
- 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!