I was having some problems getting a composite workflow activity that I am developing working within an existing common project that I have in my Visual Studio solution.
The Error:
One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes.
The service 'System.Workflow.ComponentModel.Compiler.ITypeProvider' must be installed for this operation to succeed. Ensure that this service is available.
The Answer:
- <ProjectTypeGuids>{14822709-B5A1-4724-98CA-57A101D1B079};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
Open the destination project with a text editor and paste the above node in the same <PropertyGroup/> as the <AssemblyName/> node. - <Import Project="$(MSBuildExtensionsPath)\Microsoft\Windows Workflow Foundation\v3.0\Workflow.Targets" />
Paste the above node at the same level as any existing <Import/> nodes. - Make sure that you have all the proper references in your project.
Comments