VS2008 Performance issues/solutions

Last post 04-21-2008 11:29 AM by Bill_H. 0 replies.

Sort Posts:

  • VS2008 Performance issues/solutions

    04-21-2008, 11:29 AM
    • Member
      95 point Member
    • Bill_H
    • Member since 11-19-2002, 7:58 AM
    • Posts 141

    Hi:

    First kudos to the VS 2008 team- the current implementation of intellisense is so good it is almost scary. Great job. But.

    We had a significant problem with a major project (WAP with several WAP sub-projects, Enterprise Application Blocks etc. with lots of dlls in the bin directory) after upgrading from VS2005. We tried many things but we were still getting the majority of our compile/load to browser times during development in the 2-5 minute range. In reality, that made VS2008 un-usable to us for development. Our setup is VS2008 Pro, running on Vista Ultimate will all hotfixes and patches applied.

    What we tried and didn't work.

    1. Turning off background updates of Visual Source Safe in case VSS was touching the file date/times and causing unecessary compiles.

    2. Turning off anti-virus checking on the source code directory and the .net temp directory (in Web.config compilation/tempDirectory) in case the anti-virus was touching the file date/time and causing un-necessary compilations.

    3. Moving the temp net compile directory (in Web.config compilation/tempDirectory) to another drive and or a ram drive and or a USB stick as our laptop drives are only 7200 rpm.

    4. Every hotfix / patch out there.

    Nothing worked.

    What did work - and did it make a difference!

    In web.config compilation section set batch="false" and set numRecompilesBeforeAppRestart="XX" to a high integer. We are setting it to 30. Our compile times are just a few long seconds now instead of minutes. I hope this helps someone else.

    Best,

    Bill

Page 1 of 1 (1 items)