Hi, I have a very strange problem, that seems like a Visual Studio 2010 bug.
I have Windows 7 OS. Framework 3.5, VS 2010.
- I have a simple splash, defined in property of some image.
- I run in debug mode WPF application, that is used NHibernate and ActiveRecord (unmanaged code).
The application is freezes for some time (depends of amount of data), before it is started to run and to load data from database.
Each action that bring data from database is reflected to debug output window, so I am sure that nothing run in this time, because there are no prints.
- If I pause the running and then run again - there is no delay.
- If I running in Release mode - there is also no delay.
- If I running without splash - there is also no delay.
I think that this is a bug in studio that some how is connected to splash, my code that runs unmanaged code and all this only in Debug mode.
Any help will more than appreciated.