How to install Visual Studio Code on NVIDIA Jetson Xavier NX/ Nano & Run sample in C# application

How to install Visual Studio Code on NVIDIA Jetson Xavier NX/ Nano & Run sample in C# application

Jetson Nano | Jetson Xavier NX

17 March 2021
WHAT YOU WILL LEARN?

1- How to install VS code on Linux Operating Systems

2- How to create a new console and web applications using VS Code

3- How to run console and web applications using .net Core

ENVIRONMENT

Hardware: DSBOARD-NX2 

OS: JetPack 4.5 (L4T-32.5)

Language: C#



In this article, we will explain how to install Visual Studio Code on ARM64 which has an operating system as Ubuntu 18.04 for NVIDIA Jetson Nano/Xavier NX modules to create and run a c# basic sample.

Visual Studio Code is a very popular freeware source-code Integrated Development Environment (IDE) in which you can run your codes. Visual Studio Code also supports NVIDIA Jetson Nano/NX so we can run our codes on the NVIDIA Jetson Nano/Xavier NX.

You can install the Visual Studio Code in several ways. We will show you how to install manually.

First, you can download the .dep file of Visual Studio Code from the link below;

https://code.visualstudio.com/Download

Make sure that you download the Arm64 Binaries.

 

 

When your download is completed, open terminal and type the following commands.

 

 

 

 

 

When we have successfully installed VS code, then type” code –version” with that command we can see which version we have installed and also we can verify VS code installed.

 

 

After we have finished the installation process and done the verification, let’s create a new console application. We need to create a new console app with the following command:

 

 

 

 

Finally, open the VS code terminal and run sample project with the following command:

 


And expected text is printed on the screen:



Thank you for reading our blog post. 


If you want to get updated on new blog posts, product launches and discounts, you can fill out the form and sign up for our newsletter. By signing up, you can reach various blog posts about AI, deep learning, machine vision, high-speed cameras, and industrial interfaces. 


You will receive a "free shipping" code for next purchase immediately.

Türkçe