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.
Regrettably, your answer does not address the license assembly, which is the root of the issue.Checking to see if you have information about how I can submit the license assembly to the build server.
Checking to see if you have information about how I can submit the license assembly to the build server.
All libraries are already in the /bin folder, as described in this document:https://es.infragistics.com/help/aspnet/web-deploying-a-web-application-that-uses-netadvantage-for-asp-net-controlsThe error says "Unable to locate license assembly". Where do I locate the Infragistics license assembly?
Hello Rob Hudson,
Apologies for the delay.
If you want to deploy your application without installing the product, this is possible. Basically you have to deploy the Infragistics assemblies your depend on. More information regarding this and other ways of deploying an application which uses our controls you can find in the topics listed here.
Please let me know if you need further assistance.
Best Regards,Tihomir IlievSoftware DeveloperInfragistics, Inc.