Red Gate forums :: View topic - Adding license file (trial)
Return to RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Comparison SDK 10
SQL Comparison SDK 10 forum

Adding license file (trial)

Search in SQL Comparison SDK 10 forum
Post new topic   Reply to topic
Jump to:  
Author Message

Joined: 18 Feb 2014
Posts: 3

PostPosted: Tue Feb 18, 2014 9:48 pm    Post subject: Adding license file (trial) Reply with quote

I've tried following the instructions in 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!

Back to top
View user's profile Send private message
Brian Donahue

Joined: 23 Aug 2004
Posts: 6678

PostPosted: Thu Feb 20, 2014 12:51 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group