From Compiler Warning (level 1) CS1685
This error occurs when a predefined system type, such as System.Tuple is in two assemblies. One way this can happen if you are referencing mscorlib from two different places, such as trying to run the.Net Framework version 1.0 and 1.1 side by side.
The compiler will use the definition from only one of the assemblies.
This problem probably occurs System.Tuple is defined in two different assemblies. Probably your Coding4Fun.Toolkit.Controls.dll also has mscorlib.dll value.
If you want to view them, you can check them out,
But how to solve this warning?
You can define your third-party assemblies by referencing some aliases. You can follow your project
Reference -> Properties -> Aliases ->
And change "global" to something else.
Check out extern alias (C# Reference) info extern alias (C# Reference)
source share