Hadi Sharifi
Hadi Sharifi

Reputation: 1527

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?

Upvotes: 1

Views: 3109

Answers (1)

Lanorkin
Lanorkin

Reputation: 7504

In solution with your DLL which you want to debug, set break point and choose from menu Debug - Attach to Process..., then choose w3wc process with your site pool

Upvotes: 2

Related Questions