C#6 string interpolation support
String interpolation for ex: var s = $"{p.Name} is {p.Age} year{{s}} old", will crash the build. I tried to change build worker image to VS 2015... VS 2019 without any success. Please, let me know if there is any solution
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 10 Aug, 2020 07:20 PM
Could be that
.csproj
has no C# version configured? Or how do you run the build - a simple repro would be helpful?2 Posted by kosokovsky on 10 Aug, 2020 07:42 PM
That `.csproj` contains `<LangVersion>latest</LangVersion>` in each configuration.
I noticed, that the issue occurs only with multi-line strings, that use @$. Single-line strings works well