Possible Duplicate:
How can you stop Visual Studio rearranging its Windows when debugging
Whenever I start debugging an app开发者_高级运维lication, Visual Studio moves my cheese.
How can I make it leave my cheese alone?
The only solution is that you must arrange things twice. Afterwards it won't move "your cheese" except as you expected it.
Edit: duplicate of How can you stop Visual Studio rearranging its Windows when debugging
This is a "feature" actually. The presumption is that you would want a different layout when debugging (ie, watch windows visible in debug, but not coding). I don't think there's a way to prevent it other than going into debug and manually moving things to match your coding layout.
精彩评论