Rich
Rich

Reputation: 2337

VB 14 missing from Visual Studio 2015

I have Visual Studio 2015, but can't get the new VB language features to work. Or to show up. It's like the product came without it. The null-coalescing operator doesn't work, read-only auto-properties aren't allowed, etc. This is true even when I set up a brand new project, targeting any version of the framework (which shouldn't matter, but I'm trying everything I can think of).

I've got Resharper 9 installed. Following a suggestion in this question, if I select the project, the VB Language Level dropdown list doesn't show anything more recent than "Visual Basic .NET 12".

There are no LangVersion tags anywhere in the .vbproj files. If I add them it seems to make no difference.

I was under the impression that you didn't have to install anything separately for VB 14, just use VS 2015 and you'll have it (C# 6 actually is available and working in C# projects) but it's not there.

Anybody have any ideas what else I can look for?

Upvotes: 3

Views: 731

Answers (1)

Rich
Rich

Reputation: 2337

It's Resharper.

I'm using Resharper 9.2 Ultimate. Resharper is what's putting all the error messages into the code editor. If I suspend it, all the problems go away, and the code compiles and runs exactly as it should.

I should have taken a cue from the fact that the VB Language Level isn't showing the latest version of VB.

Off to contact technical support.

Upvotes: 5

Related Questions