Having a bit of a problem with practically the only example on the web I could find for starting a build programmatically. I've added references to these DLLs in my project:
(as well as others)
And added the below imports:
using Proxy = Microsoft.TeamFoundation.Build.Proxy;
But the below lines give compile errors:
Proxy.BuildController buildCtrl = Proxy.BuildProxyUtilities.GetBuildControllerProxy(TeamFoundationServerUrl);
Proxy.BuildStore store = Proxy.BuildProxyUtilities.GetBuildStoreProxy(TeamFoundationServerUrl);
The errors are:
'Microsoft.TeamFoundation.Build.Proxy.BuildProxyUtilities' does not contain a definition for 'GetBuildControllerProxy'
'Microsoft.TeamFoundation.Build.Proxy.BuildProxyUtilities' does not contain a definition for 'GetBuildStoreProxy'
I must be missing something simple. Can anyone help