Adding <LangVersion>latest</LangVersion>
to your .pubxml file made it possible for Visual Studio 2017 (15.5.2 in my case) to publish.
Source: https://developercommunity.visualstudio.com/solutions/166543/view.html
Adding <LangVersion>latest</LangVersion>
to your .pubxml file made it possible for Visual Studio 2017 (15.5.2 in my case) to publish.
Source: https://developercommunity.visualstudio.com/solutions/166543/view.html