I get the error while trying to compile a WPF Project with Visual Studio 2013.
Error 3 Unknown build error, 'Could not load file or assembly 'System.Windows, Version=126.96.36.199, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)'
I have VS 2013/2015 and 2019 all the three installed on the same machine. Is this causing a conflict or mandating me to add reference to System.Windows - 5.0.5.
I do not see this error on machines with only VS 2013. How could it be possibly related or is there something else which I am missing?
Please note - The project is compiled against .NET Framework 4.0 and the System.Windows.dll which I have referred is also of version 188.8.131.52
Thanks in advance. Sandeep
User contributions licensed under CC BY-SA 3.0