« Microsoft.com, built on MOSS | Main | SharePoint 2003 Recycle Bin Links »

Workflow in Non-Workflow Visual Studio 2005 Project

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:

  1. <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.
  2. <Import Project="$(MSBuildExtensionsPath)\Microsoft\Windows Workflow Foundation\v3.0\Workflow.Targets" />

    Paste the above node at the same level as any existing <Import/> nodes.
  3. Make sure that you have all the proper references in your project.

TrackBack

TrackBack URL for this entry:
http://www.capdes.com/mt/mt-tb.cgi/5

Listed below are links to weblogs that reference Workflow in Non-Workflow Visual Studio 2005 Project:

» Visual Studio 2005 class project - where is my workflow template? from Bamboo Partner Blogs
When I was working in a normal c# class project I wanted to create a new workflow class item. Unfortunately [Read More]

About

View Eric Schoonover's profile on LinkedIn
 

Follow me on Twitter
 
© Copyright 2007, Eric Schoonover

Search

Post Info

This page contains a single entry from the blog posted on February 5, 2007 3:29 PM.

The previous post in this blog was Microsoft.com, built on MOSS.

The next post in this blog is SharePoint 2003 Recycle Bin Links.

Many more can be found on the main index page or by looking through the archives.

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.