且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

VS2012:属性页未打开:未将对象引用设置为对象的实例

更新时间:2021-07-21 07:58:10

这也发生在我身上.如果您安装了 ReSharper,请尝试禁用它(工具 -> 选项 -> ReSharper -> 常规 -> 暂停并重新启动 VS2012.如果您没有安装 ReSharper,恐怕我不知道.

This happened to me as well. If you have ReSharper installed, try disabling it (Tools -> Options -> ReSharper -> General -> Suspend and restart VS2012. If you do not have ReSharper installed, I'm afraid I have no idea.

在这里看到一些评论并自己遇到了它之后,似乎禁用 Re-Sharper 并不总是能解决问题.但是,如果您禁用、重新启动、重新启用其他"附加组件,问题最终会暂时消失.下次打开 Visual Studio 时,您可能会在同一地点.

After seeing some comments here, and running into it myself, it appears that disabling Re-Sharper doesn't always fix the issue. However, if you disable, restart, re-enable 'other' add ons, the issue will eventually go away temporarily. The next time visual studio opens, you will likely be in the same spot.