Unable to run TeamBuild.proj Sample

Sep 30, 2010 at 8:43 PM

When I run the TeamBuild.proj from the command line (msbuild TeamBuild.proj), I get the following error message:

 


Microsoft (R) Build Engine Version 4.0.30319.1
[Microsoft .NET Framework, Version 4.0.30319.1]
Copyright (C) Microsoft Corporation 2007. All rights reserved.

Build started 9/30/2010 3:28:28 PM.
Project "C:\Program Files\MSBuild\ExtensionPack\4.0\Samples\teambuild.proj" on node 1 (default targets).
C:\Program Files\MSBuild\ExtensionPack\4.0\Samples\teambuild.proj(15,9): error : MissingMethodException: Method not found: 'Microsoft.TeamFoundation.Build.Client.BuildReason Microsoft.TeamFoundation.Build.Client.IBuildDetail.get_Reason()'.
C:\Program Files\MSBuild\ExtensionPack\4.0\Samples\teambuild.proj(15,9): error :
Done Building Project "C:\Program Files\MSBuild\ExtensionPack\4.0\Samples\teambuild.proj"
(default targets) -- FAILED.

Build FAILED.

"C:\Program Files\MSBuild\ExtensionPack\4.0\Samples\teambuild.proj" (default target) (1) -
>
(Default target) ->
  C:\Program Files\MSBuild\ExtensionPack\4.0\Samples\teambuild.proj(15,9): error : MissingMethodException: Method not found: 'Microsoft.TeamFoundation.Build.Client.BuildReason Microsoft.TeamFoundation.Build.Client.IBuildDetail.get_Reason()'.
C:\Program Files\MSBuild\ExtensionPack\4.0\Samples\teambuild.proj(15,9): error :

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:01.37

 

 


 

Any idea on what the issue is?

Thanks,
Derek