2

Started receiving the "Object reference not set to instance of an object" error when trying to view the properties dialog for a solution in VS2012 after upgrading from NServiceBus v3 to v4.

The problem looks like it's the same as raised in this post, so sorry for any duplication. This post was raised nearly a year ago and I'm hoping some others in the NServiceBus community may have found a solution.

Pretty sure the offender is the T4Scaffolding.Core library (as suggested by kevin_fitz in the above post) that NServiceBus 4 depends on. If I uninstall NServiceBus, the issue goes away - but that then presents a number of other problems :) NuGet won't let me uninstall the T4Scaffolding.Core as NServiceBus depends on it.

Any help greatly appreciated! Thanks in advance.

Community
  • 1
  • 1
stush
  • 67
  • 2
  • 10

1 Answers1

1

This Answer works, if you cannot disable any extensions then make sure there all up-todate. I found that if you uninstall ANY extension in my case BOEditor the issue will resolve. You can install them back after the uninstall.

Hope this helps.

Community
  • 1
  • 1
Don Thomas Boyle
  • 3,055
  • 3
  • 32
  • 54
  • Thanks, Don. This does work to a point - if I uninstall an arbitrary extension then the solution properties will display. But the issue does return (not sure what makes it come back, it just seems to randomly start happening again). My solution has been to pick an extension I don't need, install it and then uninstall it when the problem comes back. I'll then re-install it so I can uninstall it when the problem starts happening again. Not great, but I can live with it for now! – stush Sep 13 '13 at 05:29
  • `Not great, but I can live with it for now!` -- until windows decides to fix the bug :) - wich hopefully is soon – Don Thomas Boyle Sep 13 '13 at 13:08