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.cli
winget install Microsoft.AzureCLI
winget install Microsoft.AzureDataStudio
winget install Microsoft.devtunnel
winget install Microsoft.dotNetFramework
winget install Microsoft.DotNet.SDK.6
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 on the ohmyposh.dev website, or on the Microsoft tutorial.

  1. Install Oh My Posh.
    winget install JanDeDobbeleer.OhMyPosh -s winget
    

    📝 For the PATH to be reloaded, a restart of your terminal is advised.

  2. Go to the Terminal Settings and select the Windows PowerShell / Appearance page.

    Change the Font face to CaskaydiaCove Nerd Font .

  3. Choose and apply a PowerShell prompt theme
    • Open you profile file:
      notepad $PROFILE
      

      When the above command gives an error, make sure to create the profile first.

      New-Item -Path $PROFILE -Type File -Force
      
    • Add the following to the end of your PowerShell profile file to set the peru
      & ([ScriptBlock]::Create((oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH\peru.omp.json" --print) -join "`n"))
      
    • Once added, reload your profile for the changes to take effect.
      . $PROFILE
      

👉 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