简体   繁体   中英

Debug dll of website running under IIS

I have c# class library that it is a part of a big web site. After build, generated dll file copy to bin folder automatically by post-build event command line:

copy $(TargetPath) "C:\MyWebSite\bin"

My web site run under IIS and I want to debug my class library that its in a separated solution. How can I debug it?

在要调试的DLL的解决方案中,设置断点,然后从菜单中选择“ Debug - Attach to Process... ,然后选择带有站点池的w3wc进程

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM