c# - Slowed execution on second and subsequent runs in Visual Studio

08
2014-07
  • Aaron McRuer

    I've been working on an intermediate-sized project in Visual Studio 2013 in C#/WPF. It relies on the Kinect SDK, and there are a good number of objects implemented in the code. When I run the debug cycle the first time (using the release configuration), execution is pretty speedy. On subsequent runs, the execution (especially of the code to connect to the... erm... Kinect) slows down significantly. I was wondering what could cause this, and what I could do to diagnose it. Are there any benchmarks in Visual Studio or things I could do to make the slowdown go away?

  • Answers
    Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

    Related Question

    Customise the Visual Studio colour scheme per solution
  • Alex Key

    Is it possible to customise Visual Studio's title background colour based on the solution loaded?

    I end up needing to have multiple Visual Studio instances open with very similar content, so I'm ending up losing track of what I'm looking at.


  • Related Answers
  • Per Salmi

    I don't think you can get different color schemes configured automatically and have it switch by what solution you load.

    But you could try the VSCommands extension, they add something called Solution Badges that might make your life a bit easier.

    Get the extension from the gallery at http://visualstudiogallery.msdn.microsoft.com/c6d1c265-7007-405c-a68b-5606af238ece