Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio - Error when clicking on Solution -> Properties (Object reference not set to an instance of an object)

When i try to access my solution Properties, i get the following error:

Object reference not set to an instance of an object 

I am using VS 2012. What could be the cause of this?

enter image description here

enter image description here

like image 826
Kenci Avatar asked Nov 19 '12 11:11

Kenci


People also ask

How do I fix object reference is not set to an instance of an object?

To fix "Object reference not set to an instance of an object," you should try running Microsoft Visual Studio as an administrator. You can also try resetting the user data associated with your account or updating Microsoft Visual Studio to the latest version.

What is object reference not set to an instance of an object C?

The error means that your code is trying to access/reference an object that is a null valued object that is not there in memory.


1 Answers

Some extensions may cause this. Try disabling extensions and restarting Visual Studio.

Quite often error will be gone even if you re-enable extensions after this.

There's a bug report on Microsoft Connect (link). It is marked there as "Closed as External", but it seems that it may occur randomly with any extension, so would be worth voting it there to bring it to Microsofts attention.

like image 82
Jarek Kardas Avatar answered Oct 31 '22 07:10

Jarek Kardas