-->

IIS Express with VS2010 SP1 Constantly Rebuilds We

2019-06-19 21:13发布

问题:

I'm working with larger solution that has several website projects and recently it was decided to switch from Cassini to IIS Express. There are about 10 or so developers who all share the same solution/project and thus web.configs and they are all working happily with IIS Express except for me. The problem is that for no pattern I can figure out, IIS Express constantly resets itself and performs a new build thus resetting the session.

Here are some of the reasons it will rebuild itself:

  1. Editing an ASPX file
  2. Doing nothing for a few minutes
  3. Editing code behind file
  4. Using the web site as normal

Note: the above actions do not always cause a rebuild. Also many of these actions were perfectly fine using Cassini.

My system is pretty standard compared to the other developers who are not having issues.

Here is some more information:

  • I'm using VS2010 SP1 and Windows 7 Professional.
  • I started using IIS Express 7.0 but have since tried upgrading to 8 with the same results.
  • I've uninstalled/reinstalled IIS Express several times w/o any luck.
  • Using ReSharper 7.x
  • I've turned off edit and continue

I'm now in full debug mode and this constant rebuild/reset is becoming prohibitive.

EDIT: it is in fact rebuilding as verified using health monitoring per John Saunders' suggestion.

EDIT: one important thing I did not mention is this mainly happens during a debug session. Not only during debug session, but usually. In fact adding a break point, or even hitting a break point can cause a rebuilt.

回答1:

I would look at Resharper as being the cause of the problem. Try completely disabling or uninstalling Resharper and see if the problem persists.

I've been much happier with coderush from dev express myself... I don't work for them just tried both and Resharper really bogged down my system and I didn't like it...