I have about four web projects that I host on IIS Express. Whenever I make an assembly in Visual Studio 2010, the assembly will be blocked until I manually destroy IIS Express. Then the assembly is complete. A new instance of IIS Express is created, which works as expected.
I tried to execute the prebuild event to kill IIS Express using taskkill, but the lock seems to happen before the pre-build event is executed: /
If I stop hosted sites, Visual Studio 2010 will also work as usual.
From researching one of the possibilities is that IIS Express tries to display a dialog in which Visual Studio 2010 expects user interaction, but does not actually display a dialog box.
Has anyone else had a problem blocking IIS Express and Visual Studio 2010 during creation? Or some understanding of how to debug this problem?
source share