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

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube