Red Gate forums :: View topic - Problem with licensing RedGate SDK
Return to www.red-gate.com RSS Feed Available

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

Problem with licensing RedGate SDK

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



Joined: 06 Jun 2012
Posts: 3

PostPosted: Wed Jun 06, 2012 8:34 am    Post subject: Problem with licensing RedGate SDK Reply with quote

I'm having real trouble with licensing RedGate SDK.
1) If I use SDK version 8.0, my project has to be in .NET 3 in order for the confirmation pop-up to show for registering. If not, visual studio will give me a creepy error in output windows telling me that it cannot find some unrelated dll.
2) Now I'm moving to SDK version 10.0, the latest release. When I register my application it runs fine. But when my application start, we encounter the frustrating exception about: "Ambiguous references"
InternalXmlHelper.vb(9) : error BC30560: 'ExtensionAttribute' is ambiguous in the namespace 'System.Runtime.CompilerServices'.

After several investigation, I think that RedGate SDK reference to some earlier .NET framework dlls, which makes our application have 2 version of .NET resulting in conflicts.
What should I do? I've worked on the SDK for weeks and are very frustrated now. I do appreciate any help provided
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6346
Location: Red Gate Software

PostPosted: Thu Jun 07, 2012 10:53 am    Post subject: Reply with quote

Hi,

Sorry for the inconvenience. The problem this time, as I understand, is caused by us implementing our own "ExtensionAttribute" and then later Microsoft in .NET 3.5 SP1 implementing exactly the same thing. If that's right, targeting your project at .net Framework 2.0 should solve it.

The first problem was caused by Microsoft's resource reader in v4 being incompatible with resources produced by .NET 2. The window that displays the dialog where you enter your serial number has embedded resources in it. This will be fixed in a future version of the SDK.
_________________
Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521
Back to top
View user's profile Send private message
vuquangchien



Joined: 06 Jun 2012
Posts: 3

PostPosted: Sat Jun 09, 2012 4:30 am    Post subject: Reply with quote

Thank you Brian for your explaination
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6346
Location: Red Gate Software

PostPosted: Mon Jun 18, 2012 9:23 am    Post subject: Reply with quote

Out of curiosity, what code exists at InternalXmlHelper.vb line 9?
_________________
Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521
Back to top
View user's profile Send private message
vuquangchien



Joined: 06 Jun 2012
Posts: 3

PostPosted: Mon Jul 23, 2012 4:20 pm    Post subject: Reply with quote

There's no relevant code at line 9. My guess is that's some line from the framework source code that register and initialize the Extension attribute
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