We are migrating from on-prem TFS to Microsoft's hosted Visual Studio Team Services (visualstudio.com). Since MSFT manages the agent instances, there is no ability for us to install Infragistics Ultimate onto the VM. I don't know how their pipeline is architected. There might not even be a VM.
Of course the builds are failing with the error:
district\My Project\licenses.licx (6, 0)
What is the recommended method for building and deploying using VSTS?
For anyone else who has this issue, here is the cause, and how to solve it.When MSBuild runs against the solution, it checks a file called licenses.licx. This is a text file that contains all design time controls that require license validation. It looks on the machine for license assemblies, validates that the user owns a license, etc.Since a build server has no concept of a "user" or a "design experience", this is an entirely unnecessary build step.The problem can be alleviated as follows:1) In Solution Explorer, show hidden files2) Expand "My Project" so that you can see the file "licenses.licx". Select the file.3) In the properties window, change the Build Action from "Embedded Resource" to "Content"4) Check in your project fileNow, the build server should skip design-time license validation.