"Indirect dependency" error when building modified XML Export Connector
When attempting to build a customized Export Connector, we are seeing the following error:
The primary reference "C:\GIT\fasttrackrtw\XML Export Connector\Utility\bin\Release\Kofax.Xml.Export.Utility.dll" could not be resolved because it has an indirect dependency on the .NET Framework assembly "mscorlib, Version=22.214.171.124, Culture=neutral, PublicKeyToken=b77a5c561934e089" which has a higher version "126.96.36.199" than the version "188.8.131.52" in the current target framework.
This is due to some referenced components or projects in the solution are targeting .NET Framework 2 while others are targeting .NET Framework 4.
Make sure that all referenced dlls and included projects in the solution are targeting the same .NET Framework.
Level of Complexity
Add any references to other internal or external articles