Hello to all,
i have purchased recently the sdk 10.0 and i am try to include the data compare and schema compare functionality from the sdk to an existing functionality.
Without adding any code and just the reference to the target dll (sqlcompare engine), the code is not compiled and the error is:
InternalXmlHelper.vb(9,6): error BC30560: 'ExtensionAttribute' is ambiguous in the namespace 'System.Runtime.CompilerServices'. [C:\\QCS Projects\\Current\\VS Projects\\SCToolkit.InternalBuild\\SCToolkit.InternalBuild.Win.Client\\SCToolkit.InternalBuild.Win.Client.vbproj]
If i remove the reference from the RedGate.SQLCompare.Engine, the code is compiled as expected.
I have try to run the sample code and i don't faced the same issue. The strange is that i checked that in the sample solution the targeted framework is the .NET 4.0. The same framework is used for the my own application. I believe that i faced the above issue due to some licensing issue.
I would appreciate any help/advice of how to overcome the specific issue (if the problem is occurred due to framework is not an acceptable solution the downgrade to older framework since the application shared projects that cannot be downgraded).
Thank you in advance,