10. Roslyn & Xamarin
http://tirania.org/blog/archive/2014/Apr-09.html
• Keep track of Roslyn...‘works’ now tho’ :-)
• Incorporate C# 6.0 features into Mono
• “The second one is that our compiler powers our Interactive C# Shell and we are about to launch something
very interesting with it. This functionality is not currently available on the open sourced Roslyn stack.”
• “Roslyn really shines for IDEs” so we’ll look at how to use it in Xamarin
Studio / NRefactory
12. Shared Projects
• File Linking /VS 2012 Project Linker extension “on steroids”
• Viable alternative to Portable Class Libraries for some uses
• PCLs still great for component builders (esp with NuGet)
• Shared Projects might be better for app builders
• Coming toVisual Studio (download preview now)
and Xamarin Studio (soon)
13. Portable Class Libraries
• “PCL assembly” is
generated, shared
• limited framework code
(predetermined by PCL
profile)
• Dependency Injection for
platform-specific features
• #if compiler directives not
allowed
14. Shared Projects
• no separate “output
assembly”, C# is compiled
into the referencing apps
• use any framework code
available on your target
platforms
• use #if compiler directives