Wednesday, March 2, 2011

The service 'System.Workflow.ComponentModel.Compiler.ITypeProvider' must be installed for this operation to succeed. Please ensure that this service is available.

Yesterday I was creating a Visual studio workflow, so I have created a WSPBuilder Project and added ‘State Machine Workflow feature’ template. When I tried to open the workflow it gave me following error:

The service 'System.Workflow.ComponentModel.Compiler.ITypeProvider' must be installed for this operation to succeed.  Please ensure that this service is available.

To fix this issue you have to edit your project file:

<Project>
<PropertyGroup>
            <ProjectTypeGuids> {14822709-B5A1-4724-98CA-57A101D1B079};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}ProjectTypeGuids>

Note: You will not encounter above error in ‘WSPBuider Project with Workflow' template.

Reference link: 

2 comments:

  1. You saved my saturday afternoon.
    Thanks a lot.

    ReplyDelete