Adding license file (trial)

Automate and integrate using the SQL comparison API

Moderators: Chris Auckland, David Atkinson, Michelle Taylor, chengvoon.tong

Adding license file (trial)

Postby crb » Tue Feb 18, 2014 9:48 pm

I've tried following the instructions in http://documentation.red-gate.com/displ ... rison+SDK# to add the license file to my project but it never shows up in the solution explorer. So instead I added it through the Project --> Properties --> resources tool. But I am unable to find how to specify it is an Embedded resource. I can specify the Access Modifier (as internal or public--internal being the default), the file type ("Text") and encoding "Unicode (UTF-8) - Codepage 65001"

The problem is I still get the following error which pops up multiple times when I run the application. If I click through the errors it runs, but I want to make sure I am doing the licensing correctly.

"This application was produced with an unlicensed copy of the Red Gate SQL Comparison SDK which will expire on 3/2/2014"....

I am working in VS 2012 (Windows 7 64-bit).

Thanks in advance!

Cheryl
crb
 
Posts: 3
Joined: Tue Feb 18, 2014 9:25 pm

Postby Brian Donahue » Thu Feb 20, 2014 12:51 pm

Hi Cheryl,

I believe I am already working with you on this via a support ticket you had raised.

Licenses.licx sometimes does not appear in solution explorer - but if you see it on local disk it should still work.

Creating a resource via the resources editor is not the way to go - licenses.licx is a "special" file that VS recognizes as part of Microsoft's .NET licensing scheme. When VS sees that file, VS invokes an executable (lc.exe) to create the licence resource for you to be embedded into the assembly.
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am


Return to SQL Comparison SDK 10

Who is online

Users browsing this forum: No registered users and 0 guests