ExtensionAttribute conflict when upgrading a project

Automate and integrate using the SQL comparison API

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

ExtensionAttribute conflict when upgrading a project

Postby CrispinH » Sun Oct 07, 2012 9:45 pm

I've just upgraded a mixed VB/C# solution to .NET Framework 4.5 and one of the projects therein to V10 of the SDK. I'm now getting an error for that project:

'ExtensionAttribute' is ambiguous in the namespace 'System.Runtime.CompilerServices'

and this problem seems to be similar to the one in this topic:

http://www.red-gate.com/messageboard/viewtopic.php?t=15329

Targeting an earlier version of the framework is not an option for me. In the above topic there is mention of a fix coming along soon. How soon?

Regards

Crispin
CrispinH
 
Posts: 38
Joined: Mon Nov 21, 2005 10:41 am

Postby Brian Donahue » Tue Oct 09, 2012 1:26 pm

The "ambiguous" message is a warning, and therefore does not impede your build unless you use Visual Studio's "treat warnings as errors" setting. I believe the suggestion to work around this was shot down because it does not prevent anyone from using the SDK.
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am

Postby CrispinH » Tue Oct 09, 2012 2:18 pm

Hi Brian

I don't have 'treat warnings as errors' ticked but it's giving an error all the same in this VB project. Since I've now split off all the database elements from my main project, I may port it to C# to see if that works any better, but only after I've finished my current task - and that may be a bit of time.

Crispin
CrispinH
 
Posts: 38
Joined: Mon Nov 21, 2005 10:41 am


Return to SQL Comparison SDK 10

Who is online

Users browsing this forum: No registered users and 0 guests