How to change the VB.NET language version in Visual Studio 2015

前端 未结 3 1405
感情败类
感情败类 2020-12-01 21:49

In Visual Studio 2015 it is possible to select which version of the C# language is being coded in, as shown here.

I\'m looking for the same option for VB.NET - how c

3条回答
  •  -上瘾入骨i
    2020-12-01 22:18

    If you're using ReSharper it turns out this is an option:

    • Left Click on the project in Solution Explorer
    • Select the Properties Window (not the Project Properties - you want the properties snap in)
    • Under ReSharper options there is a "VB Language Level" option, which gives options all the way back to VB.NET 8.

    I haven't tested how well this works.

提交回复
热议问题