What are the challenges you face when working across database platforms? Take the survey

ExtensionAttribute conflict when upgrading a project

CrispinHCrispinH Posts: 57
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:


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?




  • Options
    Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    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.
  • Options
    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.

Sign In or Register to comment.