News

Visual F# Includes Windows Phone 8.1 in Portable Library Support

Version 3.1.2 of the Microsoft F# derivation has expanded portable library support and enables the Publish option in Web and Azure projects.

The Microsoft Visual F# team blogged about a point release of F# that "packages the latest updates to the F# compiler, interactive, runtime, and Visual Studio integration." Visual F# 3.1.2 comes shortly after an out-of-band 3.1.1 release in January that added support for Desktop and Web Express.

Visual F# is the Microsoft version of F#, a strongly typed programming language derived from ML that is heavily influenced by C# and Python. F# itself supports a number of programming styles, including object-oriented, functional, and procedural languages, and is also capable of generating code in JavaScript and for use with GPUs. Visual F# is an extension of that language that can work within the confines of the Microsoft .NET Framework. (A thorough definition of the language can be found on the MSDN Library.

The 3.1.2 point release adds a handful of new and useful features, including expanded portable library support. This comes in the form of F# project templates that support Profile 78 and Profile 259 portable profiles, both of which support Windows Phone 8.1. The result is that F# portable libraries can be added to Windows Phone 8.1 projects directly.

One other significant change noted in the blog has to do with workflow. Specifically, this version of Visual F# supports non-locking #r references while working with Visual F# interactive in a quick-iteration development. Assembly references are enabled by default and developers are apt to encounter errors because, when a developer adds a #r assembly reference, it locks that assembly on disk. All it takes to configure it as a non-locking assembly reference is to enable it with the shadowcopyreferences+ switch.

Other updates include the ability to publish F# Web and Microsoft Azure projects directly from Visual Studio, and some minor language tweaks: improved Unix compatibility with the ability to use shebang directives in F# scripts (not to be confused with William Hung compatibility), support for high-dimensional slicing in compiled code, and support for spaces in active pattern case identifiers.

Visual F# 3.1.2 can be downloaded here.

About the Author

You Tell 'Em, Readers: If you've read this far, know that Michael Domingo, Visual Studio Magazine Editor in Chief, is here to serve you, dear readers, and wants to get you the information you so richly deserve. What news, content, topics, issues do you want to see covered in Visual Studio Magazine? He's listening at [email protected].

comments powered by Disqus

Featured

  • Full Stack Hands-On Development with .NET

    In the fast-paced realm of modern software development, proficiency across a full stack of technologies is not just beneficial, it's essential. Microsoft has an entire stack of open source development components in its .NET platform (formerly known as .NET Core) that can be used to build an end-to-end set of applications.

  • .NET-Centric Uno Platform Debuts 'Single Project' for 9 Targets

    "We've reduced the complexity of project files and eliminated the need for explicit NuGet package references, separate project libraries, or 'shared' projects."

  • Creating Reactive Applications in .NET

    In modern applications, data is being retrieved in asynchronous, real-time streams, as traditional pull requests where the clients asks for data from the server are becoming a thing of the past.

  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

Subscribe on YouTube