using the following code
<PropertyGroup>
<TeamFoundationServerUrl>http://SERVERNAME:8080/</TeamFoundationServerUrl>
</PropertyGroup>
<Target Name="Default">
<!-- Get information on the latest build -->
<MSBuild.ExtensionPack.Tfs.TeamBuild
TaskAction="GetLatest"
TeamFoundationServerUrl="$(TeamFoundationServerUrl)"
TeamProject="PBE">
</MSBuild.ExtensionPack.Tfs.TeamBuild>
</Target>
I receive an exception
"D:\Work\common\BnD\vendor_ruby\nhsc-bnd\resources\msbuild\SourceCode.msbuild" (default target) (1) ->
(Default target) ->
D:\Work\common\BnD\vendor_ruby\nhsc-bnd\resources\msbuild\SourceCode.msbuild(15,9): error : MissingMethodException: Method not fo
und: 'Microsoft.TeamFoundation.Build.Client.BuildReason Microsoft.TeamFoundation.Build.Client.IBuildDetail.get_Reason()'.\r
D:\Work\common\BnD\vendor_ruby\nhsc-bnd\resources\msbuild\SourceCode.msbuild(15,9): error :
rendering the task unusable
Comments:
<PropertyGroup>
<TeamFoundationServerUrl>http://SERVERNAME:8080/</TeamFoundationServerUrl>
</PropertyGroup>
<Target Name="Default">
<!-- Get information on the latest build -->
<MSBuild.ExtensionPack.Tfs.TeamBuild
TaskAction="GetLatest"
TeamFoundationServerUrl="$(TeamFoundationServerUrl)"
TeamProject="PBE">
</MSBuild.ExtensionPack.Tfs.TeamBuild>
</Target>
I receive an exception
"D:\Work\common\BnD\vendor_ruby\nhsc-bnd\resources\msbuild\SourceCode.msbuild" (default target) (1) ->
(Default target) ->
D:\Work\common\BnD\vendor_ruby\nhsc-bnd\resources\msbuild\SourceCode.msbuild(15,9): error : MissingMethodException: Method not fo
und: 'Microsoft.TeamFoundation.Build.Client.BuildReason Microsoft.TeamFoundation.Build.Client.IBuildDetail.get_Reason()'.\r
D:\Work\common\BnD\vendor_ruby\nhsc-bnd\resources\msbuild\SourceCode.msbuild(15,9): error :
rendering the task unusable
Comments:
If you can repro this in 2010 or 2012 please reopen this issue.
Right now I don't have capacity to support TFS 2008.
Thanks
Mike