I have written Custom activity with below code.
and when i am trying to drag and drop the custom assembly and build the application. i am getting below errors.
Error 1 The private implementation of activity '1.149: WritingCeMessage' has the following validation error: Compiler error(s) encountered processing expression "False". Keyword is not valid as an identifier.
C:\ActivityLibrary1\DefaultTemplate.xaml 342 39 Template
Error 2 The private implementation of activity '1.205: WriteBuildMessage' has the following validation error: Compiler error(s) encountered processing expression "False". Keyword is not valid as an identifier.
C:\ActivityLibrary1\DefaultTemplate.xaml 429 203 Template
Error 3 The private implementation of activity '1.214: WriteBuildMessage' has the following validation error: Compiler error(s) encountered processing expression "False". Keyword is not valid as an identifier.
C:\ActivityLibrary1\DefaultTemplate.xaml 429 203 Template
Error 4 The private implementation of activity '1.219: WriteMessageTestName' has the following validation error: Compiler error(s) encountered processing expression "False". Keyword is not valid as an identifier.
C:\ActivityLibrary1\DefaultTemplate.xaml 382 98 Template
Error 5 The private implementation of activity '1.226: WritexUnitStdOutput' has the following validation error: Compiler error(s) encountered processing expression "False". Keyword is not valid as an identifier.
C:\ActivityLibrary1\DefaultTemplate.xaml 372 324 Template
Error 6 The private implementation of activity '1.236: WriteBuildMessage' has the following validation error: Compiler error(s) encountered processing expression "False". Keyword is not valid as an identifier.
C:\ActivityLibrary1\DefaultTemplate.xaml 376 186 Template
Error 7 The private implementation of activity '1.298: WriteBuildMessage' has the following validation error: Compiler error(s) encountered processing expression "False". Keyword is not valid as an identifier.
C:\ActivityLibrary1\DefaultTemplate.xaml 397 135 Template
Error 8 The private implementation of activity '1.325: Run MSBuild for Project' has the following validation error: Compiler error(s) encountered processing expression "Microsoft.TeamFoundation.Build.Client.BuildMessageImportance.Normal". Keyword is not valid as an identifier.
C:\ActivityLibrary1\DefaultTemplate.xaml 287 29 Template
Error 9 The private implementation of activity '1.325: Run MSBuild for Project' has the following validation error: Compiler error(s) encountered processing expression "System.Text.Encoding.GetEncoding(System.Globalization.CultureInfo.InstalledUICulture.TextInfo.OEMCodePage)". Keyword is not valid as an identifier.
C:\ActivityLibrary1\DefaultTemplate.xaml 287 29 Template
Error 10 The private implementation of activity '1.432: Run MSBuild for Project' has the following validation error: Compiler error(s) encountered processing expression "Microsoft.TeamFoundation.Build.Client.BuildMessageImportance.Normal". Keyword is not valid as an identifier.
C:\ActivityLibrary1\DefaultTemplate.xaml 177 13 Template
Error 11 The private implementation of activity '1.432: Run MSBuild for Project' has the following validation error: Compiler error(s) encountered processing expression "System.Text.Encoding.GetEncoding(System.Globalization.CultureInfo.InstalledUICulture.TextInfo.OEMCodePage)". Keyword is not valid as an identifier.
C:\ActivityLibrary1\DefaultTemplate.xaml 177 13 Template
Error 12 The private implementation of activity '1.509: WriteBuildWarning' has the following validation error: Compiler error(s) encountered processing expression "False". Keyword is not valid as an identifier.
C:\ActivityLibrary1\DefaultTemplate.xaml 152 5 Template
Error 13 The private implementation of activity '1.556: WriteBuildWarning' has the following validation error: Compiler error(s) encountered processing expression "False". Keyword is not valid as an identifier.
C:\ActivityLibrary1\DefaultTemplate.xaml 114 3 Template
Error 14 The private implementation of activity '1.149: WritingChutzpahConsoleMessage' has the following validation error: Compiler error(s) encountered processing expression "False". Keyword is not valid as an identifier.
C:\ActivityLibrary1\DefaultTemplate.xaml 0 0
Error 15 The private implementation of activity '1.205: WriteBuildMessage' has the following validation error: Compiler error(s) encountered processing expression "False". Keyword is not valid as an identifier.
C:\ActivityLibrary1\DefaultTemplate.xaml 0 0
Error 16 The private implementation of activity '1.214: WriteBuildMessage' has the following validation error: Compiler error(s) encountered processing expression "False". Keyword is not valid as an identifier.
C:\ActivityLibrary1\DefaultTemplate.xaml 0 0
Error 17 The private implementation of activity '1.219: WriteMessageTestName' has the following validation error: Compiler error(s) encountered processing expression "False". Keyword is not valid as an identifier.
C:\ActivityLibrary1\DefaultTemplate.xaml 0 0
Error 18 The private implementation of activity '1.226: WritexUnitStdOutput' has the following validation error: Compiler error(s) encountered processing expression "False". Keyword is not valid as an identifier.
C:\ActivityLibrary1\DefaultTemplate.xaml 0 0
Error 19 The private implementation of activity '1.236: WriteBuildMessage' has the following validation error: Compiler error(s) encountered processing expression "False". Keyword is not valid as an identifier.
C:\ActivityLibrary1\DefaultTemplate.xaml 0 0
Error 20 The private implementation of activity '1.298: WriteBuildMessage' has the following validation error: Compiler error(s) encountered processing expression "False". Keyword is not valid as an identifier.
C:\ActivityLibrary1\DefaultTemplate.xaml 0 0
Error 21 The private implementation of activity '1.325: Run MSBuild for Project' has the following validation error: Compiler error(s) encountered processing expression "Microsoft.TeamFoundation.Build.Client.BuildMessageImportance.Normal". Keyword is not valid as an identifier.
C:\ActivityLibrary1\DefaultTemplate.xaml 0 0
Error 22 The private implementation of activity '1.325: Run MSBuild for Project' has the following validation error: Compiler error(s) encountered processing expression "System.Text.Encoding.GetEncoding(System.Globalization.CultureInfo.InstalledUICulture.TextInfo.OEMCodePage)". Keyword is not valid as an identifier.
C:\ActivityLibrary1\Defaulter 0 0
Error 23 The private implementation of activity '1.432: Run MS Build for Project' has the following validation error: Compiler error(s) encountered processing expression "Microsoft.TeamFoundation.Build.Client.BuildMessageImportance.Normal". Keyword is not valid as an identifier.
C:\ActivityLibrary1\Default Template .xaml 0 0
Error 24 The private implementation of activity '1.432: Run MS Build for Project' has the following validation error: Compiler error(s) encountered processing expression "System.Text.Encoding.GetEncoding(System.Globalization.CultureInfo.InstalledUICulture.TextInfo.OEMCodePage)". Keyword is not valid as an identifier.
C:\ActivityLibrary1\DefaultTemplate.xaml 0 0
Error 25 The private implementation of activity '1.509: WriteBuildWarning' has the following validation error: Compiler error(s) encountered processing expression "False". Keyword is not valid as an identifier.
C:\ActivityLibrary1\DefaultTemplate.xaml 0 0
Error 26 The private implementation of activity '1.556: WriteBuildWarning' has the following validation error: Compiler error(s) encountered processing expression "False". Keyword is not valid as an identifier.
C:\ActivityLibrary1\DefaultTemplate.xaml 0 0
Please help me out for above error. i already spend 2 days on it.