I am using Unity with Silverlight and Prism 2. On my laptop (running Vista 32) I am seeing the following error in the output window in VS.NET 2008 SP1 – which I think is being caught internally by Unity.
A first chance exception of type ‘System.Threading.SynchronizationLockException’ occurred in Microsoft.Practices.Unity
On my desktop machine (running Vista 64) with the same codebase but I am not seeing the same error.
I first discovered that there was a problem on the laptop because the app (that uses Prism 2) I have some events being published and the subscribers are not being notified. The desktop machine is working great with Prism events.
Any idea what could be wrong?
Michael
The way how to turn it off is next:
As for why it is happening, I guess you already got that 🙂