NativeScript 2.0 Supports Visual Studio Code, TypeScript

Major update to cross-platform framework for building native apps includes support for Visual Studio Code and TypeScript, as wel as AngularJS, Maven, and CocoaPods.

Telerik last week released NativeScript 2.0, a major update to its cross-platform framework for building native apps. The latest revision includes support for TypeScript and Visual Studio Code, as well as a bevy of features outside the Visual Studio ecosystem.

At its esssence, NativeScript 2.0 allows for development of native apps in JavaScript, AngularJS, . The company says no bridge solution is necessary in order to access native iOS, Android or Windows APIs via JavaScript through the NativeScript interface.

NativeScript 2.0's Visual Studio Code support allows for developing and debugging of native apps through the VS Code UI, which means developers are able to view IntelliSense hints, get variable introspection and work through debugging breakpoints in an interactive manner. That support comes by way of an extension that's available for download here or by searching through the Visual Studio Marketplace.

For those who prefer developing native apps with JavaScript, NS includes full support for TypeScript as well.

The new version of NativeScript also supports includes a NativeScript Runtime engine, which was released back in mid-march. A Telerik blog post that announced the runtime notes that the runtime engine is being open sourced, and that it will support Windows apps running on Windows 10. What NativeScript Runtime allows is JavaScript to make calls to Windows Runtime APIs. It's currently a preview, so the company warns that it should only be used for testing and evaluation.

Outside of the VS ecosystem, the company also announced support for AngularJS, native animations through CSS reuse, hundreds of extensions and plugins, and support for native library repositories (inclulding Maven and CocoaPods).

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


  • Top 3 Blazor Extensions for Visual Studio Code

    Some developers prefer to create applications with Microsoft's open-source Blazor tooling from within the open-source, cross-platform Visual Studio Code editor. Here are the top tools in the VS Code Marketplace for those folk, as measured by the number of installations.

  • How to Invert a Machine Learning Matrix Using C#

    VSM Senior Technical Editor Dr. James McCaffrey, of Microsoft Research, explains why inverting a matrix -- one of the more common tasks in data science and machine learning -- is difficult and presents code that you can use as-is, or as a starting point for custom matrix inversion scenarios.

  • Microsoft Engineer: 'It's Time to Move OData to .NET 5'

    Microsoft engineer Sam Xu says "it’s time to move OData to .NET 5" and in a new blog post he shows how to do just that.

  • Microsoft Goes Virtual with Developer Education in Face of COVID-19

    Like many organizations that host developer educational events, Microsoft has gone virtual amid shelter-in-place directives and a surge in remote work stemming from the COVID-19 pandemic.

  • Microsoft Enhances Low-Code Power Apps

    Microsoft's nod to the low-code movement, Power Apps, has been enhanced with a bevy of new features, including mixed reality, canvas/model support in a new mobile app, UX improvements and more.

.NET Insight

Sign up for our newsletter.

Terms and Privacy Policy consent

I agree to this site's Privacy Policy.

Upcoming Events