1) I setup a Server Capability for MSBuild v4.6.1, with the MSBuild.exe:
2) I have 3 local agents that can run that Server Capability:
3) I setup a Task to use this MSBuild v4.6.1
4) I add the Requirement to my Job and I get an error that there are no
If I start searching around, it takes me in one big circle.
Why is it doing this? Where is the missing bit to make this work?
The local agent have MSBuild v4.6.1 capability but does not have SaaS capability.
The Images number is referring to Elastic agent. Your current elastic image or agent does not have any MSBuild v4.6.1 capability.
You have to add SaaS capability to local or remote agents
or add MSBuild v4.6.1 capability to elastic image agents
That doesn’t really help.
The local agent doesn’t use or need SaaS. It has nothing to do with my problem. It is associated with a different task.
The MSBuild task uses a local exe to build the solution. This is how we have other build solutions setup with other projects and they seem to work just fine.
How do I associate the local executable with an elastic image then?
And to note... see that there is the NAnt that runs a local executable and it works just fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The local agent doesn’t use or need SaaS. It has nothing to do with my problem. It is associated with a different task.
All the task in a single Job is assigned to a single agent. If there is a task that need SaaS in that Job, the agent will need that SaaS capability too.
If you does not need SaaS to run in the same agent, you will have to move that task to a different Job or Stage.
How do I associate the local executable with an elastic image then?
Local executable can not be added to elastic image. You will have to create custom image with that capability inside the image.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
EDIT: The SaaS elastic image DOES have everything to do with my build not working correctly. This is indeed the server we are using to build our projects. So the capability needs to be on that image.
Local executable can not be added to elastic image. You will have to create custom image with that capability inside the image.
Looking through the other MSBuild versions, they are "attached" to an elastic image.
We are going to try and update the .NET targeting pack and build tools on that elastic image referred to by our other MSBuild versions and see if the executable will run.
I still don't understand how the capability is associated from the executable to that elastic image. How does this happen? Is it automatic?
For anyone else that has this problem with the .NET v4.6.1 here are the links to the upgrades for your server.
.NET 4.6 Framework:
http://www.microsoft.com/en-us/download/details.aspx?id=48130
Microsoft Build Tools 2015:
https://www.microsoft.com/en-us/download/details.aspx?id=48159
.NET Framework 4.6 Targeting Pack:
https://www.microsoft.com/en-us/download/details.aspx?id=48136
Then the executable is in: C:\Program Files (x86)\MSBuild\14.0\Bin\MsBuild.exe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We have MSBuild.exe on our elastic image. But it still says "No elastic image configurations have this capability" under Elastic Image configurations.
How do I tell Bamboo to use an elastic image for this capability?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In order to add a capability to the elastic agent...
- At your main Bamboo interface.
- Click "Image configurations" on the left
- Click on the elastic image you wish to add to...
- Next you will see a little "Add capability" in blue on the left of the title
- It will then take you down to the bottom of the page where you can add the new capability
There are 3 different places to "add capability" and they all look the same. This route will set up a capability specifically on that elastic image for your MSBuild task to use.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.