webforms – Cannot debug visual studio projects – SetSite failed for package [ExtensionsPackage](null)


For the past month or so, this error keeps popping up and affecting my ability to debug.

VS Dialog Image

I can still build and test the web project in a browser, so studio is running, but as soon as I start debugging, a dialog pops up stating that the ‘ExtensionsPackage’ package did not load correctly. The dialog has Yes/No buttons to indicate whether it should continue to be shown, but neither works – it just makes the app freeze…but just the dialog portion. My app is still running in the browser and it’s functional, but I cannot debug. And if I hit an exception in the app, it can’t be viewed/addressed because the IDE is frozen. I’ve repaired vs, reinstalled, restructured my solutions (which worked at first, but then it started occurring again). The activity log has this as it’s last entry:

  <entry>
    <record>490</record>
    <time>2024/12/21 12:08:10.371</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>SetSite failed for package [ExtensionsPackage](null)</description>
    <guid>{D40A86AA-B995-46A6-9C90-02D38AD8637E}</guid>
    <hr>0x80004003 - E_POINTER</hr>
    <errorinfo></errorinfo>
  </entry>

Any help would be appreciated. Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *