Object reference not set to an instance of an object, when opening C++ v140 project with Visual Studio 2017

  • Thread starter Thread starter TWSergiob
  • Start date Start date
T

TWSergiob

Guest
I'm getting this error for any C++ project. The project properties can be opened using Visual Studio 2015 (unfortunately I only have a license for VS2017). Note that my project does use the v140 toolset.

Here's what I've tried to solve the problem:

  • Verified that the XML is correct, same project on a different machine works well
  • Tried resseting local app data
  • Ran devenv /resetuserdata
  • Ran devenv /updateconfiguration (rebuilds the MEF cache)
  • Ran VS in safe mode (without loading extensions)
  • Deleted the .vs folder in the solution
  • Repaired the Visual Studio installation
  • Uninstalled and reinstalled visual studio

On other machines with visual studio 2017 installation, the project can be normally opened.

Related issue:

VS2017 does not display project properties when vs2015(v140) tool set is used - Developer Community

Continue reading...
 
Back
Top