English
Français

Blog of Denis VOITURON

for a better .NET world

Developer Tools (winget)

This article lists all tools installed on my machine, mostly using WinGet to simplify the installation.

👉 Prerequisites

  1. To install or update WinGet, go to the Microsoft Store and install or update the App Installer.

  2. To authorize installations from the Microsoft Store, you must be logged in (with a personal email address).

  3. Open a Windows Terminal and run winget command to display the documentation.

👉 Windows and Developer Tools

Run these lines one by one.

winget install 7zip.7zip
winget install DeepL.DeepL
winget install Elgato.StreamDeck
winget install Git.Git
winget install GitHub.GitHubDesktop
winget install Microsoft.AzureCLI
winget install Microsoft.AzureDataStudio
winget install Microsoft.dotNetFramework
winget install Microsoft.DotNet.SDK.7
winget install Microsoft.DotNet.SDK.8
winget install Microsoft.Edge.Dev
winget install Microsoft.PowerToys
winget install Microsoft.VisualStudioCode
winget install Notepad++.Notepad++
winget install OpenJS.NodeJS.LTS
winget install SlackTechnologies.Slack
winget install 9WZDNCRDMDM3                  -- NuGet Package Explorer
winget install 9NBHCS1LX4R0                  -- Paint.Net (Paid)

👉 Windows Configurations

Windows 11 Explorer - Classic Contextual Menu

To display the “classic” menu when right-clicking in Windows Explorer.

  1. Open the Registry Editor and go to Computer\HKEY_CURRENT_USER\SOFTWARE\CLASSES\CLSID\.
  2. Add this new key:{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}.
  3. Add this new sub-key: InprocServer32.
  4. Open the value (Default) and click on OK (without value data).
  5. Logoff / login your session.

You can run copy this content in a .reg file and execute it. And next, logoff / login your session.

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}]
@=""
[HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32]
@=""

Use Sounds when build failed

  1. Open the Sound dialog box running this command line: control mmsys.cpl sounds
  2. Go to the Sounds tab and collapse the Windows events in the list to display the Microsoft Visual Studio events.
  3. Set these sounds:
    • Build failed: Windows Critical Stop.wav
    • Build Succeeded: Windows Exclamation.wav
    • Test Run failed: Windows Critical Stop.wav
    • Test Run Succeeded: Windows Exclamation.wav

👉 Visual Studio Extensions

👉 DotNet Command line Extensions

👉 VSCode Extensions

If you don’t have a context menu, in Windows Explorer, to open a folder in VS Code, save this content in a .reg file and run it.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\VSCode]
@="Open with VSCode"
"Icon"="\"%LocalAppData%\\Programs\\Microsoft VS Code\\Code.exe\""

[HKEY_CLASSES_ROOT\Directory\shell\VSCode\command]
@=hex(2):22,00,25,00,4c,00,6f,00,63,00,61,00,6c,00,41,00,70,00,70,00,44,00,61,\
  00,74,00,61,00,25,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,73,00,\
  5c,00,4d,00,69,00,63,00,72,00,6f,00,73,00,6f,00,66,00,74,00,20,00,56,00,53,\
  00,20,00,43,00,6f,00,64,00,65,00,5c,00,43,00,6f,00,64,00,65,00,2e,00,65,00,\
  78,00,65,00,22,00,20,00,22,00,25,00,56,00,22,00,00,00

👉 Windows Terminal - GIT colorized

To configure the Windows Terminal with colorization of GIT, all details are here.

  1. Install a Nerd Font
    • Download the Caskaydia Cove Nerd Font. Extract the ZIP file and install the fonts (right-click / install).
    • Open the Windows Terminal, go to the Settings / Windows Powershell profile and set
      • The Starting directory to Use parent process directory
      • The Font face to Caskaydia Nerd Font
  2. Install Oh My Posh for PowerShell: winget install JanDeDobbeleer.OhMyPosh
  3. Choose and apply a PowerShell prompt theme
    • Open you profile file: notepad C:\Users\<USER_NAME>\Documents\WindowsPowerShell\profile.ps1
    • Add the following to the end of your PowerShell profile file to set the paradox theme oh-my-posh --init --shell pwsh --config "C:\Users\<USER_NAME>\AppData\Local\Programs\oh-my-posh\themes\peru.omp.json" | Invoke-Expression
    • Allow to execute this script Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser

      If the starting time of a Powershell Session is very slow, you can add this file to your anti-virus exclusion list. C:\Users\<USER_NAME>\AppData\Local\Programs\oh-my-posh\bin\oh-my-posh.exe

To configure the Windows Terminal features, add or update these parameters in *settings.json file.

{
  "confirmCloseAllTabs": false,
  "centerOnLaunch": true,
}

👉 SQL Server Local DB

LocalDB is a feature you select during SQL Server Express installation, and is available when you download the media.

  1. Check if you installed .NET Framework 4.8: winget install Microsoft.dotNetFramework.
  2. Start the setup SQL Server Express.
  3. Select Download Media and choose LocalDB (~55 MB).
  4. Start SqlLocalDB.msi file.
  5. Create an instance MyServer using this command: SqlLocalDb create MyServer.
  6. Download and install Azure Data Studio, using this connection string: (localdb)\MyServer

Languages

EnglishEnglish
FrenchFrançais

Follow me

Recent posts