Reputation: 483
When deploying my Silverlight app, everything seems to be working until the screen goes black (just before the app starts loading) and Visual Studio gets to the "Launching UI Task" part of the build. Visual Studio is then unresponsive for about 60-90 seconds, during which time the screen remains black.
Finally, Visual Studio will become responsive again, the initial splash screen will load and the app will launch. However, it will hang again when I hit the "stop" button, this time for longer. It does this on a deploy to a device and to the emulator and it only does this for this one app (other projects deploy just fine).
It also does not hang when I do a non-deploy build. Cleaning and rebuilding the solution has no effect.
I'm using Visual Studio 2010 SP1 (Version 10.0.40219.1 SP1Rel). If you think I'm missing any helpful information, please let me know.
Upvotes: 4
Views: 626
Reputation: 11
I had this problem as well. I remembered from long ago I found a post that stated if there was an invalid breakpoint, startup time could take forever. I deleted the .SUO file (which stores the breakpoints) and everything was back in order.
Upvotes: 1