Image
This article will summarize the development of Add-Ins for Outlook.  Use the basic template using Yeoman and Yeoman Generator. Development environment OS: Windows 11 .Net version: 8.0 Development tool: Visual Studio Code Node.js version: 18.20.4 Yeoman version: 5.0.0 Development language: React, Typescript

Install and set up Visual Studio Code for C# development

Install Visual Studio Code for C# development and create and run a simple console program.


Environment

  • Windows 11
  • .Net 8.0
  • Visual Stuido Code

Install Visual Studio Code

1. Go to the Visual Studio Code site and download the installation. Download



   





2. Install VSCodeUserSetup-x64-1.92.2.exe

   1) accept the agreement








   2) Installation location setting








   3) Additional Tasks








4) Finish








3. Run Visual Studio Code

   Run Windows Powershell and enter 'code'. 
   \> code                                           
   Once Visual Studio Code is opened, installation is completed successfully.


Install Extension

1. C# Dev Kit

   1) Select Extensions in the Activity Bar and enter C# in the search bar.















   2) Install the C# Dev Kit. if . If Net SDK is not installed, a warning window will appear at the bottom right. 












   3) If .Net Core SDK is not installed, click Get the SDK to install.


Create and build Console project

1. Create Console Project

   1) Run Windows Powershell and enter the following in the desired path and run it.
      \>dotnet new console -o .\FirstConsole
   
   2) Go to the project path, enter ‘code .’ and run it.
      \>code .

   3) Build project
      \>dotnet build

    

Comments

Popular posts from this blog

Setting up Windows Powershell with Oh-My-Posh

[NETSDK1136] the target platform must be set to windows