Publishing a UI Web Application Extremely Slow

Publishing web applications in VS2012 was pretty fast for me, but last week or so the user interface showed very long pauses:

  • When I first right-click the project and select Publish, the publishing user interface takes about 30 seconds (VS is inactive during this time).
  • If I select a new package, the corresponding user interface will take up to 60 seconds.

Actual posting is pretty fast. This is just the VS2012 user interface that is not responding.

This is similar to Publish very slowly in VS 2012 . However, this ticket is due to the fact that publication is very slow, and not about the publishing interface.

Given that the user interface was fast and slow, is it possible that some settings or configurations are slow? Any idea how to do this quickly?

+7
source share
1 answer

I had this problem when I had several publishing profiles in my solution, configured to publish to servers that were no longer available or were disabled. I used the file system publishing method.

I believe that Visual Studio is trying to connect to the servers, and the user interface hangs until the connection time expires.

Removing profiles that were no longer used resolved the slowness problem for me. Delete them by selecting "Manage profiles ..." in the publishing wizard, and then click the "Delete" button to delete them.

0
source

All Articles