I am getting the following warning:
A reference was created to embedded interop assembly
c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Accessibility.dll
because of an indirect reference to that assembly created by assemblyc:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Windows.Forms.dll
. Consider changing the 'Embed Interop Types' property on either assembly.`
My assembly contains a reference to both Accessibility.dll and System.Windows.Forms.dll. Why am I getting this warning?
Btw, the Accessibility.dll has 'Embed Interop Types=true' while System.Windows.Forms.dll has it set to false.