Red Gate forums :: View topic - ExtensionAttribute conflict when upgrading a project
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

ExtensionAttribute conflict when upgrading a project

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



Joined: 21 Nov 2005
Posts: 38

PostPosted: Sun Oct 07, 2012 9:45 pm    Post subject: ExtensionAttribute conflict when upgrading a project Reply with quote

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
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6641

PostPosted: Tue Oct 09, 2012 1:26 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
CrispinH



Joined: 21 Nov 2005
Posts: 38

PostPosted: Tue Oct 09, 2012 2:18 pm    Post subject: Reply with quote

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
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