How to Debug Feature Receiver Assemblies in Visual Studio – MOSS 2007

If you try to activate the feature using stsadm command you will not be able to debug the feature receiver assemblies.

Open the Site collection features in

Site Actions ->

Site Settings ->

Modify All Site Settings ->

Site Collection Administration -> Site Collection features

  • Attach the w3wp.exe process in visual studio.
  • Place breakpoints.
  • Then Activate the feature in site collection features

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>