Search Issue Tracker
Fixed in 2020.1.X
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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note (fix version 2020.1):
Fixed with 2020.1.0a22