Sync Framework error at SyncOrchestrator.Synchronize()

You may hit the following error when you SyncOrchestrator.Synchronize() method

Retrieving the COM class factory for component with CLSID {EC413D66-6221-4EBB-AC55-4900FB321011} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0×80040154 (REGDB_E_CLASSNOTREG)).

This is because you are running on 64bit Windows but your assembly is in 32bit mode. To change to, just switch to Configuration Manager and add x64 platform to your solution platform.

ScreenClip

ScreenClip[1]