问题
I am having trouble getting my builds to run when using MSBuild in Team Foundation Server 2015. We are hosting the application on an internal server. I have configured the Controller and Agent, which seems to be okay. The "Visual Studio Team Foundation Build Service Host 2015" service is running.
When I try to queue the build, I get the following message, even though I am not using Visual Studio Online:
When I ckick OK, the build seems to be queued, but I see the following message forever:
Can anyone tell me what I am missing?
回答1:
Your build agent service is not start. Click Properties under your agent.Mark the "Build agent service is enabled"
The normal state of build control and build agent should look like as below:
回答2:
It looks like you are attempting to build a Vnext build and not a Xaml type build. You will need to set up the Vnext agent in order to get that to work. I personally use both Xaml and Vnext builds
Hope this helps!
来源:https://stackoverflow.com/questions/33224236/team-foundation-server-2015-builds-will-not-start