Most breaking change is return ref feature. Will xamarin mobile could support it?
Xamarin Studio/VS for Mac uses Roslyn, the same as Visual Studio. So when C#7 is available it will be fully supported.
@JimBennett Just not sure the runtime already support this feature and also all of C#7 feature
return by ref might be neglected in mono runtime because C# never had it before. Currently now there are only C#6 guide in xamarin doc
The Xamarin community deserves an official answer to this question. Visual Studio 2017 has been released, but I haven't seen any announcements regarding support for C# 7 in Xamarin Studio or Visual Studio for Mac. (Please let me know if I have overlooked something.)
Can Xamarin please confirm the C# 7 roadmap for Xamarin Studio as I'm in a team which uses both Xamarin Studio and Visual Studio and all we Visual Studio bods have been told to upgrade to Visual Studio 2017.
To be, or not to be, that is the question!
Miguel has tweeted that he hoped to have it ready for Build
Thanks Jim, that's a roadmap for May 7, then, nice!
Must have missed that one. Do you have a link to the tweet? I couldn't find it just now.
Kind of disappointing it isn't fully supported now. It's a little annoying to roll back C# 7 code changes made in Visual Studio from source control because it won't compile when pulled down to work with in Xamarin Studio.
In case it's helpful,
That's my tweet! I asked today after I came across this thread since I couldn't find the tweet. Was gonna come back here and post it.
According to https://developer.xamarin.com/releases/vs-mac/preview/vs-mac-preview1/#Changes_in_Preview_6 it looks like VS for Mac supports C#7.
Miguel posted this yesterday (4/12/17): https://blogs.msdn.microsoft.com/visualstudio/2017/04/12/visual-studio-for-mac-to-the-cloud-and-beyond/
Is C# 7 supported in stable version of Visual Studio for Mac? It has a lot of suggestions for C# 7 and doesn't complain for C# 7 code, but build failed when I include some of the new features. Maybe some compiler flag needed to be turned on?
Seems like Xamarin Studio is still not supporting C#7? I have the latest.. it works in Visual Studio 15.4, but am having issues with VS crashing all the time.
@JennaBlackwell Me too: I think Xamarin Studio is much more stable and responsive than Visual Studio. It also offers an useful feature that in Visual Studio is not available: the possibility to relaunch Xamarin.Android app in debug mode without the need of redeploying.
I would be glad if Xamarin Studio would support C# 7 which, by the way, is already available in MonoDevelop (which is actively maintained and from which Xamarin Studio is derived, source code available here https://github.com/mono/monodevelop ). For more details, you can see my comments on this post https://forums.xamarin.com/discussion/90565/when-will-we-have-c-7-support-in-xamarin-studio-visual-studio-for-mac
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies