How can I use the latest VB.NET language level in an ASP.NET web site project?

后端 未结 4 2063
迷失自我
迷失自我 2021-01-19 02:23

I\'ve been tasked with modernising a web application developed in 2009. It is written in VB.NET and using ASP.NET WebForms. I would like to use the latest language construc

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-19 02:57

    The solutions was quite easy:

    • Update Nuget packages for solution, install "Microsoft.CodeDom.Providers.DotNetCompilerPlatform". That will also install Microsoft.Net.Compilers
    • Then, upgrade the version of Microsoft.Net.Compilers to the latest stable version

提交回复
热议问题