Embedding license when building on Azure DevOps
Posted: Mon 20 Dec 2021 12:38
Hello,
I'm trying to build my application on Azure DevOps hosted agents and seem to have some issues with embedding the license. Since build agent are created each time build runs it can't use license.licx file and license installed on a system.
Instead, I compiled license on dev machine, got compiled *.licenses files and embedded them instead.
This should work as that *.licenses files are one actually embedded even when you use license.licx file, and it works for the other licensed component in the project, but not for dotConnect for Postgres. Compiled app fails with error "License not found".
I wonder is there a way to compile project with proper license in this manner, I mean without installing license on build agents? Where can I find any info about it?
Thanks in advance.
I'm trying to build my application on Azure DevOps hosted agents and seem to have some issues with embedding the license. Since build agent are created each time build runs it can't use license.licx file and license installed on a system.
Instead, I compiled license on dev machine, got compiled *.licenses files and embedded them instead.
This should work as that *.licenses files are one actually embedded even when you use license.licx file, and it works for the other licensed component in the project, but not for dotConnect for Postgres. Compiled app fails with error "License not found".
I wonder is there a way to compile project with proper license in this manner, I mean without installing license on build agents? Where can I find any info about it?
Thanks in advance.