2

I'm using Visual Studio 2015 CTP 6.
When I click New Project..., I get an error message:

"Object reference not set to an instance of an object".

Visual Studio does not crash, but the template choice dialog doesn't appear. If I reinstall (all vs2015...) the problem is solved, but only for two days or so...

I know this is beta software, but anyway I really enjoy the improvements, I would be happy if anybody has any idea why this is happening or a shorter time resolution than the overall installation.

jessehouwing
  • 106,458
  • 22
  • 256
  • 341
dovid
  • 6,354
  • 3
  • 33
  • 73
  • @jessehouwing thank! its work! (delete all in `%appdata%\..\Local\Microsoft\VisualStudio\14.0\ComponentModelCache`. iwm use resharper, but disabled, and the problem persists). – dovid Apr 28 '15 at 11:46
  • There is probably another extension being loaded that ships with older versions of the Visual Studio assemblies. Did you install anything from the Visual Studio gallery? – jessehouwing Apr 28 '15 at 11:58
  • as I recall nothing... but not sure. – dovid Apr 28 '15 at 12:14
  • @jessehouwing, I have seen, but there are a few that are there from the installation. see http://i.imgur.com/wJGUX1h.png – dovid Apr 28 '15 at 13:06

1 Answers1

4

@jessehouwing's comment it was the solution for me. I deleted the entire contents of this folder:

%AppData%..\Local\Microsoft\VisualStudio\14.0\ComponentModelCache

(you can delete it herself). And it works great. Thanks to @jessehouwing's and all ..

TIP: for delete form PowerShell type:

Remove-Item -Recurse -Force ($env:APPDATA +  "\..\Local\Microsoft\VisualStudio\14.0\ComponentModelCache")
dovid
  • 6,354
  • 3
  • 33
  • 73