Thanks Wayne
That solved it ....
I did...
protected override void OnStartup(StartupEventArgs e)
{ base.OnStartup(e);
RxApp.DeferredScheduler = System.Reactive.Concurrency.DispatcherScheduler.Instance;}
in the App.xaml.cs and... olé!!!!
...on with the experiments...
oh and by the way I got the same kind of errormessage. I'll put it here if someone has any use for it...
A first chance exception of type 'System.IO.FileLoadException' occurred in mscorlib.dll
'RUtestjes.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll'
'RUtestjes.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
INFO Logger: *** NLog was not configured, setting up a default configuration ***
ERROR Logger: System.IO.FileLoadException: Could not load file or assembly 'System.Reactive.Windows.Threading, Version=2.0.20304.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'System.Reactive.Windows.Threading, Version=2.0.20304.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
at System.Type.GetType(String typeName, Boolean throwOnError)
at ReactiveUI.RxApp.findDispatcherScheduler() in Z:\Dropbox\ReactiveUI_External\ReactiveUI\RxApp.cs:line 342
and a bit later on ....
ERROR Logger: *** WPF Rx.NET DLL reference not added - using Event Loop ***
ERROR Logger: Add a reference to System.Reactive.Windows.Threading.dll if you're using WPF / SL4 / WP7
ERROR Logger: or consider explicitly setting RxApp.DeferredScheduler if not
thank you all...
Op vrijdag 4 mei 2012 10:45:53 UTC+2 schreef Wayne het volgende: