Sitefinity 5.x System reference problems
Hi there,
There is an issue with our project build after upgrading to Sitefinity 5.x. There is a referenced assembly recently added for the Sitefinity upgrade (System.Windows.Dll). This is an old WPF assembly. Most of the stuff in there has been moved out in .NET 4/4.5/5. There are global scope references to System.Collections.Specilized.INotifyCollectionChanged which exists in both
System.Windows.dll (old) and System.dll (new). Because the types are being referenced via global scope (global::) the compiler can’t do proper resolution and is just choosing one definition. This is bad because these are actual two completely separate types. Is there any reason to have System.Windows.dll?
Regards,
Jacques
Hi,
The dll is used by Sitefinity Analytics module. The dll System.Windows.dll is included inside Telerik.Sitefinity.Analytics.xap and Telerik.Sitefinity.Silverlight.xap that are loaded by Sitefinity Analytics module and Silverlight upload in Sitefinity 5.x.editions. I don't think removing the reference to System.Windows.dll will break anything. Try removing it and build your app.
Regards,
Ivan Dimitrov
Telerik