Search Issue Tracker

Fixed in 2020.1

Votes

4

Found in

2018.4

2019.2.11f1

2019.3

Issue ID

1201383

Regression

No

[UWP] Building Unity project solution in Visual Studio is unsuccesfull if C# 7.0+ features are used

CodeEditors

-

How to reproduce:
1. Open the attached project
2. In the Project view, double-click CsharpSevenScript.cs to open it in Visual Studio
3. Select Build > Build Solution in the Visual Studio window

Expected results: The solution is built successfully
Actual results: A "Feature 'expression body property accessor' is not available in C# 6" error gets thrown

Reproducible in: 2018.4.0f1, 2019.2.16f1, 2019.3.0f2
Not reproducible in: 2020.1.0a1

Note: Not reproducible if build target is set to Standalone

  1. Response avatar

    Resolution Note (fix version 2020.1):

    Fixed with 2020.1.0a22

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.