ExtensionAttribute conflict when upgrading a project

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

Comments

  • 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.
  • 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
Sign In or Register to comment.