xamarin / app-crm

MIT License
385 stars 249 forks source link

Cannot Compile on VS2013 Due To Null-Conditional Operator #92

Closed jimmgarrido closed 8 years ago

jimmgarrido commented 8 years ago

Line 105 in CustomersViewModel.cs uses a null-conditional operator Address = address?.ToString() which prevents users on VS 2013 from compiling the project successfully without modifying the code.

This leads to a bad first run experience and possibly deters VS2013 users who might not necessarily know this is a new feature in C# 6.0.

pauldendulk commented 8 years ago

Yeah silly. I have Xamarin Studio and VS2013 and cannot run the sample without modifications. I had to remove ?. twice and add ' = new Font()' in SalesDashboardChartview.ChartAxisFont. After that no problems.

jsauvexamarin commented 8 years ago

The README is clear that VS2015 is required, due to C# 6 features.