I'm not saying this issue is related to using the StyleManager;
All I'm clearly seeing is that the Telerik DLLs in MyApplication's ClickOnce folder,
are overwritten with the Telerik DLLs from the 'Telerik WPF Demos' application when the 'Telerik WPF Demos' starts.
This could explain why a license warning is shown and why the theming is gone in my application
after installing and starting'Telerik WPF Demos':
The demos app overwrote my licensed-including xaml DLLs with unlicensed-no-xaml DLLs.
Another point that proves the Telerik DLLs in MyApplication's ClickOnce folder
are overwritten (on a clean machine):
- Install my application and keep it open
- Install WPF demos: after starting and downloading all files up to 100%, it throws this exception:
(I guess because it's not able to over-write the Telerik dlls in MyApplication, because it's open).
Exception at 21/11/2013 8:45:06.728 :
Could not load file or assembly 'Application, Version=184.108.40.206, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The system cannot find the file specified.
at Telerik.Windows.QuickStart.Shell.OnViewModelInitialized(Object sender, EventArgs e)
at Telerik.Windows.QuickStart.ShellViewModel.CurrentDeployment_DownloadFileGroupCompleted(Object sender, DownloadFileGroupCompletedEventArgs e)
at System.Deployment.Application.ApplicationDeployment.SynchronizeGroupCompletedEventHandler(Object sender, SynchronizeCompletedEventArgs e)
at System.Deployment.Application.DeploymentManager.SynchronizeAsyncCompleted(Object arg)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
End of exception.