I downloaded The ESRI WPF SDK and the all necessary stuff for it and installed it.
I downloaded the interactive sample Application that they provide. Opened the solution for the first time and the build went without any problems.
Several days later I did not want to compile. First it could not resolve the System.Windows.Interactivity dependency. After solving it I got the following error.
Build error:
Error 1 Unknown build error, 'Cannot resolve dependency to assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.' ArcGISWPFSDK
OutputWindow:
------ Build started: Project: ArcGISWPFSDK, Configuration: Release Any CPU ------ C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.WinFX.targets(268,9): error MC1000: Unknown build error, 'Cannot resolve dependency to assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.' ========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========
For the last 5 days I am googeling this error but nothing works. Please, help someone. I am loosing my mind.
This are the WPF sampels