Problem Description
When working with declarative workflow services you may get following error on build:
error XC1008: The XAML MSBuild task only processes files that either contain an '{http://schemas.microsoft.com/winfx/2006/xaml}Directive.Class' directive or a '{http://schemas.microsoft.com/netfx/2008/xaml/schema}SchemaType' definition. Please refer to documentation for usage of ‘{http://schemas.microsoft.com/winfx/2006/xaml}Directive.Class’ and '{http://schemas.microsoft.com/netfx/2008/xaml/schema}SchemaType'.
Workaround
To solve this problem set “Build Action” to none. The default build action is mostly for some reason set on XamlAppDef.

Posted
Apr 10 2009, 12:48 PM
by
Damir Dobric