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 documentation
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: 6644

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.
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: 6644

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

Out of curiosity, what code exists at InternalXmlHelper.vb line 9?
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
mxenia



Joined: 08 Oct 2013
Posts: 1

PostPosted: Tue Oct 08, 2013 7:48 pm    Post subject: Reply with quote

Hello to all,
i have purchased recently the sdk 10.0 and i am try to include the data compare and schema compare functionality from the sdk to an existing functionality.

Without adding any code and just the reference to the target dll (sqlcompare engine), the code is not compiled and the error is:

InternalXmlHelper.vb(9,6): error BC30560: 'ExtensionAttribute' is ambiguous in the namespace 'System.Runtime.CompilerServices'. [C:\QCS Projects\Current\VS Projects\SCToolkit.InternalBuild\SCToolkit.InternalBuild.Win.Client\SCToolkit.InternalBuild.Win.Client.vbproj]

If i remove the reference from the RedGate.SQLCompare.Engine, the code is compiled as expected.

I have try to run the sample code and i don't faced the same issue. The strange is that i checked that in the sample solution the targeted framework is the .NET 4.0. The same framework is used for the my own application. I believe that i faced the above issue due to some licensing issue.

I would appreciate any help/advice of how to overcome the specific issue (if the problem is occurred due to framework is not an acceptable solution the downgrade to older framework since the application shared projects that cannot be downgraded).

Thank you in advance,
Xenia
Back to top
View user's profile Send private message
conquistadorst



Joined: 28 Aug 2009
Posts: 7

PostPosted: Fri Jan 03, 2014 3:32 pm    Post subject: Downgrade to .net 2.0? Reply with quote

Downgrade to .net 2.0? From 2005? Are you serious?

The irony is we were considering upgrading SDK8 to SDK10, and this was NOT an issue in SDK8. What is this, a new feature?
Back to top
View user's profile Send private message
conquistadorst



Joined: 28 Aug 2009
Posts: 7

PostPosted: Tue Jan 14, 2014 2:25 pm    Post subject: Re: Downgrade to .net 2.0? Reply with quote

conquistadorst wrote:
Downgrade to .net 2.0? From 2005? Are you serious?

The irony is we were considering upgrading SDK8 to SDK10, and this was NOT an issue in SDK8. What is this, a new feature?


Just an update to this post, Redgate fixed this issue in the latest release which can be obtained here:

ftp://support.red-gate.com/patches/SQLComparisonSDK/23Jan2013/SQL%20Comparison%20SDK_10.0.0.265_AnyCPU_r225463.exe
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