You can directly find the process ID and application pool name to which you want to attach your solution to using vscommands
. Instead of finding the process ID and application pool using appcmd list wp, use the vscommands tool.
- Download the
vscommands
extension from the http://visualstudiogallery.msdn.microsoft.com/d491911d-97f3-4cf6-87b0-6a2882120acf?SRC=Featured[^]. - Install
vscommands
. - Restart VS2010.
- Right click on the solution and select "Attach to Local IIS", it will display all the worker processes.
- Create a keyboard shortcut for this. Open Tools->Options->Environment->Keyboard and add the shortcut for
VSCommands.AttachToProcess
.