| Author |
Message |
CrispinH
Joined: 21 Nov 2005 Posts: 38
|
Posted: Sun Oct 07, 2012 9:45 pm Post subject: 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 |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6341 Location: Red Gate Software
|
Posted: Tue Oct 09, 2012 1:26 pm Post subject: |
|
|
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
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
CrispinH
Joined: 21 Nov 2005 Posts: 38
|
Posted: Tue Oct 09, 2012 2:18 pm Post subject: |
|
|
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 |
|
 |
|
|
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