visual-studio-2012nservicebust4scaffolding

Right click 'Properties' on VS2012 solution displays: "Object not set to instance of an object" error


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.


Solution

  • 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.