I actually made it to work with the precompiled dll.licenses and exe.licenses files. The reason of error I was getting was the following:
- I placed *.licenses files in the same place as *.licx, i.e. the Properties folder.
- When the project *.licx is compiled, lc.exe adds an embedded resource with name of "AssemblyName.(dll|exe).licenses".
- But, if add the already pre-compiled *.licenses to the Properties folder and make it the embedded resource, it will get name "AssemblyName.Properties.(dll|exe).licenses".
- Not sure why Devart didn't get it (the other licensed component I use were getting license correctly).
Code: Select all
<EmbeddedResource Include="Properties\exe.licenses">
<LogicalName>AssemblyName.exe.licenses</LogicalName>
</EmbeddedLicense>